Home
last modified time | relevance | path

Searched refs:getTrue (Results 1 – 25 of 95) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp96 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 DValueLattice.cpp36 return Pred == ICmpInst::ICMP_NE ? ConstantInt::getTrue(Ty) in getCompare()
48 return ConstantInt::getTrue(Ty); in getCompare()
H A DInstructionSimplify.cpp131 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 DGuardUtils.cpp62 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
H A DLazyValueInfo.cpp1800 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 DLowerWidenableCondition.cpp48 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
H A DLowerConstantIntrinsics.cpp50 return ConstantInt::getTrue(II->getType()); in lowerIsConstantIntrinsic()
H A DPartiallyInlineLibCalls.cpp63 Builder.getTrue(), Call->getNextNode(), /*Unreachable=*/false, in optimizeSQRT()
H A DLoopPredication.cpp385 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 DEarlyCSE.cpp1198 ? 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 DLoopBoundSplit.cpp419 SplitCandidateCond.BI->setCondition(ConstantInt::getTrue(Context)); in splitLoopBound()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DTCE.cpp70 llvm::ConstantAsMetadata::get(llvm::ConstantInt::getTrue(Context))); in setTargetAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp180 ConstantInt::getTrue(Context), in createFSDiscriminatorVariable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp62 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lower()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp349 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 DAMDGPULowerKernelAttributes.cpp232 ICmp->replaceAllUsesWith(llvm::ConstantInt::getTrue(ICmp->getType())); in processUse()
H A DAMDGPUAtomicOptimizer.cpp568 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 DAMDGPUUnifyDivergentExitNodes.cpp227 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in run()
H A DSIAnnotateControlFlow.cpp133 BoolTrue = ConstantInt::getTrue(Context); in initialize()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1839 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 DCGCoroutine.cpp579 {NullPtr, CGF.Builder.getTrue(), in Emit()
762 Builder.CreateStore(Builder.getTrue(), GroActiveFlag); in EmitGroInit()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp512 {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 DConstants.h100 static ConstantInt *getTrue(LLVMContext &Context);
103 static Constant *getTrue(Type *Ty);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp271 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
H A DIntrinsicLowering.cpp248 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getType())); in LowerIntrinsicCall()

1234