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

12

/freebsd-10.2-release/contrib/llvm/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...]
/freebsd-10.2-release/contrib/llvm/lib/Analysis/
H A DCaptureTracking.cpp163 case Instruction::ICmp:
H A DScalarEvolutionExpander.cpp1431 Value *ICmp = Builder.CreateICmpSGT(LHS, RHS); local
1432 rememberInstruction(ICmp);
1433 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax");
1455 Value *ICmp = Builder.CreateICmpUGT(LHS, RHS); local
1456 rememberInstruction(ICmp);
1457 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax");
H A DCostModel.cpp413 case Instruction::ICmp:
H A DConstantFolding.cpp970 case Instruction::ICmp:
/freebsd-10.2-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp232 case Instruction::ICmp:
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp299 case Instruction::ICmp:
H A DGVN.cpp200 assert((Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) &&
421 case Instruction::ICmp:
H A DSCCP.cpp1417 case Instruction::ICmp:
/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp568 case Instruction::ICmp:
645 case Instruction::ICmp:
728 case Instruction::ICmp:
/freebsd-10.2-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp310 case Instruction::ICmp:
/freebsd-10.2-release/contrib/llvm/lib/IR/
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 DInstruction.cpp241 case ICmp: return "icmp";
H A DConstants.cpp1041 return getOpcode() == Instruction::ICmp || getOpcode() == Instruction::FCmp;
1146 case Instruction::ICmp:
1884 pred <= ICmpInst::LAST_ICMP_PREDICATE && "Invalid ICmp Predicate");
1892 const ExprMapKeyType Key(Instruction::ICmp, ArgVec, pred);
2805 case Instruction::ICmp:
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp621 /// Returns true if the instruction is a Select(ICmp(X, Y), X, Y) instruction
1801 Value *CmpN = CmpInst::Create(Instruction::ICmp, CmpInst::ICMP_EQ, IdxEnd,
1814 Value *ICmp = Builder.CreateICmpEQ(NextIdx, IdxEndRoundDown); local
1815 Builder.CreateCondBr(ICmp, MiddleBlock, VecBody);
2023 return Instruction::ICmp;
2259 if (Op != Instruction::ICmp && Op != Instruction::FCmp)
2291 if (Op != Instruction::ICmp && Op != Instruction::FCmp)
2662 case Instruction::ICmp:
4251 /// Returns true if the instruction is a Select(ICmp(X, Y), X, Y) instruction
4333 case Instruction::ICmp
[all...]
H A DSLPVectorizer.cpp858 case Instruction::ICmp:
1009 case Instruction::ICmp:
1032 if (Opcode == Instruction::FCmp || Opcode == Instruction::ICmp ||
1425 case Instruction::ICmp: {
/freebsd-10.2-release/contrib/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp403 case Instruction::ICmp:
/freebsd-10.2-release/contrib/llvm/include/llvm/IR/
H A DInstrTypes.h824 return I->getOpcode() == Instruction::ICmp ||
H A DInstructions.h915 "Invalid ICmp predicate value");
917 "Both operands to ICmp instruction are not of the same type!");
921 "Invalid operand types for ICmp instruction");
936 Instruction::ICmp, pred, LHS, RHS, NameStr,
951 Instruction::ICmp, pred, LHS, RHS, NameStr,
965 Instruction::ICmp, pred, LHS, RHS, NameStr) {
1039 return I->getOpcode() == Instruction::ICmp;
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Expression/
H A DIRInterpreter.cpp476 case Instruction::ICmp:
492 log->Printf("Unsupported ICmp predicate: %s", PrintValue(ii).c_str());
1005 case Instruction::ICmp:
1012 log->Printf("getOpcode() returns ICmp, but instruction is not an ICmpInst");
/freebsd-10.2-release/contrib/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp605 Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp,
/freebsd-10.2-release/contrib/llvm/lib/AsmParser/
H A DLLLexer.cpp652 INSTKEYWORD(icmp, ICmp); INSTKEYWORD(fcmp, FCmp);
/freebsd-10.2-release/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1103 case Instruction::ICmp:
1260 case Instruction::ICmp:
/freebsd-10.2-release/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp871 case Instruction::ICmp:
884 default: error("Invalid ICmp Predicate");
1268 case Instruction::ICmp: {
/freebsd-10.2-release/contrib/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1292 case ICmp: return ISD::SETCC;

Completed in 352 milliseconds

12