Home
last modified time | relevance | path

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

123456789

/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp97 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler()
114 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface()
132 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp97 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler()
114 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface()
132 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp122 static Constant *getTrue(Type *Ty) { in getTrue() function
123 return ConstantInt::getTrue(Ty); in getTrue()
167 getTrue(Cond->getType())); in simplifyCmpSelTrueCase()
1439 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1518 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1569 return getTrue(Op0->getType()); in simplifyOrOfICmpsWithSameOperands()
1599 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants()
1748 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1750 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1754 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
[all …]
DGuardUtils.cpp53 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
/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/llvm-project/llvm/lib/Analysis/
DInstructionSimplify.cpp122 static Constant *getTrue(Type *Ty) { in getTrue() function
123 return ConstantInt::getTrue(Ty); in getTrue()
167 getTrue(Cond->getType())); in simplifyCmpSelTrueCase()
1431 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1512 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1563 return getTrue(Op0->getType()); in simplifyOrOfICmpsWithSameOperands()
1593 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants()
1805 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1807 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1811 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUUnifyDivergentExitNodes.cpp159 B.getTrue(), // done in unifyReturnBlockSet()
160 B.getTrue(), // valid mask in unifyReturnBlockSet()
222 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DSSAUpdaterBulkTest.cpp53 B.CreateCondBr(B.getTrue(), TrueBB, FalseBB); in TEST()
141 B.CreateCondBr(B.getTrue(), LoopMainBB, LoopStartBB); in TEST()
149 B.CreateCondBr(B.getTrue(), LoopStartBB, AfterLoopBB); in TEST()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUUnifyDivergentExitNodes.cpp160 B.getTrue(), // done in unifyReturnBlockSet()
161 B.getTrue(), // valid mask in unifyReturnBlockSet()
231 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
/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/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp85 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
123 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
213 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
257 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
309 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
345 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
391 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
435 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
488 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
533 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp580 Cond == ConstantInt::getTrue(Cond->getContext()) in isUnreachableDueToPreviousUnswitching()
708 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
751 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
825 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
929 else if (Val != ConstantInt::getTrue(Val->getContext())) { in emitPreheaderBranchOnCondition()
1078 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in tryTrivialLoopUnswitch()
1127 CondVal = ConstantInt::getTrue(Context); in tryTrivialLoopUnswitch()
1539 ConstantInt::getTrue(Context), NewSISucc); in rewriteLoopBodyWithConditionConstant()
1643 return ConstantInt::getTrue(Ctx); in simplifyInstructionWithNotEqual()
DLowerWidenableCondition.cpp61 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp577 Cond == ConstantInt::getTrue(Cond->getContext()) in isUnreachableDueToPreviousUnswitching()
703 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
745 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
819 ConstantInt::getTrue(Context))) { in processCurrentLoop()
947 else if (Val != ConstantInt::getTrue(Val->getContext())) { in EmitPreheaderBranchOnCondition()
1097 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in TryTrivialLoopUnswitch()
1146 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch()
1560 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant()
1668 return ConstantInt::getTrue(Ctx); in SimplifyInstructionWithNotEqual()
DLowerWidenableCondition.cpp61 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
/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()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestJsonNode.java32 BooleanNode t = BooleanNode.getTrue(); in testBoolean()
57 assertEquals(result, BooleanNode.getTrue()); in testBoolean()
/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()
/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()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DBooleanNode.java37 public static BooleanNode getTrue() { return TRUE; } in getTrue() method in BooleanNode
/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/llvm-project/llvm/include/llvm/Analysis/
DValueLattice.h467 ? ConstantInt::getTrue(Ty) : ConstantInt::getFalse(Ty); in getCompare()
478 return ConstantInt::getTrue(Ty); in getCompare()

123456789