/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXImageOptimizer.cpp | 96 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler() 113 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface() 131 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueLattice.cpp | 36 return Pred == ICmpInst::ICMP_NE ? ConstantInt::getTrue(Ty) in getCompare() 48 return ConstantInt::getTrue(Ty); in getCompare()
|
H A D | InstructionSimplify.cpp | 131 static Constant *getTrue(Type *Ty) { return ConstantInt::getTrue(Ty); } in getTrue() function 174 getTrue(Cond->getType())); in simplifyCmpSelTrueCase() 1579 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck() 1658 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck() 1688 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants() 1818 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1820 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1824 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1826 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1832 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() [all …]
|
H A D | GuardUtils.cpp | 62 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
|
H A D | LazyValueInfo.cpp | 1800 return ConstantInt::getTrue(ResTy); in getPredicateResult() 1820 return ConstantInt::getTrue(ResTy); in getPredicateResult() 1856 return ConstantInt::getTrue(ResTy); in getPredicateAt()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerWidenableCondition.cpp | 48 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
|
H A D | LowerConstantIntrinsics.cpp | 50 return ConstantInt::getTrue(II->getType()); in lowerIsConstantIntrinsic()
|
H A D | PartiallyInlineLibCalls.cpp | 63 Builder.getTrue(), Call->getNextNode(), /*Unreachable=*/false, in optimizeSQRT()
|
H A D | LoopPredication.cpp | 385 return Builder.getTrue(); in run() 795 PN->addIncoming(Pred == GuardBB ? AssumeCond : Builder.getTrue(), Pred); in collectChecks() 1088 WC, ConstantInt::getTrue(BI->getContext())); in getMinAnalyzeableBackedgeTakenCount()
|
H A D | EarlyCSE.cpp | 1198 ? ConstantInt::getTrue(BB->getContext()) in handleBranchCondition() 1409 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode() 1482 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
|
H A D | LoopBoundSplit.cpp | 419 SplitCandidateCond.BI->setCondition(ConstantInt::getTrue(Context)); in splitLoopBound()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | TCE.cpp | 70 llvm::ConstantAsMetadata::get(llvm::ConstantInt::getTrue(Context))); in setTargetAttributes()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SampleProfileLoaderBaseUtil.cpp | 180 ConstantInt::getTrue(Context), in createFSDiscriminatorVariable()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroCleanup.cpp | 62 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lower()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 349 return replaceInstUsesWith(ICI, Builder.getTrue()); in foldCmpLoadFromIndexedGlobal() 1361 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpWithDominatingICmp() 1715 return replaceInstUsesWith(Cmp, ConstantInt::getTrue(Cmp.getType())); in foldICmpAndShift() 2854 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant() 2866 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant() 2875 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant() 2973 Constant *Res = Val ? Builder.getTrue() : Builder.getFalse(); in createLogicFromTable() 5245 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpBinOp() 5480 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpWithMinMax() 6113 Overflow = ConstantInt::getTrue(OverflowTy); in OptimizeOverflowCheck() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelAttributes.cpp | 232 ICmp->replaceAllUsesWith(llvm::ConstantInt::getTrue(ICmp->getType())); in processUse()
|
H A D | AMDGPUAtomicOptimizer.cpp | 568 B.CreateIntrinsic(Intrinsic::amdgcn_ballot, WaveTy, B.getTrue()); in buildScanIteratively() 585 B.CreateIntrinsic(Intrinsic::cttz, WaveTy, {ActiveBits, B.getTrue()}); in buildScanIteratively() 711 B.CreateIntrinsic(Intrinsic::amdgcn_ballot, WaveTy, B.getTrue()); in optimizeAtomic()
|
H A D | AMDGPUUnifyDivergentExitNodes.cpp | 227 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in run()
|
H A D | SIAnnotateControlFlow.cpp | 133 BoolTrue = ConstantInt::getTrue(Context); in initialize()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ControlHeightReduction.cpp | 1839 ConstantInt::getTrue(F.getContext())); in createMergedBranch() 1852 Value *MergedCondition = ConstantInt::getTrue(F.getContext()); in fixupBranchesAndSelects() 1925 ConstantInt::getTrue(F.getContext()) : in fixupBranch() 1949 ConstantInt::getTrue(F.getContext()) : in fixupSelect() 1966 Cond = IRB.CreateXor(ConstantInt::getTrue(F.getContext()), Cond); in addToMergedCondition()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCoroutine.cpp | 579 {NullPtr, CGF.Builder.getTrue(), in Emit() 762 Builder.CreateStore(Builder.getTrue(), GroActiveFlag); in EmitGroInit()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopIdiomVectorize.cpp | 512 {I64Type}, {AVL, VF, Builder.getTrue()}); in createPredicatedFindMismatch() 876 Builder.CreateCondBr(Builder.getTrue(), CmpBB, Header); in transformByteCompare()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constants.h | 100 static ConstantInt *getTrue(LLVMContext &Context); 103 static Constant *getTrue(Type *Ty);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SjLjEHPrepare.cpp | 271 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
|
H A D | IntrinsicLowering.cpp | 248 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getType())); in LowerIntrinsicCall()
|