Home
last modified time | relevance | path

Searched refs:isTrue (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/
H A Dnumber-object-conversion.cpp9 virtual bool isTrue() const;
67 bool x = p->isTrue(); // no-warning in good()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp69 bool &isTrue) { in initReg() argument
74 isTrue = HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI); in initReg()
95 bool isTrue = false; in init() local
100 initReg(MCI, MCI.getOperand(i).getReg(), PredReg, isTrue); in init()
102 initReg(MCI, MCID.getImplicitUses()[i], PredReg, isTrue); in init()
134 Defs[R].insert(PredSense(PredReg, isTrue)); in init()
189 Defs[*SRI].insert(PredSense(PredReg, isTrue)); in init()
H A DHexagonMCChecker.h81 void initReg(MCInst const &, unsigned, unsigned &PredReg, bool &isTrue);
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp406 return TryResult(R1.isTrue() && R2.isTrue()); in bothKnownTrue()
1123 AlwaysTrue &= (Res1.isTrue() && Res2.isTrue()); in checkIncorrectLogicOperator()
1124 AlwaysFalse &= !(Res1.isTrue() && Res2.isTrue()); in checkIncorrectLogicOperator()
1126 AlwaysTrue &= (Res1.isTrue() || Res2.isTrue()); in checkIncorrectLogicOperator()
1127 AlwaysFalse &= !(Res1.isTrue() || Res2.isTrue()); in checkIncorrectLogicOperator()
1239 return LHS.isTrue(); in evaluateAsBooleanConditionNoCache()
1244 return LHS.isTrue() || RHS.isTrue(); in evaluateAsBooleanConditionNoCache()
1246 return LHS.isTrue() && RHS.isTrue(); in evaluateAsBooleanConditionNoCache()
1254 return RHS.isTrue(); in evaluateAsBooleanConditionNoCache()
1270 return BopRes.isTrue(); in evaluateAsBooleanConditionNoCache()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/NewGVN/
H A Dbig-endian.ll32 %isTrue = and i1 %valueLoadA.fca.0.load, %valueLoadB.fca.0.load
40 %isTrueAndNotNull = and i1 %isTrue, %isNotNull
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A Dbig-endian.ll32 %isTrue = and i1 %valueLoadA.fca.0.load, %valueLoadB.fca.0.load
40 %isTrueAndNotNull = and i1 %isTrue, %isNotNull
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp452 bool isTrue = IsIfAtLocationTrue(RawToken.getLocation()); in Process() local
476 OS << (elif ? "#elif " : "#if ") << (isTrue ? "1" : "0") in Process()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializer.h283 LogicalResult processConstantBool(bool isTrue, ArrayRef<uint32_t> operands,
H A DDeserializer.cpp1209 bool isTrue, ArrayRef<uint32_t> operands, bool isSpec) { in processConstantBool() argument
1213 << (isTrue ? "True" : "False") in processConstantBool()
1217 auto attr = opBuilder.getBoolAttr(isTrue); in processConstantBool()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSelectOptimize.cpp317 getTrueOrFalseValue(SelectInst *SI, bool isTrue, in getTrueOrFalseValue() argument
324 V = (isTrue ? DefSI->getTrueValue() : DefSI->getFalseValue()); in getTrueOrFalseValue()
H A DCodeGenPrepare.cpp6655 SelectInst *SI, bool isTrue, in getTrueOrFalseValue() argument
6663 V = (isTrue ? DefSI->getTrueValue() : DefSI->getFalseValue()); in getTrueOrFalseValue()
/llvm-project-15.0.7/mlir/lib/Rewrite/
H A DByteCode.cpp1187 void selectJump(bool isTrue) { selectJump(size_t(isTrue ? 0 : 1)); } in selectJump() argument
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h4552 void setIsConditionTrue(bool isTrue) { CondIsTrue = isTrue; } in setIsConditionTrue() argument