reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Constants.h
   95   static ConstantInt *getTrue(LLVMContext &Context);

References

include/llvm/IR/IRBuilder.h
  339     return ConstantInt::getTrue(Context);
lib/Analysis/ConstantFolding.cpp
 1697       return ConstantInt::getTrue(Ty->getContext());
lib/Analysis/InstructionSimplify.cpp
 2795           return ConstantInt::getTrue(RHSC->getContext());
 2801           return ConstantInt::getTrue(RHSC->getContext());
 2805           return ConstantInt::getTrue(RHSC->getContext());
 2918             return ConstantInt::getTrue(RHS->getContext());
 2925           return ConstantInt::getTrue(RHS->getContext());
 3234         return ConstantInt::getTrue(RHS->getContext());
 3309             return ConstantInt::getTrue(CI->getContext());
 3316               ConstantInt::getTrue(CI->getContext()) :
 3323               ConstantInt::getTrue(CI->getContext());
 3361             return ConstantInt::getTrue(CI->getContext());
 3368               ConstantInt::getTrue(CI->getContext()) :
 3374               ConstantInt::getTrue(CI->getContext());
lib/Analysis/LoopAccessAnalysis.cpp
 2267                                                  ConstantInt::getTrue(Ctx));
lib/Analysis/ValueTracking.cpp
 1488         if (II->getArgOperand(1) == ConstantInt::getTrue(II->getContext()))
 1499         if (II->getArgOperand(1) == ConstantInt::getTrue(II->getContext()))
lib/AsmParser/LLParser.cpp
 3098     ID.ConstantVal = ConstantInt::getTrue(Context);
lib/CodeGen/AtomicExpandPass.cpp
 1253   Success->addIncoming(ConstantInt::getTrue(Ctx), SuccessBB);
lib/CodeGen/CodeGenPrepare.cpp
 1865       Constant *RetVal = ConstantInt::getTrue(II->getContext());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2064   CaseBlock CB(Opc, Cond, ConstantInt::getTrue(*DAG.getContext()),
 2300   CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()),
 2334     if (CB.CmpRHS == ConstantInt::getTrue(*DAG.getContext()) &&
lib/CodeGen/SjLjEHPrepare.cpp
  246     Value *TrueValue = ConstantInt::getTrue(F.getContext());
lib/IR/ConstantFold.cpp
 1831           return ConstantInt::getTrue(C1->getContext());
 1843           return ConstantInt::getTrue(C1->getContext());
lib/IR/Constants.cpp
  625   ConstantInt *TrueC = ConstantInt::getTrue(Ty->getContext());
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  638       ConstantInt::getTrue(Ctx) : ConstantInt::getFalse(Ctx);
lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
  184       ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext());
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  146   BoolTrue = ConstantInt::getTrue(Context);
lib/Target/NVPTX/NVPTXImageOptimizer.cpp
   96     replaceWith(&I, ConstantInt::getTrue(I.getContext()));
  113     replaceWith(&I, ConstantInt::getTrue(I.getContext()));
  131     replaceWith(&I, ConstantInt::getTrue(I.getContext()));
lib/Transforms/Coroutines/CoroCleanup.cpp
   73         II->replaceAllUsesWith(ConstantInt::getTrue(Context));
lib/Transforms/Coroutines/CoroSplit.cpp
  256   End->replaceAllUsesWith(InResume ? ConstantInt::getTrue(Context)
lib/Transforms/IPO/GlobalOpt.cpp
  894       new StoreInst(ConstantInt::getTrue(GV->getContext()), InitBool, false,
lib/Transforms/IPO/LowerTypeTests.cpp
  736     return ConstantInt::getTrue(M.getContext());
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1753   auto True = ConstantInt::getTrue(M.getContext());
lib/Transforms/InstCombine/InstCombineInternal.h
  694     new StoreInst(ConstantInt::getTrue(Ctx),
lib/Transforms/InstCombine/InstCombineSelect.cpp
  886     II->setArgOperand(1, ConstantInt::getTrue(II->getContext()));
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1832                                          ConstantInt::getTrue(F.getContext()));
 1845   Value *MergedCondition = ConstantInt::getTrue(F.getContext());
 1919                         ConstantInt::getTrue(F.getContext()) :
 1944                         ConstantInt::getTrue(F.getContext()) :
 1970           ConstantInt::getTrue(F.getContext()), Cond);
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  825     ConstantInt::getTrue(C->getContext()) :
lib/Transforms/Scalar/EarlyCSE.cpp
  818                    ? ConstantInt::getTrue(BB->getContext())
  928         AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext()));
  986           AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext()));
lib/Transforms/Scalar/GVN.cpp
 1422   Constant *True = ConstantInt::getTrue(V->getContext());
 2000     Value *TrueVal = ConstantInt::getTrue(TrueSucc->getContext());
lib/Transforms/Scalar/GuardWidening.cpp
  431                                : ConstantInt::getTrue(Instr->getContext());
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1885                                           ? ConstantInt::getTrue(Context)
lib/Transforms/Scalar/JumpThreading.cpp
  705         InterestingVal = ConstantInt::getTrue(I->getContext());
 1862     SplitVal = ConstantInt::getTrue(BB->getContext());
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1565       {InitX, ZeroCheck ? ConstantInt::getTrue(InitX->getContext())
 2555     Builder.CreateCondBr(ConstantInt::getTrue(Context), SuccessorBB,
lib/Transforms/Scalar/LoopUnswitch.cpp
  576         Cond == ConstantInt::getTrue(Cond->getContext())
  702         UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) {
  744             UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) {
  818                                              ConstantInt::getTrue(Context))) {
  946   else if (Val != ConstantInt::getTrue(Val->getContext())) {
 1096       } else if (BI->getCondition() == ConstantInt::getTrue(Context)) {
 1145       CondVal = ConstantInt::getTrue(Context);
 1559                        ConstantInt::getTrue(Context), NewSISucc);
 1667         return ConstantInt::getTrue(Ctx);
lib/Transforms/Scalar/LowerWidenableCondition.cpp
   60     CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext()));
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  525                                  : ConstantInt::getTrue(BI.getContext());
 2215         Direction ? ConstantInt::getTrue(BI->getContext())
 2219                   : ConstantInt::getTrue(BI->getContext());
lib/Transforms/Scalar/StructurizeCFG.cpp
  305   BoolTrue = ConstantInt::getTrue(Context);
lib/Transforms/Utils/SimplifyCFG.cpp
 3637       V = ConstantInt::getTrue(BB->getContext());
 3655   Constant *DefaultCst = ConstantInt::getTrue(BB->getContext());
 4401     Cmp = ConstantInt::getTrue(SI->getContext());
 5898     ConstantInt *TorF = *Imp ? ConstantInt::getTrue(BB->getContext())
lib/Transforms/Utils/SimplifyIndVar.cpp
  265     ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext()));
tools/bugpoint/CrashDebugger.cpp
  590           BR->setCondition(ConstantInt::getTrue(BR->getContext()));
tools/clang/lib/CodeGen/CGExpr.cpp
  682   llvm::Value *True = llvm::ConstantInt::getTrue(getLLVMContext());
tools/clang/lib/CodeGen/CGExprScalar.cpp
 4101     PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI);
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  811             llvm::ConstantInt::getTrue(getLLVMContext());
tools/clang/lib/CodeGen/TargetInfo.cpp
 7418             llvm::ConstantAsMetadata::get(llvm::ConstantInt::getTrue(Context)));
unittests/Analysis/DomTreeUpdaterTest.cpp
  273   BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0);
  371   BranchInst::Create(BB1, BB3, ConstantInt::getTrue(F->getContext()), BB0);
  490   BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0);
unittests/FuzzMutate/OperationsTest.cpp
  238   Descr.BuilderFunc({ConstantInt::getTrue(Ctx)},&*BB.getFirstInsertionPt());
unittests/IR/DominatorTreeTest.cpp
  241         BranchInst::Create(BB4, BB3, ConstantInt::getTrue(F.getContext()), BB1);
unittests/IR/MetadataTest.cpp
 2512   auto *C = ConstantInt::getTrue(Context);