Home
last modified time | relevance | path

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

12345

/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/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/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/cronet/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java260 return runtime.getTrue(); in eq()
274 return context.runtime.getTrue(); in respondTo()
279 return context.runtime.getTrue(); in respondTo()
285 return context.runtime.getTrue(); in respondTo()
289 return context.runtime.getTrue(); in respondTo()
299 return context.runtime.getTrue(); in respondTo()
303 return context.runtime.getTrue(); in respondTo()
310 return context.runtime.getTrue(); in respondTo()
318 return context.runtime.getTrue(); in respondTo()
326 return context.runtime.getTrue(); in respondTo()
[all …]
DRubyMap.java208 if (this == other) return context.runtime.getTrue(); in eq()
217 return context.runtime.getTrue(); in eq()
326 return this.table.containsKey(key) ? context.runtime.getTrue() : context.runtime.getFalse(); in hasKey()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java273 return runtime.getTrue(); in eq()
287 return context.runtime.getTrue(); in respondTo()
292 return context.runtime.getTrue(); in respondTo()
299 return context.runtime.getTrue(); in respondTo()
303 return context.runtime.getTrue(); in respondTo()
314 return context.runtime.getTrue(); in respondTo()
320 return context.runtime.getTrue(); in respondTo()
327 return context.runtime.getTrue(); in respondTo()
335 return context.runtime.getTrue(); in respondTo()
343 return context.runtime.getTrue(); in respondTo()
[all …]
DRubyMap.java210 if (this == other) return context.runtime.getTrue(); in eq()
217 return context.runtime.getTrue(); in eq()
326 return this.table.containsKey(key) ? context.runtime.getTrue() : context.runtime.getFalse(); in hasKey()
/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/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-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()
DLowerConstantIntrinsics.cpp46 return isa<Constant>(Op) ? ConstantInt::getTrue(II->getType()) in lowerIsConstantIntrinsic()
/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()
/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/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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DBooleanNode.java37 public static BooleanNode getTrue() { return TRUE; } in getTrue() method in BooleanNode
DJsonNodeFactory.java102 return v ? BooleanNode.getTrue() : BooleanNode.getFalse(); in booleanNode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp73 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp345 return replaceInstUsesWith(ICI, Builder.getTrue()); in foldCmpLoadFromIndexedGlobal()
1506 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpWithDominatingICmp()
1684 return replaceInstUsesWith(Cmp, ConstantInt::getTrue(Cmp.getType())); in foldICmpAndShift()
2458 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
2473 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
2482 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
3949 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpBinOp()
4530 Overflow = Builder.getTrue(); in OptimizeOverflowCheck()
5016 : replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits()
5066 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits()
[all …]

12345