Home
last modified time | relevance | path

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

12

/external/llvm/unittests/VMCore/
DIRBuilderTest.cpp81 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/
DInstructionSimplify.cpp72 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 …]
DInlineCost.cpp505 SimplifiedValues[&I] = IsNotEqual ? ConstantInt::getTrue(I.getType()) in visitICmp()
DValueTracking.cpp730 if (II->getArgOperand(1) == ConstantInt::getTrue(II->getContext())) in ComputeMaskedBits()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp400 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 …]
DInstCombineAndOrXor.cpp122 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()
DInstCombineCalls.cpp342 ConstantInt::getTrue(II->getContext()) in visitCallInst()
900 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
932 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
DInstCombineMulDivRem.cpp341 *I = NonNullOperand == 1 ? ConstantInt::getTrue(BBI->getContext()) : in SimplifyDivRemOfSelect()
DInstructionCombining.cpp1233 Builder->CreateStore(ConstantInt::getTrue(FI.getContext()), in visitFree()
/external/llvm/unittests/Transforms/Utils/
DLocal.cpp31 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp438 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()
DCorrelatedValuePropagation.cpp170 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
DJumpThreading.cpp403 InterestingVal = ConstantInt::getTrue(I->getContext()); in ComputeValueKnownInPredecessors()
1254 SplitVal = ConstantInt::getTrue(BB->getContext()); in ProcessBranchOnXOR()
/external/mesa3d/src/pixelflinger2/
Dllvm_scanline.cpp117 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/
DJITTest.cpp359 Builder.CreateCall(Func2, ConstantInt::getTrue(Context)); in TEST_F()
360 Builder.CreateCall(Func3, ConstantInt::getTrue(Context)); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp171 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
DSimplifyCFG.cpp2418 V = ConstantInt::getTrue(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt()
2436 Constant *DefaultCst = ConstantInt::getTrue(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt()
/external/llvm/include/llvm/
DConstants.h62 static ConstantInt *getTrue(LLVMContext &Context);
64 static Constant *getTrue(Type *Ty);
DIRBuilder.h187 ConstantInt *getTrue() { in getTrue() function
188 return ConstantInt::getTrue(Context); in getTrue()
/external/llvm/lib/VMCore/
DConstants.cpp379 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()
DConstantFold.cpp1617 return ConstantInt::getTrue(C1->getContext()); in ConstantFoldCompareInstruction()
1627 return ConstantInt::getTrue(C1->getContext()); in ConstantFoldCompareInstruction()
/external/clang/lib/CodeGen/
DCGCleanup.cpp256 Builder.CreateStore(Builder.getTrue(), active); in initFullExprCleanup()
DCGException.cpp1488 CGF.Builder.CreateStore(CGF.Builder.getTrue(), ForEHVar); in exit()
DCGStmt.cpp757 Builder.CreateStore(Builder.getTrue(), NRVOFlag); in EmitReturnStmt()
DCGExprScalar.cpp1300 value = Builder.getTrue(); in EmitScalarPrePostIncDec()
2477 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI); in VisitBinLOr()

12