/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | LowerAllowCheckPass.cpp | 122 I->replaceAllUsesWith(ConstantInt::getBool(I->getType(), !V)); in removeUbsanTraps()
|
H A D | MemorySanitizer.cpp | 3309 M = ConstantInt::getBool(F.getContext(), Mask & 1); in createDppMask()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MsgPackDocument.h | 92 bool &getBool() { in getBool() function 112 bool getBool() const { in getBool() function
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | MsgPackDocumentYAML.cpp | 89 StringRef Err = yaml::ScalarTraits<bool>::input(S, nullptr, getBool()); in fromString()
|
H A D | MsgPackDocument.cpp | 282 MPWriter.write(Node.getBool()); in writeToBlob()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constants.h | 102 static ConstantInt *getBool(LLVMContext &Context, bool V); 105 static Constant *getBool(Type *Ty, bool V);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstraintElimination.cpp | 1406 Constant *ConstantC = ConstantInt::getBool( in checkAndReplaceCondition() 1536 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther() 1540 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()
|
H A D | LoopIdiomRecognize.cpp | 1902 ConstantInt::getBool(InitX->getContext(), ZeroCheck)}; in isProfitableToInsertFFS()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUPALMetadata.cpp | 1080 return N->getBool() == Val; in checkComputeRegisters()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 5413 return replaceInstUsesWith(I, ConstantInt::getBool(I.getType(), *CmpYZ)); in foldICmpWithMinMax() 5453 I, ConstantInt::getBool(I.getType(), Pred == ICmpInst::ICMP_NE)); in foldICmpWithMinMax() 6575 I, ConstantInt::getBool(I.getType(), Pred == CmpInst::ICMP_NE)); in foldICmpUsingKnownBits() 6735 I, ConstantInt::getBool(I.getType(), Pred1 == ICmpInst::ICMP_NE)); in foldICmpUsingBoolRange() 6750 I, ConstantInt::getBool(I.getType(), Pred1 == ICmpInst::ICMP_NE)); in foldICmpUsingBoolRange()
|
H A D | InstCombineMulDivRem.cpp | 522 Intrinsic::abs, X, ConstantInt::getBool(I.getContext(), HasNSW)); in visitMul()
|
H A D | InstructionCombining.cpp | 1764 return ConstantInt::getBool(I.getType(), ImpliedCond.value()); in simplifyInstructionWithPHI()
|
H A D | InstCombineCalls.cpp | 1871 ConstantInt::getBool(II->getContext(), IntMinIsPoison)); in visitCallInst()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 864 ConstantInt *ConstantInt::getBool(LLVMContext &Context, bool V) { in getBool() function in ConstantInt 884 Constant *ConstantInt::getBool(Type *Ty, bool V) { in getBool() function in ConstantInt
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 1882 : ConstantInt::getBool(LHS->getType(), !IsAnd); in simplifyAndOrOfFCmps() 1895 : ConstantInt::getBool(LHS->getType(), !IsAnd); in simplifyAndOrOfFCmps() 3049 return ConstantInt::getBool(ITy, !TrueIfSigned); in simplifyICmpWithConstant() 4030 return ConstantInt::getBool(ITy, *Res); in simplifyICmpInst()
|
H A D | InlineCost.cpp | 2054 SimplifiedValues[&I] = ConstantInt::getBool( in visitCmpInst()
|
H A D | ConstantFolding.cpp | 1256 return ConstantInt::getBool( in ConstantFoldCompareInstOperands()
|
H A D | ScalarEvolution.cpp | 11634 ConstantInt::getBool(FoundCondValue->getContext(), Inverse)) in isImpliedCond()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 275 ICmp->replaceAllUsesWith(ConstantInt::getBool(ICmp->getContext(), *Ev)); in eliminateIVComparison()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 960 new StoreInst(ConstantInt::getBool( in OptimizeGlobalAddressOfAllocation()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 3046 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
|