Searched refs:ICmp (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp75 void eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand);
149 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { argument
151 ICmpInst::Predicate Pred = ICmp->getPredicate();
152 if (IVOperand != ICmp->getOperand(0)) {
154 assert(IVOperand == ICmp->getOperand(1) && "Can't find IVOperand");
159 // Get the SCEVs for the ICmp operands.
160 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx));
161 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx));
164 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
171 ICmp
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DCaptureTracking.cpp152 case Instruction::ICmp:
H A DScalarEvolutionExpander.cpp1441 Value *ICmp = Builder.CreateICmpSGT(LHS, RHS); local
1442 rememberInstruction(ICmp);
1443 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax");
1465 Value *ICmp = Builder.CreateICmpUGT(LHS, RHS); local
1466 rememberInstruction(ICmp);
1467 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax");
H A DConstantFolding.cpp905 case Instruction::ICmp:
/macosx-10.10.1/llvmCore-3425.0.34/unittests/Transforms/Utils/
H A DIntegerDivision.cpp76 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
136 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/MBlaze/
H A DMBlazeISelLowering.h79 ICmp, enumerator in enum:llvm::MBlazeISD::NodeType
H A DMBlazeISelLowering.cpp48 case MBlazeISD::ICmp : return "MBlazeISD::ICmp";
582 CompareFlag = DAG.getNode(MBlazeISD::ICmp, dl, MVT::i32, LHS, RHS)
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp280 case Instruction::ICmp:
H A DGVN.cpp197 assert((Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) &&
418 case Instruction::ICmp:
H A DSCCP.cpp1427 case Instruction::ICmp:
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DInstruction.cpp150 case ICmp: return "icmp";
H A DConstantsContext.h233 // behind the scenes to implement ICmp and FCmp constant expressions. This is
468 if (V.opcode == Instruction::ICmp)
469 return new CompareConstantExpr(Ty, Instruction::ICmp, V.subclassdata,
H A DConstants.cpp984 return getOpcode() == Instruction::ICmp || getOpcode() == Instruction::FCmp;
1088 case Instruction::ICmp:
1770 pred <= ICmpInst::LAST_ICMP_PREDICATE && "Invalid ICmp Predicate");
1780 const ExprMapKeyType Key(Instruction::ICmp, ArgVec, pred);
H A DInstructions.cpp2871 if (Op == Instruction::ICmp) {
2891 if (Op == Instruction::ICmp) {
2986 default: llvm_unreachable("Invalid ICmp opcode to ConstantRange ctor!");
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DInstrTypes.h821 return I->getOpcode() == Instruction::ICmp ||
H A DInstructions.h914 Instruction::ICmp, pred, LHS, RHS, NameStr,
918 "Invalid ICmp predicate value");
920 "Both operands to ICmp instruction are not of the same type!");
924 "Invalid operand types for ICmp instruction");
935 Instruction::ICmp, pred, LHS, RHS, NameStr,
939 "Invalid ICmp predicate value");
941 "Both operands to ICmp instruction are not of the same type!");
945 "Invalid operand types for ICmp instruction");
955 Instruction::ICmp, pred, LHS, RHS, NameStr) {
958 "Invalid ICmp predicat
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-diff/
H A DDifferenceEngine.cpp407 case Instruction::ICmp:
/macosx-10.10.1/llvmCore-3425.0.34/lib/AsmParser/
H A DLLLexer.cpp610 INSTKEYWORD(icmp, ICmp); INSTKEYWORD(fcmp, FCmp);
H A DLLParser.cpp2249 assert(Opc == Instruction::ICmp && "Unexpected opcode for CmpInst!");
3423 assert(Opc == Instruction::ICmp && "Unknown opcode for CmpInst!");
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-stress/
H A Dllvm-stress.cpp606 Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp,
/macosx-10.10.1/llvmCore-3425.0.34/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp980 case Instruction::ICmp:
1119 case Instruction::ICmp:
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/CppBackend/
H A DCPPBackend.cpp860 case Instruction::ICmp:
873 default: error("Invalid ICmp Predicate");
1258 case Instruction::ICmp: {
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp276 dbgs() << "Don't know how to handle this ICmp predicate!\n-->" << I;
1219 case Instruction::ICmp:
/macosx-10.10.1/llvmCore-3425.0.34/bindings/ocaml/llvm/
H A Dllvm.ml187 | ICmp
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp811 // Get the ICmp opcode
1650 assert(ICI.getPredicate() == ICmpInst::ICMP_UGT && "ICmp should be folded!");
1834 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1);
1838 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1);

Completed in 248 milliseconds

12