Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp94 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()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp82 static Constant *getTrue(Type *Ty) { in getTrue() function
392 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect()
398 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect()
1479 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1679 return getTrue(ITy); in SimplifyOrOfICmps()
1681 return getTrue(ITy); in SimplifyOrOfICmps()
1685 return getTrue(ITy); in SimplifyOrOfICmps()
1687 return getTrue(ITy); in SimplifyOrOfICmps()
1693 return getTrue(ITy); in SimplifyOrOfICmps()
1696 return getTrue(ITy); in SimplifyOrOfICmps()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp427 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldCmpLoadFromIndexedGlobal()
918 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
930 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
939 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
1337 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in visitICmpInstWithInstAndIntCst()
2138 return SetResult(Builder->CreateAdd(LHS, RHS), Builder->getTrue(), true); in OptimizeOverflowCheck()
2192 return SetResult(Builder->CreateMul(LHS, RHS), Builder->getTrue(), true); in OptimizeOverflowCheck()
2929 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
2974 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
2992 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
[all …]
DInstCombineAndOrXor.cpp96 if (!isordered) return ConstantInt::getTrue(LHS->getContext()); in getFCmpValue()
325 return Builder->getTrue(); in InsertRangeTest()
1946 return Builder->getTrue(); in FoldOrOfICmps()
1998 return Builder->getTrue(); in FoldOrOfICmps()
2013 return Builder->getTrue(); in FoldOrOfICmps()
2034 return Builder->getTrue(); in FoldOrOfFCmps()
2609 (RHS == ConstantExpr::getCast(Opcode, Builder->getTrue(), in visitXor()
DInstCombineCalls.cpp1381 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
1413 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
/external/llvm/unittests/Transforms/Utils/
DLocal.cpp30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp457 ConstantInt::getTrue(Context))) { in processCurrentLoop()
501 ConstantInt::getTrue(Context))) { in processCurrentLoop()
591 if (Val) *Val = ConstantInt::getTrue(Context); in IsTrivialUnswitchCondition()
701 else if (Val != ConstantInt::getTrue(Val->getContext())) in EmitPreheaderBranchOnCondition()
1059 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant()
DCorrelatedValuePropagation.cpp195 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
DJumpThreading.cpp433 InterestingVal = ConstantInt::getTrue(I->getContext()); in ComputeValueKnownInPredecessors()
1320 SplitVal = ConstantInt::getTrue(BB->getContext()); in ProcessBranchOnXOR()
DStructurizeCFG.cpp278 BoolTrue = ConstantInt::getTrue(Context); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp87 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); in TEST_F()
96 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); in TEST_F()
DDominatorTreeTest.cpp190 BranchInst::Create(BB4, BB3, ConstantInt::getTrue(F.getContext()), BB1); in runOnFunction()
/external/llvm/lib/Target/R600/
DSIAnnotateControlFlow.cpp126 BoolTrue = ConstantInt::getTrue(Context); in doInitialization()
/external/llvm/include/llvm/IR/
DConstants.h59 static ConstantInt *getTrue(LLVMContext &Context);
61 static Constant *getTrue(Type *Ty);
DIRBuilder.h255 ConstantInt *getTrue() { in getTrue() function
256 return ConstantInt::getTrue(Context); in getTrue()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp173 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
DIntegerDivision.cpp179 ConstantInt *True = Builder.getTrue(); in generateUnsignedDivisionCode()
DSimplifyCFG.cpp2747 V = ConstantInt::getTrue(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt()
2765 Constant *DefaultCst = ConstantInt::getTrue(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt()
3194 Cmp = ConstantInt::getTrue(SI->getContext()); in TurnSwitchRangeIntoICmp()
3991 Constant *TrueConst = ConstantInt::getTrue(RangeCmp->getType()); in reuseTableCompare()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp497 Success->addIncoming(ConstantInt::getTrue(Ctx), SuccessBB); in expandAtomicCmpXchg()
DSjLjEHPrepare.cpp261 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp427 return ConstantInt::getTrue(CombinedGlobal->getParent()->getContext()); in lowerBitSetCall()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1651 llvm::Value *True = CGF.EmitToMemory(Builder.getTrue(), type); in EmitScalarPrePostIncDec()
1657 return Builder.getTrue(); in EmitScalarPrePostIncDec()
1706 value = Builder.getTrue(); in EmitScalarPrePostIncDec()
2761 BaseCheck->addIncoming(Builder.getTrue(), Orig); in EmitShl()
3172 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI); in VisitBinLOr()
DCGStmt.cpp642 Value = Builder.getTrue(); in EmitCondBrHints()
1055 Builder.CreateStore(Builder.getTrue(), NRVOFlag); in EmitReturnStmt()
DCGCleanup.cpp264 Builder.CreateStore(Builder.getTrue(), active); in initFullExprCleanup()
/external/llvm/lib/IR/
DConstants.cpp519 ConstantInt *ConstantInt::getTrue(LLVMContext &Context) { in getTrue() function in ConstantInt
533 Constant *ConstantInt::getTrue(Type *Ty) { in getTrue() function in ConstantInt
537 return ConstantInt::getTrue(Ty->getContext()); in getTrue()
542 ConstantInt::getTrue(Ty->getContext())); in getTrue()

12