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

References

include/llvm/IR/IRBuilder.h
 2316     SelectInst *Sel = SelectInst::Create(C, True, False);
include/llvm/IR/NoFolder.h
  315     return SelectInst::Create(C, True, False);
lib/AsmParser/LLParser.cpp
 6578   Inst = SelectInst::Create(Op0, Op1, Op2);
lib/Bitcode/Reader/BitcodeReader.cpp
 4089       I = SelectInst::Create(Cond, TrueVal, FalseVal);
 4116       I = SelectInst::Create(Cond, TrueVal, FalseVal);
lib/CodeGen/CodeGenPrepare.cpp
 3436         SelectInst *Select = SelectInst::Create(
lib/CodeGen/SjLjEHPrepare.cpp
  248     Instruction *SI = SelectInst::Create(
lib/IR/Constants.cpp
 3006     return SelectInst::Create(Ops[0], Ops[1], Ops[2]);
lib/IR/Instructions.cpp
 4233   return SelectInst::Create(getOperand(0), getOperand(1), getOperand(2));
lib/Transforms/IPO/GlobalOpt.cpp
 1742         NSI = SelectInst::Create(NLI, OtherVal, InitVal, "", LI);
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  892     return SelectInst::Create(X, AddOne(Op1C), Op1);
 1364         return SelectInst::Create(SI->getCondition(), N, A);
 1368         return SelectInst::Create(SI->getCondition(), A, N);
 1737       return SelectInst::Create(X, SubOne(C), C);
 1744       return SelectInst::Create(X, AddOne(C), C);
 2005     return SelectInst::Create(Cmp, Neg, A);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1957     return SelectInst::Create(A, Op1, Constant::getNullValue(I.getType()));
 1960     return SelectInst::Create(A, Op0, Constant::getNullValue(I.getType()));
 1972       return SelectInst::Create(NewICmpInst, X, ConstantInt::getNullValue(Ty));
 2681     return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op1);
 2684     return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op0);
 2709       return SelectInst::Create(X, orTrue, orFalse);
 2723       return SelectInst::Create(NewICmpInst, ConstantInt::getAllOnesValue(Ty),
 3236     return SelectInst::Create(Cmp, Neg, A);
 3259         return SelectInst::Create(
 3267         return SelectInst::Create(
 3277         return SelectInst::Create(
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2289       return SelectInst::Create(Cond, Call0, Call1);
 3059       return SelectInst::Create(NewSelector, Op1, Op0, "blendv");
 3076         return SelectInst::Create(BoolVec, Op1, Op0);
lib/Transforms/InstCombine/InstCombineCasts.cpp
  209     Res = SelectInst::Create(I->getOperand(0), True, False);
 2132     return SelectInst::Create(Cond, X, CastedVal, "", nullptr, Sel);
 2139     return SelectInst::Create(Cond, CastedVal, X, "", nullptr, Sel);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3236       return SelectInst::Create(LHSI->getOperand(0), Op1, Op2);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
 1039         return SelectInst::Create(SI->getCondition(), V1, V2);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  360     return SelectInst::Create(X, Op1, ConstantInt::get(I.getType(), 0));
  362     return SelectInst::Create(X, Op0, ConstantInt::get(I.getType(), 0));
  772       return SelectInst::Create(Cmp, Op1, ConstantInt::get(Ty, 0));
 1031         Inst = SelectInst::Create(cast<SelectInst>(ActionOp1)->getCondition(),
 1378     return SelectInst::Create(Cmp, Op0, Sub);
 1388     return SelectInst::Create(Cmp, ConstantInt::getNullValue(Ty), Op0);
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1302       SelectInst::Create(ShouldReplaceHigh, ReplacementHigh, MaybeReplacedLow);
 1784       return SelectInst::Create(Cond, AllOnesOrOne, C, "", nullptr, &Sel);
 1789       return SelectInst::Create(Cond, C, Zero, "", nullptr, &Sel);
 2133   return SelectInst::Create(CmpABC, MinMaxOp, ThirdOp);
 2319         return SelectInst::Create(NewCond, FalseVal, TrueVal,
 2337         return SelectInst::Create(NewCond, FalseVal, TrueVal,
lib/Transforms/InstCombine/InstCombineShifts.cpp
  818         return SelectInst::Create(Cond, NewOp, NewShift);
  837         return SelectInst::Create(Cond, NewShift, NewOp);
  954       return SelectInst::Create(X, NewC, ConstantInt::getNullValue(Ty));
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1713   return SelectInst::Create(NarrowCond, NarrowX, NarrowY);
lib/Transforms/InstCombine/InstructionCombining.cpp
  904   return SelectInst::Create(SI->getCondition(), NewTV, NewFV, "", nullptr, SI);
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1475           SelectInst::Create(I.getCondition(), TrueShadow, FalseShadow, "", &I);
lib/Transforms/Scalar/InferAddressSpaces.cpp
  493     return SelectInst::Create(I->getOperand(0), NewPointerOperands[1],
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  973         return SelectInst::Create(SI->getCondition(), Undef, Undef, Name, SI);
lib/Transforms/Utils/SimplifyIndVar.cpp
  346       SelectInst::Create(ICmp, ConstantInt::get(T, 0), N, "iv.rem", Rem);
tools/llvm-stress/llvm-stress.cpp
  635     Value *V = SelectInst::Create(Cond, Val0, Val1, "Sl", BB->getTerminator());
unittests/Analysis/ScalarEvolutionTest.cpp
  188   SelectInst *Sel = SelectInst::Create(Cmp, Gep1, Gep2, "select", Br);