Searched refs:getTrue (Results 1 - 25 of 32) sorted by relevance

12

/external/llvm/unittests/Transforms/Utils/
H A DLocal.cpp30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1);
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp70 /// getTrue - For a boolean type, or a vector of boolean type, return true, or
72 static Constant *getTrue(Type *Ty) { function
454 TCmp = getTrue(Cond->getType());
460 TCmp = getTrue(Cond->getType());
1754 return getTrue(ITy);
1763 return getTrue(ITy);
1768 return getTrue(ITy);
1775 return getTrue(ITy);
1784 return getTrue(ITy);
1791 return getTrue(IT
[all...]
H A DInlineCost.cpp528 SimplifiedValues[&I] = IsNotEqual ? ConstantInt::getTrue(I.getType())
H A DValueTracking.cpp730 if (II->getArgOperand(1) == ConstantInt::getTrue(II->getContext()))
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp399 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(GEP->getContext()));
724 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(X->getContext()));
900 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext()));
912 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext()));
921 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext()));
1190 ConstantInt::getTrue(ICI.getContext()));
2040 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
2077 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
2095 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
2114 return ReplaceInstUsesWith(I, ConstantInt::getTrue(
[all...]
H A DInstCombineCalls.cpp253 uint64_t DontKnow = II->getArgOperand(1) == Builder->getTrue() ? 0 : -1ULL;
414 ConstantInt::getTrue(II->getContext())
918 new StoreInst(ConstantInt::getTrue(Callee->getContext()),
939 new StoreInst(ConstantInt::getTrue(Callee->getContext()),
952 ConstantInt::getTrue(Callee->getContext()), II);
H A DInstCombineAndOrXor.cpp122 if (!isordered) return ConstantInt::getTrue(LHS->getContext());
300 return ConstantInt::getTrue(V->getContext());
1550 return ConstantInt::getTrue(LHS->getContext());
1602 return ConstantInt::getTrue(LHS->getContext());
1617 return ConstantInt::getTrue(LHS->getContext());
1638 return ConstantInt::getTrue(LHS->getContext());
2104 ConstantInt::getTrue(I.getContext()),
H A DInstCombineMulDivRem.cpp341 *I = NonNullOperand == 1 ? ConstantInt::getTrue(BBI->getContext()) :
H A DInstructionCombining.cpp1180 Builder->CreateStore(ConstantInt::getTrue(FI.getContext()),
/external/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp170 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext()));
H A DLoopUnswitch.cpp447 ConstantInt::getTrue(Context))) {
491 ConstantInt::getTrue(Context))) {
580 if (Val) *Val = ConstantInt::getTrue(Context);
691 else if (Val != ConstantInt::getTrue(Val->getContext()))
1179 ConstantInt::getTrue(Context), NewSISucc);
H A DJumpThreading.cpp403 InterestingVal = ConstantInt::getTrue(I->getContext());
1252 SplitVal = ConstantInt::getTrue(BB->getContext());
H A DGVN.cpp2155 ConstantInt::getTrue(TrueSucc->getContext()),
/external/mesa3d/src/pixelflinger2/
H A Dllvm_scanline.cpp117 builder.CreateStore(builder.getTrue(), sCmpPtr);
566 sCmp = ConstantInt::getTrue(mod->getContext());
616 zCmp = ConstantInt::getTrue(mod->getContext());
623 zCmp = ConstantInt::getTrue(mod->getContext());
/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp173 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext()));
H A DSimplifyCFG.cpp2102 V = ConstantInt::getTrue(BB->getContext());
2120 Constant *DefaultCst = ConstantInt::getTrue(BB->getContext());
/external/llvm/include/llvm/
H A DConstants.h62 static ConstantInt *getTrue(LLVMContext &Context);
64 static Constant *getTrue(Type *Ty);
/external/llvm/unittests/ExecutionEngine/JIT/
H A DJITTest.cpp359 Builder.CreateCall(Func2, ConstantInt::getTrue(Context));
360 Builder.CreateCall(Func3, ConstantInt::getTrue(Context));
/external/clang/lib/CodeGen/
H A DCGCleanup.cpp256 Builder.CreateStore(Builder.getTrue(), active);
H A DCGException.cpp1474 CGF.Builder.CreateStore(CGF.Builder.getTrue(), ForEHVar);
H A DCGStmt.cpp757 Builder.CreateStore(Builder.getTrue(), NRVOFlag);
H A DCGExprScalar.cpp1297 value = Builder.getTrue();
2479 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI);
/external/llvm/lib/VMCore/
H A DConstants.cpp379 ConstantInt *ConstantInt::getTrue(LLVMContext &Context) { function in class:ConstantInt
393 Constant *ConstantInt::getTrue(Type *Ty) { function in class:ConstantInt
397 return ConstantInt::getTrue(Ty->getContext());
402 ConstantInt::getTrue(Ty->getContext()));
H A DConstantFold.cpp1609 return ConstantInt::getTrue(C1->getContext());
1619 return ConstantInt::getTrue(C1->getContext());
/external/llvm/include/llvm/Support/
H A DIRBuilder.h186 /// getTrue - Get the constant value for i1 true.
187 ConstantInt *getTrue() { function in class:llvm::IRBuilderBase
188 return ConstantInt::getTrue(Context);

Completed in 1241 milliseconds

12