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

12

/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp77 void eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand);
151 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { argument
153 ICmpInst::Predicate Pred = ICmp->getPredicate();
154 if (IVOperand != ICmp->getOperand(0)) {
156 assert(IVOperand == ICmp->getOperand(1) && "Can't find IVOperand");
161 // Get the SCEVs for the ICmp operands.
162 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx));
163 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx));
166 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
173 ICmp
[all...]
/external/llvm/lib/Analysis/
H A DCaptureTracking.cpp152 case Instruction::ICmp:
H A DScalarEvolutionExpander.cpp1440 Value *ICmp = Builder.CreateICmpSGT(LHS, RHS); local
1441 rememberInstruction(ICmp);
1442 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax");
1464 Value *ICmp = Builder.CreateICmpUGT(LHS, RHS); local
1465 rememberInstruction(ICmp);
1466 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax");
H A DConstantFolding.cpp864 case Instruction::ICmp:
/external/llvm/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)
/external/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp275 case Instruction::ICmp:
H A DGVN.cpp191 assert((Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) &&
412 case Instruction::ICmp:
H A DSCCP.cpp1427 case Instruction::ICmp:
/external/llvm/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
463 if (V.opcode == Instruction::ICmp)
464 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.cpp2865 if (Op == Instruction::ICmp) {
2885 if (Op == Instruction::ICmp) {
2980 default: llvm_unreachable("Invalid ICmp opcode to ConstantRange ctor!");
/external/llvm/include/llvm/
H A DInstrTypes.h821 return I->getOpcode() == Instruction::ICmp ||
H A DInstructions.h912 Instruction::ICmp, pred, LHS, RHS, NameStr,
916 "Invalid ICmp predicate value");
918 "Both operands to ICmp instruction are not of the same type!");
922 "Invalid operand types for ICmp instruction");
933 Instruction::ICmp, pred, LHS, RHS, NameStr,
937 "Invalid ICmp predicate value");
939 "Both operands to ICmp instruction are not of the same type!");
943 "Invalid operand types for ICmp instruction");
953 Instruction::ICmp, pred, LHS, RHS, NameStr) {
956 "Invalid ICmp predicat
[all...]
/external/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp407 case Instruction::ICmp:
/external/llvm/lib/AsmParser/
H A DLLLexer.cpp602 INSTKEYWORD(icmp, ICmp); INSTKEYWORD(fcmp, FCmp);
H A DLLParser.cpp2163 assert(Opc == Instruction::ICmp && "Unexpected opcode for CmpInst!");
3336 assert(Opc == Instruction::ICmp && "Unknown opcode for CmpInst!");
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp596 Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp,
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp964 case Instruction::ICmp:
1103 case Instruction::ICmp:
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp839 case Instruction::ICmp:
852 default: error("Invalid ICmp Predicate");
1235 case Instruction::ICmp: {
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp276 dbgs() << "Don't know how to handle this ICmp predicate!\n-->" << I;
1190 case Instruction::ICmp:
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.ml187 | ICmp Constructor in type:Opcode/t
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp810 // Get the ICmp opcode
1649 assert(ICI.getPredicate() == ICmpInst::ICMP_UGT && "ICmp should be folded!");
1833 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1);
1837 return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp122 STATISTIC(NumFastIselFailICmp,"Fast isel fails on ICmp");
941 case Instruction::ICmp: NumFastIselFailICmp++; return;

Completed in 451 milliseconds

12