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

12

/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp80 void eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand);
157 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { argument
159 ICmpInst::Predicate Pred = ICmp->getPredicate();
160 if (IVOperand != ICmp->getOperand(0)) {
162 assert(IVOperand == ICmp->getOperand(1) && "Can't find IVOperand");
167 // Get the SCEVs for the ICmp operands.
168 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx));
169 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx));
172 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
179 ICmp
[all...]
/external/llvm/lib/Analysis/
H A DCaptureTracking.cpp160 case Instruction::ICmp:
H A DScalarEvolutionExpander.cpp1541 Value *ICmp = Builder.CreateICmpSGT(LHS, RHS); local
1542 rememberInstruction(ICmp);
1543 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax");
1565 Value *ICmp = Builder.CreateICmpUGT(LHS, RHS); local
1566 rememberInstruction(ICmp);
1567 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax");
H A DCostModel.cpp425 case Instruction::ICmp:
/external/llvm/unittests/Transforms/Utils/
H A DIntegerDivision.cpp77 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
137 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
198 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
258 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp232 case Instruction::ICmp:
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp229 case Instruction::ICmp:
/external/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp303 case Instruction::ICmp:
H A DGVN.cpp201 assert((Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) &&
422 case Instruction::ICmp:
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp627 case Instruction::ICmp:
706 case Instruction::ICmp:
789 case Instruction::ICmp:
/external/llvm/lib/IR/
H A DInstruction.cpp245 case ICmp: return "icmp";
H A DConstantsContext.h236 // behind the scenes to implement ICmp and FCmp constant expressions. This is
460 if (V.opcode == Instruction::ICmp)
461 return new CompareConstantExpr(Ty, Instruction::ICmp, V.subclassdata,
H A DConstants.cpp1079 return getOpcode() == Instruction::ICmp || getOpcode() == Instruction::FCmp;
1184 case Instruction::ICmp:
1946 pred <= ICmpInst::LAST_ICMP_PREDICATE && "Invalid ICmp Predicate");
1954 const ExprMapKeyType Key(Instruction::ICmp, ArgVec, pred);
2868 case Instruction::ICmp:
/external/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp307 case Instruction::ICmp:
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp761 /// Returns true if the instruction is a Select(ICmp(X, Y), X, Y) instruction
2080 CmpInst::Create(Instruction::ICmp, CmpInst::ICMP_EQ, BackedgeCount,
2396 Value *CmpN = CmpInst::Create(Instruction::ICmp, CmpInst::ICMP_EQ, IdxEnd,
2409 Value *ICmp = Builder.CreateICmpEQ(NextIdx, IdxEndRoundDown); local
2410 Builder.CreateCondBr(ICmp, MiddleBlock, VecBody);
2476 return Instruction::ICmp;
2740 if (Op != Instruction::ICmp && Op != Instruction::FCmp)
2773 if (Op != Instruction::ICmp && Op != Instruction::FCmp)
3153 case Instruction::ICmp:
4971 /// Returns true if the instruction is a Select(ICmp(
[all...]
H A DSLPVectorizer.cpp916 case Instruction::ICmp:
1201 case Instruction::ICmp:
1224 if (Opcode == Instruction::FCmp || Opcode == Instruction::ICmp ||
1699 case Instruction::ICmp: {
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp214 case Instruction::ICmp:
/external/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp403 case Instruction::ICmp:
/external/lldb/source/Expression/
H A DIRInterpreter.cpp469 case Instruction::ICmp:
485 log->Printf("Unsupported ICmp predicate: %s", PrintValue(ii).c_str());
997 case Instruction::ICmp:
1004 log->Printf("getOpcode() returns ICmp, but instruction is not an ICmpInst");
/external/llvm/include/llvm/IR/
H A DInstrTypes.h829 return I->getOpcode() == Instruction::ICmp ||
H A DInstructions.h981 "Invalid ICmp predicate value");
983 "Both operands to ICmp instruction are not of the same type!");
987 "Invalid operand types for ICmp instruction");
1002 Instruction::ICmp, pred, LHS, RHS, NameStr,
1017 Instruction::ICmp, pred, LHS, RHS, NameStr,
1031 Instruction::ICmp, pred, LHS, RHS, NameStr) {
1105 return I->getOpcode() == Instruction::ICmp;
/external/llvm/lib/AsmParser/
H A DLLLexer.cpp706 INSTKEYWORD(icmp, ICmp); INSTKEYWORD(fcmp, FCmp);
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp606 Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp,
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1150 case Instruction::ICmp:
1307 case Instruction::ICmp:
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp881 case Instruction::ICmp:
894 default: error("Invalid ICmp Predicate");
1285 case Instruction::ICmp: {

Completed in 2102 milliseconds

12