Home
last modified time | relevance | path

Searched refs:getBool (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DLowerAllowCheckPass.cpp122 I->replaceAllUsesWith(ConstantInt::getBool(I->getType(), !V)); in removeUbsanTraps()
H A DMemorySanitizer.cpp3309 M = ConstantInt::getBool(F.getContext(), Mask & 1); in createDppMask()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h92 bool &getBool() { in getBool() function
112 bool getBool() const { in getBool() function
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp89 StringRef Err = yaml::ScalarTraits<bool>::input(S, nullptr, getBool()); in fromString()
H A DMsgPackDocument.cpp282 MPWriter.write(Node.getBool()); in writeToBlob()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h102 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 DConstraintElimination.cpp1406 Constant *ConstantC = ConstantInt::getBool( in checkAndReplaceCondition()
1536 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()
1540 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()
H A DLoopIdiomRecognize.cpp1902 ConstantInt::getBool(InitX->getContext(), ZeroCheck)}; in isProfitableToInsertFFS()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp1080 return N->getBool() == Val; in checkComputeRegisters()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5413 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 DInstCombineMulDivRem.cpp522 Intrinsic::abs, X, ConstantInt::getBool(I.getContext(), HasNSW)); in visitMul()
H A DInstructionCombining.cpp1764 return ConstantInt::getBool(I.getType(), ImpliedCond.value()); in simplifyInstructionWithPHI()
H A DInstCombineCalls.cpp1871 ConstantInt::getBool(II->getContext(), IntMinIsPoison)); in visitCallInst()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp864 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 DInstructionSimplify.cpp1882 : 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 DInlineCost.cpp2054 SimplifiedValues[&I] = ConstantInt::getBool( in visitCmpInst()
H A DConstantFolding.cpp1256 return ConstantInt::getBool( in ConstantFoldCompareInstOperands()
H A DScalarEvolution.cpp11634 ConstantInt::getBool(FoundCondValue->getContext(), Inverse)) in isImpliedCond()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp275 ICmp->replaceAllUsesWith(ConstantInt::getBool(ICmp->getContext(), *Ev)); in eliminateIVComparison()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp960 new StoreInst(ConstantInt::getBool( in OptimizeGlobalAddressOfAllocation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp3046 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()