/external/llvm/include/llvm/Transforms/Utils/ |
CmpInstAnalysis.h | 47 unsigned getICmpCode(const ICmpInst *ICI, bool InvertPred = false);
|
/external/llvm/lib/Transforms/Utils/ |
CmpInstAnalysis.cpp | 44 unsigned llvm::getICmpCode(const ICmpInst *ICI, bool InvertPred) { 45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() 46 : ICI->getPredicate();
|
SimplifyCFG.cpp | 384 ICmpInst *ICI; 386 if (!((ICI = dyn_cast<ICmpInst>(I)) && 397 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) { 398 if (match(ICI->getOperand(0), 415 if(!setValueOnce(ICI->getOperand(0))) 420 return ICI->getOperand(0); 425 ICI->getPredicate(), C->getValue()); 534 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) { 535 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), DL) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | 231 CmpInst &ICI, ConstantInt *AndCst) { 303 Constant *CompareRHS = cast<Constant>(ICI.getOperand(1)); 316 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, 407 return ReplaceInstUsesWith(ICI, Builder->getFalse()); 427 return ReplaceInstUsesWith(ICI, Builder->getTrue()); 741 Instruction *InstCombiner::FoldICmpAddOpCst(Instruction &ICI, 790 Instruction *InstCombiner::FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, 792 ConstantInt *CmpRHS = cast<ConstantInt>(ICI.getOperand(1)); [all...] |
InstCombineSelect.cpp | 31 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition()); 32 if (!ICI) return SPF_UNKNOWN; 34 ICmpInst::Predicate Pred = ICI->getPredicate(); 35 Value *CmpLHS = ICI->getOperand(0); 36 Value *CmpRHS = ICI->getOperand(1); 452 static Value *foldSelectCttzCtlz(ICmpInst *ICI, Value *TrueVal, Value *FalseVal, 454 ICmpInst::Predicate Pred = ICI->getPredicate(); 455 Value *CmpLHS = ICI->getOperand(0); 456 Value *CmpRHS = ICI->getOperand(1); 459 if (!ICI->isEquality() || !match(CmpRHS, m_Zero()) [all...] |
InstCombineInternal.h | 272 GlobalVariable *GV, CmpInst &ICI, 276 Instruction *visitICmpInstWithCastAndCast(ICmpInst &ICI); 277 Instruction *visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHS, 279 Instruction *FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, 281 Instruction *FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *DivI, 287 Instruction *FoldICmpAddOpCst(Instruction &ICI, Value *X, ConstantInt *CI, 315 Instruction *visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI); 383 Instruction *transformZExtICmp(ICmpInst *ICI, Instruction &CI, 385 Instruction *transformSExtICmp(ICmpInst *ICI, Instruction &CI);
|
InstCombineCasts.cpp | 508 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, 513 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) { 518 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || 519 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { 520 if (!DoXform) return ICI; 522 Value *In = ICI->getOperand(0); 529 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { 547 ICI->isEquality()) { 551 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne, 0, &CI); 555 if (!DoXform) return ICI; [all...] |
InstCombineMulDivRem.cpp | [all...] |
InstructionCombining.cpp | [all...] |
/external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
assign_iter_iter.pass.cpp | 69 typedef input_iterator<CI> ICI; 71 c1.assign(ICI(c2.begin()), ICI(c2.end()));
|
/external/libcxx/test/std/containers/sequences/deque/deque.special/ |
copy.pass.cpp | 53 typedef input_iterator<CI> ICI; 66 assert(std::copy(ICI(c2.cbegin()), ICI(c2.cend()), c1.begin()) == c1.end());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/ |
assign_iter_iter.pass.cpp | 69 typedef input_iterator<CI> ICI; 71 c1.assign(ICI(c2.begin()), ICI(c2.end()));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/ |
copy.pass.cpp | 53 typedef input_iterator<CI> ICI; 66 assert(std::copy(ICI(c2.cbegin()), ICI(c2.cend()), c1.begin()) == c1.end());
|
/external/llvm/lib/Analysis/ |
LazyValueInfo.cpp | 717 static bool getValueFromFromCondition(Value *Val, ICmpInst *ICI, 739 if (ICmpInst *ICI = dyn_cast<ICmpInst>(C)) { 741 if (getValueFromFromCondition(Val, ICI, Result)) { 835 bool getValueFromFromCondition(Value *Val, ICmpInst *ICI, 837 if (ICI && isa<Constant>(ICI->getOperand(1))) { 838 if (ICI->isEquality() && ICI->getOperand(0) == Val) { 841 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) 842 Result = LVILatticeVal::get(cast<Constant>(ICI->getOperand(1))) [all...] |
InstructionSimplify.cpp | [all...] |
ScalarEvolution.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
AlignmentFromAssumptions.cpp | 213 ICmpInst *ICI = dyn_cast<ICmpInst>(I->getArgOperand(0)); 214 if (!ICI) 218 if (ICI->getPredicate() != ICmpInst::ICMP_EQ) 222 Value *CmpLHS = ICI->getOperand(0); 223 Value *CmpRHS = ICI->getOperand(1);
|
InductiveRangeCheckElimination.cpp | 125 static RangeCheckKind parseRangeCheckICmp(Loop *L, ICmpInst *ICI, 249 /// Parse a single ICmp instruction, `ICI`, into a range check. If `ICI` 259 InductiveRangeCheck::parseRangeCheckICmp(Loop *L, ICmpInst *ICI, 274 ICmpInst::Predicate Pred = ICI->getPredicate(); 275 Value *LHS = ICI->getOperand(0); 276 Value *RHS = ICI->getOperand(1); 364 if (ICmpInst *ICI = dyn_cast<ICmpInst>(Condition)) { 367 auto RCKind = parseRangeCheckICmp(L, ICI, SE, IndexVal, Length); 678 ICmpInst *ICI = dyn_cast<ICmpInst>(LatchBr->getCondition()) [all...] |
Scalarizer.cpp | 81 // ICmpSpliiter(ICI)(Builder, X, Y, Name) uses Builder to create an ICmp 82 // called Name that compares X and Y in the same way as ICI. 84 ICmpSplitter(ICmpInst &ici) : ICI(ici) {} 87 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name); 89 ICmpInst &ICI; 418 bool Scalarizer::visitICmpInst(ICmpInst &ICI) { 419 return splitBinary(ICI, ICmpSplitter(ICI)); [all...] |
LoopStrengthReduce.cpp | [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/ |
insert_iter_iter.pass.cpp | 134 typedef input_iterator<CI> ICI; 136 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
|
/external/llvm/lib/Transforms/ObjCARC/ |
DependencyAnalysis.cpp | 96 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(Inst)) { 100 if (!IsPotentialRetainableObjPtr(ICI->getOperand(1), *PA.getAA()))
|
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
insert_iter_iter.pass.cpp | 175 typedef input_iterator<CI> ICI; 177 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
|
/external/llvm/lib/Analysis/IPA/ |
GlobalsModRef.cpp | 282 } else if (ICmpInst *ICI = dyn_cast<ICmpInst>(I)) { 283 if (!isa<ConstantPointerNull>(ICI->getOperand(1)))
|
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |