/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
SimplifyIndVar.cpp | 79 void eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand); 153 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { 155 ICmpInst::Predicate Pred = ICmp->getPredicate(); 156 if (IVOperand != ICmp->getOperand(0)) { 158 assert(IVOperand == ICmp->getOperand(1) && "Can't find IVOperand"); 163 // Get the SCEVs for the ICmp operands. 164 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx)); 165 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx)); 168 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); 175 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())) [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyIndVar.cpp | 75 void eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand); 150 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { 152 ICmpInst::Predicate Pred = ICmp->getPredicate(); 153 if (IVOperand != ICmp->getOperand(0)) { 155 assert(IVOperand == ICmp->getOperand(1) && "Can't find IVOperand"); 160 // Get the SCEVs for the ICmp operands. 161 const SCEV *S = SE->getSCEV(ICmp->getOperand(IVOperIdx)); 162 const SCEV *X = SE->getSCEV(ICmp->getOperand(1 - IVOperIdx)); 165 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); 175 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())) [all...] |
LoopUtils.cpp | 190 // To recognize min/max patterns formed by a icmp select sequence, we store 370 /// Returns true if the instruction is a Select(ICmp(X, Y), X, Y) instruction 451 case Instruction::ICmp: 604 return Instruction::ICmp; [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
CaptureTracking.cpp | 128 case Instruction::ICmp:
|
ScalarEvolutionExpander.cpp | [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZTDC.cpp | 19 // 5: icmp slt (bitcast float X to int), 0 -> tdc X, mask [ie. signbit] 20 // 6: icmp sgt (bitcast float X to int), -1 -> tdc X, mask 21 // 7: icmp ne/eq (call @llvm.s390.tdc.*(X, mask)) -> tdc X, mask/~mask 28 // 1. All fcmp and icmp instructions in a function are checked for a match 87 // Tries to convert an icmp instruction. 236 // All our icmp rules involve comparisons with consts. 240 // Check for icmp+bitcast used for signbit. 248 // icmp slt (bitcast X), 0 - set if sign bit true 251 // icmp sgt (bitcast X), -1 - set if sign bit false 274 // icmp ne (call llvm.s390.tdc(...)), 0 -> simple TD [all...] |
SystemZTargetTransformInfo.cpp | 99 case Instruction::ICmp:
|
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyFastISel.cpp | 366 if (const ICmpInst *ICmp = dyn_cast<ICmpInst>(V)) 367 if (const ConstantInt *C = dyn_cast<ConstantInt>(ICmp->getOperand(1))) 368 if (ICmp->isEquality() && C->isZero() && C->getType()->isIntegerTy(32)) { 369 Not = ICmp->isTrueWhenEqual(); 370 return getRegForValue(ICmp->getOperand(0)); 819 const ICmpInst *ICmp = cast<ICmpInst>(I); 821 bool I32 = getSimpleType(ICmp->getOperand(0)->getType()) != MVT::i64; 824 switch (ICmp->getPredicate()) { 862 unsigned LHS = getRegForPromotedValue(ICmp->getOperand(0), isSigned); 866 unsigned RHS = getRegForPromotedValue(ICmp->getOperand(1), isSigned) [all...] |
/external/llvm/unittests/Transforms/Utils/ |
IntegerDivision.cpp | 77 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/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
MBlazeISelLowering.h | 79 ICmp,
|
/external/llvm/lib/IR/ |
ConstantsContext.h | 254 // behind the scenes to implement ICmp and FCmp constant expressions. This is 275 return CE->getOpcode() == Instruction::ICmp || 531 case Instruction::ICmp: 532 return new CompareConstantExpr(Ty, Instruction::ICmp, SubclassData,
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | 117 /// Given an icmp instruction, return true if any use of this comparison is a 126 /// Given an exploded icmp instruction, return true if the comparison only 154 /// Returns true if the exploded icmp can be expressed as a signed comparison 230 /// we can optimize "icmp eq (load (gep "foo", 0, i)), 0" into "icmp eq i, 3". 504 /// "icmp ne i, 0". Note that, in general, indices can be complex, and scales 506 /// "icmp ne (i*4), 0" (assuming A is a pointer to i32). [all...] |
InstCombineVectorOps.cpp | 668 case Instruction::ICmp: 747 case Instruction::ICmp: 748 assert(NewOps.size() == 2 && "icmp with #ops != 2"); [all...] |
/external/llvm/lib/Analysis/ |
CaptureTracking.cpp | 328 case Instruction::ICmp: {
|
ScalarEvolutionExpander.cpp | [all...] |
CFLGraph.h | 160 return CE->getOpcode() != Instruction::ICmp &&
|
CostModel.cpp | 421 case Instruction::ICmp:
|
ObjCARCInstKind.cpp | 305 case Instruction::ICmp:
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 192 case Instruction::ICmp:
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
ConstantsContext.h | 222 // behind the scenes to implement ICmp and FCmp constant expressions. This is 443 if (V.opcode == Instruction::ICmp) 444 return new CompareConstantExpr(Ty, Instruction::ICmp, V.subclassdata,
|
Instruction.cpp | 151 case ICmp: return "icmp";
|
/external/llvm/lib/Target/PowerPC/ |
PPCTargetTransformInfo.cpp | 147 case Instruction::ICmp:
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUPromoteAlloca.cpp | 55 /// indices to an instruction with 2 pointer inputs (e.g. select, icmp). 582 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { 583 if (!binaryOpIsDerivedFromSameAlloca(BaseAlloca, Val, ICmp, 0, 1)) 587 WorkList.push_back(ICmp);
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXGenericToNVVM.cpp | 309 case Instruction::ICmp: 310 // CompareConstantExpr (icmp)
|
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 421 case Instruction::ICmp:
|