/external/llvm/lib/Target/NVPTX/ |
D | NVPTXImageOptimizer.cpp | 94 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/ |
D | InstructionSimplify.cpp | 82 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/ |
D | InstCombineCompares.cpp | 427 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 …]
|
D | InstCombineAndOrXor.cpp | 96 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()
|
D | InstCombineCalls.cpp | 1381 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite() 1413 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Local.cpp | 30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 457 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()
|
D | CorrelatedValuePropagation.cpp | 195 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
|
D | JumpThreading.cpp | 433 InterestingVal = ConstantInt::getTrue(I->getContext()); in ComputeValueKnownInPredecessors() 1320 SplitVal = ConstantInt::getTrue(BB->getContext()); in ProcessBranchOnXOR()
|
D | StructurizeCFG.cpp | 278 BoolTrue = ConstantInt::getTrue(Context); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 87 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); in TEST_F() 96 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); in TEST_F()
|
D | DominatorTreeTest.cpp | 190 BranchInst::Create(BB4, BB3, ConstantInt::getTrue(F.getContext()), BB1); in runOnFunction()
|
/external/llvm/lib/Target/R600/ |
D | SIAnnotateControlFlow.cpp | 126 BoolTrue = ConstantInt::getTrue(Context); in doInitialization()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 59 static ConstantInt *getTrue(LLVMContext &Context); 61 static Constant *getTrue(Type *Ty);
|
D | IRBuilder.h | 255 ConstantInt *getTrue() { in getTrue() function 256 return ConstantInt::getTrue(Context); in getTrue()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 173 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
|
D | IntegerDivision.cpp | 179 ConstantInt *True = Builder.getTrue(); in generateUnsignedDivisionCode()
|
D | SimplifyCFG.cpp | 2747 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/ |
D | AtomicExpandPass.cpp | 497 Success->addIncoming(ConstantInt::getTrue(Ctx), SuccessBB); in expandAtomicCmpXchg()
|
D | SjLjEHPrepare.cpp | 261 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
|
/external/llvm/lib/Transforms/IPO/ |
D | LowerBitSets.cpp | 427 return ConstantInt::getTrue(CombinedGlobal->getParent()->getContext()); in lowerBitSetCall()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1651 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()
|
D | CGStmt.cpp | 642 Value = Builder.getTrue(); in EmitCondBrHints() 1055 Builder.CreateStore(Builder.getTrue(), NRVOFlag); in EmitReturnStmt()
|
D | CGCleanup.cpp | 264 Builder.CreateStore(Builder.getTrue(), active); in initFullExprCleanup()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 519 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()
|