Home
last modified time | relevance | path

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

123

/external/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp97 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler()
116 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface()
134 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp84 static Constant *getTrue(Type *Ty) { in getTrue() function
393 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect()
399 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect()
1488 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1712 return getTrue(ITy); in SimplifyOrOfICmps()
1714 return getTrue(ITy); in SimplifyOrOfICmps()
1718 return getTrue(ITy); in SimplifyOrOfICmps()
1720 return getTrue(ITy); in SimplifyOrOfICmps()
1726 return getTrue(ITy); in SimplifyOrOfICmps()
1729 return getTrue(ITy); in SimplifyOrOfICmps()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp63 static Constant *getTrue(Type *Ty) { in getTrue() function
1503 return getTrue(ITy); in SimplifyICmpInst()
1512 return getTrue(ITy); in SimplifyICmpInst()
1517 return getTrue(ITy); in SimplifyICmpInst()
1524 return getTrue(ITy); in SimplifyICmpInst()
1533 return getTrue(ITy); in SimplifyICmpInst()
1540 return getTrue(ITy); in SimplifyICmpInst()
1552 return ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst()
1604 return ConstantInt::getTrue(RHS->getContext()); in SimplifyICmpInst()
1677 return ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/language/
DLanguage.java130 protected String getTrue() { in getTrue() method in Language
166 return getTrue(); in getBooleanValueText()
DPythonLanguage.java46 protected String getTrue() { in getTrue() method in PythonLanguage
DSquirrelLanguage.java48 protected String getTrue() { in getTrue() method in SquirrelLanguage
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp394 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(GEP->getContext())); in FoldCmpLoadFromIndexedGlobal()
697 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(X->getContext())); in FoldICmpAddOpCst()
873 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst()
885 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst()
894 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst()
1164 ConstantInt::getTrue(ICI.getContext())); in visitICmpInstWithInstAndIntCst()
1988 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
2025 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
2043 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
2062 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
[all …]
DInstCombineCalls.cpp253 uint64_t DontKnow = II->getArgOperand(1) == Builder->getTrue() ? 0 : -1ULL; in visitCallInst()
415 ConstantInt::getTrue(II->getContext()) in visitCallInst()
918 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
939 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
952 ConstantInt::getTrue(Callee->getContext()), II); in visitCallSite()
DInstCombineAndOrXor.cpp177 if (!isordered) return ConstantInt::getTrue(LHS->getContext()); in getFCmpValue()
363 return ConstantInt::getTrue(V->getContext()); in InsertRangeTest()
1587 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps()
1640 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps()
1655 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps()
1676 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfFCmps()
2136 ConstantInt::getTrue(I.getContext()), in visitXor()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java195 if (this == other) return context.runtime.getTrue(); in eq()
204 return context.runtime.getTrue(); in eq()
311 return this.table.containsKey(key) ? context.runtime.getTrue() : context.runtime.getFalse(); in hasKey()
DUtils.java150 return (Boolean) value ? runtime.getTrue() : runtime.getFalse(); in wrapPrimaryValue()
DRubyMessage.java198 return runtime.getTrue(); in eq()
342 opts.fastASet(runtime.newSymbol("symbolize_names"), runtime.getTrue()); in decodeJson()
/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp80 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
121 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
164 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
DLocal.cpp30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp569 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
604 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
648 ConstantInt::getTrue(Context))) { in processCurrentLoop()
795 else if (Val != ConstantInt::getTrue(Val->getContext())) { in EmitPreheaderBranchOnCondition()
905 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in TryTrivialLoopUnswitch()
944 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch()
1303 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant()
DCorrelatedValuePropagation.cpp203 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
403 ConstantInt::getTrue(C->getContext()) : in getConstantAt()
DEarlyCSE.cpp519 ConstantInt::getTrue(BB->getContext()) : in processNode()
571 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/
DLocal.cpp30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp431 return replaceInstUsesWith(ICI, Builder->getTrue()); in FoldCmpLoadFromIndexedGlobal()
1313 return replaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
1325 return replaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
1334 return replaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
1742 return replaceInstUsesWith(ICI, Builder->getTrue()); in visitICmpInstWithInstAndIntCst()
2605 return SetResult(Builder->CreateAdd(LHS, RHS), Builder->getTrue(), true); in OptimizeOverflowCheck()
2646 return SetResult(Builder->CreateMul(LHS, RHS), Builder->getTrue(), true); in OptimizeOverflowCheck()
3353 return replaceInstUsesWith(I, Builder->getTrue()); in visitICmpInst()
3460 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3504 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnswitch.cpp250 ConstantInt::getTrue(Context))) { in processCurrentLoop()
281 ConstantInt::getTrue(Context))) { in processCurrentLoop()
369 if (Val) *Val = ConstantInt::getTrue(Context); in IsTrivialUnswitchCondition()
496 else if (Val != ConstantInt::getTrue(Val->getContext())) in EmitPreheaderBranchOnCondition()
971 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant()
DCorrelatedValuePropagation.cpp167 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
/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.cpp191 BranchInst::Create(BB4, BB3, ConstantInt::getTrue(F.getContext()), BB1); in runOnFunction()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h58 static ConstantInt *getTrue(LLVMContext &Context);
60 static Constant *getTrue(Type *Ty);
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DJITTest.cpp347 Builder.CreateCall(Func2, ConstantInt::getTrue(Context)); in TEST_F()
348 Builder.CreateCall(Func3, ConstantInt::getTrue(Context)); in TEST_F()

123