| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/ |
| H A D | CIRBaseBuilder.h | 109 cir::ConstantOp getBool(bool state, mlir::Location loc) { in getBool() function 112 cir::ConstantOp getFalse(mlir::Location loc) { return getBool(false, loc); } in getFalse() 113 cir::ConstantOp getTrue(mlir::Location loc) { return getBool(true, loc); } in getTrue() 341 return createSelect(loc, lhs, rhs, getBool(false, loc)); in createLogicalAnd() 346 return createSelect(loc, lhs, getBool(true, loc), rhs); in createLogicalOr()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Constant.cpp | 32 ConstantInt *ConstantInt::getBool(Context &Ctx, bool V) { in getBool() function in llvm::sandboxir::ConstantInt 33 auto *LLVMC = llvm::ConstantInt::getBool(Ctx.LLVMCtx, V); in getBool() 44 Constant *ConstantInt::getBool(Type *Ty, bool V) { in getBool() function in llvm::sandboxir::ConstantInt 45 auto *LLVMC = llvm::ConstantInt::getBool(Ty->LLVMTy, V); in getBool()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackDocument.h | 93 bool &getBool() { in getBool() function 113 bool getBool() const { in getBool() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | LowerAllowCheckPass.cpp | 144 I->replaceAllUsesWith(ConstantInt::getBool(I->getType(), !V)); in removeUbsanTraps()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 173 SimplifiedValues[&I] = ConstantInt::getBool(I.getType(), Res); in visitCmpInst()
|
| H A D | InstructionSimplify.cpp | 1835 : ConstantInt::getBool(LHS->getType(), !IsAnd); in simplifyAndOrOfFCmps() 1850 : ConstantInt::getBool(LHS->getType(), !IsAnd); in simplifyAndOrOfFCmps() 2999 return ConstantInt::getBool(ITy, !TrueIfSigned); in simplifyICmpWithConstant() 3102 return ConstantInt::getBool(getCompareTy(LHS), in simplifyICmpUsingMonotonicValues() 4026 return ConstantInt::getBool(ITy, *Res); in simplifyICmpInst()
|
| H A D | InlineCost.cpp | 2220 SimplifiedValues[&I] = ConstantInt::getBool( in visitCmpInst()
|
| H A D | ConstantFolding.cpp | 1285 return ConstantInt::getBool( in ConstantFoldCompareInstOperands()
|
| /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 | 108 LLVM_ABI static ConstantInt *getBool(LLVMContext &Context, bool V); 111 LLVM_ABI static Constant *getBool(Type *Ty, bool V);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Constant.h | 81 LLVM_ABI static ConstantInt *getBool(Context &Ctx, bool V); 84 LLVM_ABI static Constant *getBool(Type *Ty, bool V);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUPALMetadata.cpp | 1099 return N->getBool() == Val; in checkComputeRegisters()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstraintElimination.cpp | 1465 Constant *ConstantC = ConstantInt::getBool( in checkAndReplaceCondition() 1645 ConstantInt::getBool(JoinOp->getType(), *ImpliedCondition)); in checkOrAndOpImpliedByOther()
|
| H A D | LoopIdiomRecognize.cpp | 2211 ConstantInt::getBool(InitX->getContext(), ZeroCheck)}; in isProfitableToInsertFFS()
|
| H A D | NewGVN.cpp | 1975 auto *C = ConstantInt::getBool(CI->getType(), *R); in performSymbolicCmpEvaluation()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprScalar.cpp | 178 return builder.getBool(e->getValue(), cgf.getLoc(e->getExprLoc())); in VisitCXXBoolLiteralExpr() 896 result = builder.getBool(false, loc); in HANDLEBINOP()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 882 ConstantInt *ConstantInt::getBool(LLVMContext &Context, bool V) { in getBool() function in ConstantInt 902 Constant *ConstantInt::getBool(Type *Ty, bool V) { in getBool() function in ConstantInt
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 5694 return replaceInstUsesWith(I, ConstantInt::getBool(I.getType(), *CmpYZ)); in foldICmpWithMinMax() 5734 I, ConstantInt::getBool(I.getType(), Pred == ICmpInst::ICMP_NE)); in foldICmpWithMinMax() 6876 return replaceInstUsesWith(I, ConstantInt::getBool(I.getType(), *Res)); in foldICmpUsingKnownBits() 7093 I, ConstantInt::getBool(I.getType(), Pred1 == ICmpInst::ICMP_NE)); in foldICmpUsingBoolRange() 7108 I, ConstantInt::getBool(I.getType(), Pred1 == ICmpInst::ICMP_NE)); in foldICmpUsingBoolRange()
|
| H A D | InstCombineMulDivRem.cpp | 543 Intrinsic::abs, X, ConstantInt::getBool(I.getContext(), HasNSW)); in visitMul()
|
| H A D | InstCombineCalls.cpp | 2125 ConstantInt::getBool(II->getContext(), IntMinIsPoison)); in visitCallInst()
|
| H A D | InstructionCombining.cpp | 1815 return ConstantInt::getBool(I.getType(), ImpliedCond.value()); in simplifyInstructionWithPHI()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 971 ConstantInt::getBool(GV->getContext(), !isa<ConstantPointerNull>( in OptimizeGlobalAddressOfAllocation()
|
| /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/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 3252 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
|