Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h92 bool &getBool() { in getBool() function
112 bool getBool() const { in getBool() function
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h93 static ConstantInt *getBool(LLVMContext &Context, bool V);
96 static Constant *getBool(Type *Ty, bool V);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp967 return N->getBool() == Val; in checkComputeRegisters()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1368 Constant *ConstantC = ConstantInt::getBool( in checkAndReplaceCondition()
1456 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()
1460 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()
H A DLoopIdiomRecognize.cpp1835 ConstantInt::getBool(InitX->getContext(), ZeroCheck)}; in recognizeAndInsertFFS()
H A DJumpThreading.cpp602 PredCst = ConstantInt::getBool(V->getContext(), Res); in computeValueKnownInPredecessorsImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5085 return replaceInstUsesWith(I, ConstantInt::getBool(I.getType(), *CmpYZ)); in foldICmpWithMinMax()
5125 I, ConstantInt::getBool(I.getType(), Pred == ICmpInst::ICMP_NE)); in foldICmpWithMinMax()
6246 I, ConstantInt::getBool(I.getType(), Pred == CmpInst::ICMP_NE)); in foldICmpUsingKnownBits()
6406 I, ConstantInt::getBool(I.getType(), Pred1 == ICmpInst::ICMP_NE)); in foldICmpUsingBoolRange()
6421 I, ConstantInt::getBool(I.getType(), Pred1 == ICmpInst::ICMP_NE)); in foldICmpUsingBoolRange()
H A DInstCombineMulDivRem.cpp492 Intrinsic::abs, X, ConstantInt::getBool(I.getContext(), HasNSW)); in visitMul()
H A DInstCombineCalls.cpp1778 ConstantInt::getBool(II->getContext(), IntMinIsPoison)); in visitCallInst()
H A DInstructionCombining.cpp1557 return ConstantInt::getBool(I.getType(), ImpliedCond.value()); in simplifyInstructionWithPHI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp847 ConstantInt *ConstantInt::getBool(LLVMContext &Context, bool V) { in getBool() function in ConstantInt
867 Constant *ConstantInt::getBool(Type *Ty, bool V) { in getBool() function in ConstantInt
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp266 ICmp->replaceAllUsesWith(ConstantInt::getBool(ICmp->getContext(), *Ev)); in eliminateIVComparison()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp950 new StoreInst(ConstantInt::getBool( in OptimizeGlobalAddressOfAllocation()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2950 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4023 return ConstantInt::getBool(ITy, *Res); in simplifyICmpInst()
H A DScalarEvolution.cpp11556 ConstantInt::getBool(FoundCondValue->getContext(), Inverse)) in isImpliedCond()