/external/llvm/unittests/VMCore/ |
D | IRBuilderTest.cpp | 81 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); in TEST_F() 90 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); in TEST_F()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 72 static Constant *getTrue(Type *Ty) { in getTrue() function 454 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect() 460 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect() 1760 return getTrue(ITy); in SimplifyICmpInst() 1769 return getTrue(ITy); in SimplifyICmpInst() 1774 return getTrue(ITy); in SimplifyICmpInst() 1781 return getTrue(ITy); in SimplifyICmpInst() 1790 return getTrue(ITy); in SimplifyICmpInst() 1797 return getTrue(ITy); in SimplifyICmpInst() 1809 return ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst() [all …]
|
D | InlineCost.cpp | 505 SimplifiedValues[&I] = IsNotEqual ? ConstantInt::getTrue(I.getType()) in visitICmp()
|
D | ValueTracking.cpp | 730 if (II->getArgOperand(1) == ConstantInt::getTrue(II->getContext())) in ComputeMaskedBits()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 400 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(GEP->getContext())); in FoldCmpLoadFromIndexedGlobal() 725 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(X->getContext())); in FoldICmpAddOpCst() 901 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst() 913 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst() 922 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst() 1191 ConstantInt::getTrue(ICI.getContext())); in visitICmpInstWithInstAndIntCst() 2041 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() 2078 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() 2096 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() 2115 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() [all …]
|
D | InstCombineAndOrXor.cpp | 122 if (!isordered) return ConstantInt::getTrue(LHS->getContext()); in getFCmpValue() 300 return ConstantInt::getTrue(V->getContext()); in InsertRangeTest() 1554 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps() 1606 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps() 1621 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps() 1642 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfFCmps() 2113 ConstantInt::getTrue(I.getContext()), in visitXor()
|
D | InstCombineCalls.cpp | 342 ConstantInt::getTrue(II->getContext()) in visitCallInst() 900 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite() 932 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
|
D | InstCombineMulDivRem.cpp | 341 *I = NonNullOperand == 1 ? ConstantInt::getTrue(BBI->getContext()) : in SimplifyDivRemOfSelect()
|
D | InstructionCombining.cpp | 1233 Builder->CreateStore(ConstantInt::getTrue(FI.getContext()), in visitFree()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Local.cpp | 31 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 438 ConstantInt::getTrue(Context))) { in processCurrentLoop() 482 ConstantInt::getTrue(Context))) { in processCurrentLoop() 571 if (Val) *Val = ConstantInt::getTrue(Context); in IsTrivialUnswitchCondition() 681 else if (Val != ConstantInt::getTrue(Val->getContext())) in EmitPreheaderBranchOnCondition() 1169 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant()
|
D | CorrelatedValuePropagation.cpp | 170 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
|
D | JumpThreading.cpp | 403 InterestingVal = ConstantInt::getTrue(I->getContext()); in ComputeValueKnownInPredecessors() 1254 SplitVal = ConstantInt::getTrue(BB->getContext()); in ProcessBranchOnXOR()
|
/external/mesa3d/src/pixelflinger2/ |
D | llvm_scanline.cpp | 117 builder.CreateStore(builder.getTrue(), sCmpPtr); in StencilFunc() 566 sCmp = ConstantInt::getTrue(mod->getContext()); in GenerateScanLine() 616 zCmp = ConstantInt::getTrue(mod->getContext()); in GenerateScanLine() 623 zCmp = ConstantInt::getTrue(mod->getContext()); in GenerateScanLine()
|
/external/llvm/unittests/ExecutionEngine/JIT/ |
D | JITTest.cpp | 359 Builder.CreateCall(Func2, ConstantInt::getTrue(Context)); in TEST_F() 360 Builder.CreateCall(Func3, ConstantInt::getTrue(Context)); in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 171 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
|
D | SimplifyCFG.cpp | 2418 V = ConstantInt::getTrue(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt() 2436 Constant *DefaultCst = ConstantInt::getTrue(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt()
|
/external/llvm/include/llvm/ |
D | Constants.h | 62 static ConstantInt *getTrue(LLVMContext &Context); 64 static Constant *getTrue(Type *Ty);
|
D | IRBuilder.h | 187 ConstantInt *getTrue() { in getTrue() function 188 return ConstantInt::getTrue(Context); in getTrue()
|
/external/llvm/lib/VMCore/ |
D | Constants.cpp | 379 ConstantInt *ConstantInt::getTrue(LLVMContext &Context) { in getTrue() function in ConstantInt 393 Constant *ConstantInt::getTrue(Type *Ty) { in getTrue() function in ConstantInt 397 return ConstantInt::getTrue(Ty->getContext()); in getTrue() 402 ConstantInt::getTrue(Ty->getContext())); in getTrue()
|
D | ConstantFold.cpp | 1617 return ConstantInt::getTrue(C1->getContext()); in ConstantFoldCompareInstruction() 1627 return ConstantInt::getTrue(C1->getContext()); in ConstantFoldCompareInstruction()
|
/external/clang/lib/CodeGen/ |
D | CGCleanup.cpp | 256 Builder.CreateStore(Builder.getTrue(), active); in initFullExprCleanup()
|
D | CGException.cpp | 1488 CGF.Builder.CreateStore(CGF.Builder.getTrue(), ForEHVar); in exit()
|
D | CGStmt.cpp | 757 Builder.CreateStore(Builder.getTrue(), NRVOFlag); in EmitReturnStmt()
|
D | CGExprScalar.cpp | 1300 value = Builder.getTrue(); in EmitScalarPrePostIncDec() 2477 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI); in VisitBinLOr()
|