Lines Matching defs:bool
646 inline operator bool() const { return bits ? true : false; }
663 inline bool exists() const { return value != NULL; }
673 inline bool isIndirect(int dim) const { return indirect[dim] >= 0; }
680 bool getImmediate(ImmediateValue&) const;
686 bool usedAsPtr; // for printing
700 inline bool exists() const { return value != NULL; }
705 bool mayReplace(const ValueRef &);
706 void replace(const ValueRef &, bool doSet); // replace all uses of the old value
733 virtual bool equals(const Value *, bool strict = false) const;
734 virtual bool interfers(const Value *) const;
735 virtual bool isUniform() const { return true; }
750 inline bool inFile(DataFile f) const { return reg.file == f; }
776 virtual bool isUniform() const;
798 virtual bool equals(const Value *that, bool strict) const;
800 virtual bool isUniform() const;
836 virtual bool equals(const Value *that, bool strict) const;
839 bool isInteger(const int ival) const; // ival is cast to this' type
840 bool isNegative() const;
841 bool isPow2() const;
853 bool compare(CondCode cc, float fval) const;
873 bool setIndirect(int s, int dim, Value *);
884 inline bool defExists(unsigned d) const
888 inline bool srcExists(unsigned s) const
893 inline bool constrainedDefs() const;
895 bool setPredicate(CondCode ccode, Value *);
897 bool writesPredicate() const;
898 inline bool isPredicated() const { return predSrc >= 0; }
902 inline bool usesFlags() const { return flagsSrc >= 0; }
905 unsigned int defCount(unsigned int mask, bool singleFile = false) const;
907 unsigned int srcCount(unsigned int mask, bool singleFile = false) const;
921 inline bool isPseudo() const { return op < OP_MOV; }
922 bool isDead() const;
923 bool isNop() const;
924 bool isCommutationLegal(const Instruction *) const; // must be adjacent !
925 bool isActionEqual(const Instruction *) const;
926 bool isResultEqual(const Instruction *) const;
929 bool canCommuteDefDef(const Instruction *) const;
930 bool canCommuteDefSrc(const Instruction *) const;
1040 inline bool operator==(TexTarget targ) const { return target == targ; }
1041 inline bool operator!=(TexTarget targ) const { return target != targ; }
1051 bool array;
1052 bool cube;
1053 bool shadow;
1069 bool bgra;
1107 bool liveOnly; // only execute on live pixels of a quad (optimization)
1108 bool levelZero;
1109 bool derivAll;
1110 bool bindless;
1118 bool scalar; // for GM107s TEXS, TLDS, TLD4S
1173 inline bool isTerminated() const { return exit && exit->terminator; }
1175 bool dominatedBy(BasicBlock *bb);
1176 inline bool reachableBy(const BasicBlock *by, const BasicBlock *term);
1201 BasicBlock *splitBefore(Instruction *, bool attach = true);
1202 BasicBlock *splitAfter(Instruction *, bool attach = true);
1222 bool explicitCont; // loop headers: true if loop contains continue stmts
1238 void splitCommon(Instruction *, BasicBlock *, bool attach);
1258 bool setEntry(BasicBlock *);
1259 bool setExit(BasicBlock *);
1271 bool convertToSSA();
1343 bool makeFromNIR(struct nv50_ir_prog_info *,
1345 bool makeFromTGSI(struct nv50_ir_prog_info *,
1347 bool convertToSSA();
1348 bool optimizeSSA(int level);
1349 bool optimizePostRA(int level);
1350 bool registerAllocation();
1351 bool emitBinary(struct nv50_ir_prog_info_out *);
1371 bool fp64;
1372 bool persampleInvocation;
1398 bool run(Program *, bool ordered = false, bool skipPhi = false);
1399 bool run(Function *, bool ordered = false, bool skipPhi = false);
1403 virtual bool visit(Function *) { return true; }
1404 virtual bool visit(BasicBlock *) { return true; }
1405 virtual bool visit(Instruction *) { return false; }
1407 bool doRun(Program *, bool ordered, bool skipPhi);
1408 bool doRun(Function *, bool ordered, bool skipPhi);
1411 bool err;