Searched defs:ICI (Results 1 - 15 of 15) sorted by relevance

/external/libcxx/test/std/containers/sequences/deque/deque.special/
H A Dcopy.pass.cpp53 typedef input_iterator<CI> ICI; typedef
66 assert(std::copy(ICI(c2.cbegin()), ICI(c2.cend()), c1.begin()) == c1.end());
/external/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp44 unsigned llvm::getICmpCode(const ICmpInst *ICI, bool InvertPred) { argument
45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate()
46 : ICI->getPredicate();
H A DSimplifyCFG.cpp409 ICmpInst *ICI; local
411 if (!((ICI = dyn_cast<ICmpInst>(I)) &&
422 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) {
423 if (match(ICI->getOperand(0),
440 if(!setValueOnce(ICI->getOperand(0)))
445 return ICI->getOperand(0);
450 ICI->getPredicate(), C->getValue());
559 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) {
560 if (ICI->isEquality() && GetConstantInt(ICI
590 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition()); local
827 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition()); local
3026 TryToSimplifyUncondBranchWithICmpInIt( ICmpInst *ICI, IRBuilder<> &Builder, const DataLayout &DL, const TargetTransformInfo &TTI, unsigned BonusInstThreshold, AssumptionCache *AC) argument
[all...]
/external/libcxx/test/std/containers/sequences/deque/deque.cons/
H A Dassign_iter_iter.pass.cpp67 typedef input_iterator<CI> ICI; typedef
68 c1.assign(ICI(c2.begin()), ICI(c2.end()));
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
H A Dinsert_iter_iter.pass.cpp170 typedef input_iterator<CI> ICI; typedef
172 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
/external/llvm/lib/Transforms/Scalar/
H A DAlignmentFromAssumptions.cpp217 ICmpInst *ICI = dyn_cast<ICmpInst>(I->getArgOperand(0)); local
218 if (!ICI)
222 if (ICI->getPredicate() != ICmpInst::ICMP_EQ)
226 Value *CmpLHS = ICI->getOperand(0);
227 Value *CmpRHS = ICI->getOperand(1);
H A DScalarizer.cpp81 // 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; member in struct:__anon12562::ICmpSplitter
424 bool Scalarizer::visitICmpInst(ICmpInst &ICI) { argument
425 return splitBinary(ICI, ICmpSplitter(ICI));
H A DInductiveRangeCheckElimination.cpp125 static RangeCheckKind parseRangeCheckICmp(Loop *L, ICmpInst *ICI,
256 /// Parse a single ICmp instruction, `ICI`, into a range check. If `ICI`
266 InductiveRangeCheck::parseRangeCheckICmp(Loop *L, ICmpInst *ICI, argument
281 ICmpInst::Predicate Pred = ICI->getPredicate();
282 Value *LHS = ICI->getOperand(0);
283 Value *RHS = ICI->getOperand(1);
371 if (ICmpInst *ICI = dyn_cast<ICmpInst>(Condition)) {
374 auto RCKind = parseRangeCheckICmp(L, ICI, SE, IndexVal, Length);
685 ICmpInst *ICI local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp359 static Value *foldSelectCttzCtlz(ICmpInst *ICI, Value *TrueVal, Value *FalseVal, argument
361 ICmpInst::Predicate Pred = ICI->getPredicate();
362 Value *CmpLHS = ICI->getOperand(0);
363 Value *CmpRHS = ICI->getOperand(1);
366 if (!ICI->isEquality() || !match(CmpRHS, m_Zero()))
405 ICmpInst *ICI) {
407 ICmpInst::Predicate Pred = ICI->getPredicate();
408 Value *CmpLHS = ICI->getOperand(0);
409 Value *CmpRHS = ICI->getOperand(1);
414 // can be adjusted to fit the min/max idiom. We may move or edit ICI
404 visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI) argument
[all...]
H A DInstCombineMulDivRem.cpp973 Value *ICI = IC.Builder->CreateICmpULT(Op0, cast<ConstantInt>(Op1)); local
975 return SelectInst::Create(ICI, Constant::getNullValue(I.getType()),
H A DInstCombineCasts.cpp583 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, argument
588 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(ICI->getOperand(1))) {
593 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) ||
594 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) {
595 if (!DoXform) return ICI;
597 Value *In = ICI->getOperand(0);
604 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) {
622 ICI->isEquality()) {
626 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne, 0, &CI);
630 if (!DoXform) return ICI;
967 transformSExtICmp(ICmpInst *ICI, Instruction &CI) argument
[all...]
H A DInstCombineCompares.cpp229 CmpInst &ICI, ConstantInt *AndCst) {
301 Constant *CompareRHS = cast<Constant>(ICI.getOperand(1));
314 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt,
404 return ReplaceInstUsesWith(ICI, Builder->getFalse());
424 return ReplaceInstUsesWith(ICI, Builder->getTrue());
733 Instruction *InstCombiner::FoldAllocaCmp(ICmpInst &ICI, AllocaInst *Alloca, argument
735 assert(ICI.isEquality() && "Cannot fold non-equality comparison.");
806 ICI,
807 ConstantInt::get(CmpTy, !CmpInst::isTrueWhenEqual(ICI.getPredicate())));
811 Instruction *InstCombiner::FoldICmpAddOpCst(Instruction &ICI, argument
228 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, CmpInst &ICI, ConstantInt *AndCst) argument
860 FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, ConstantInt *DivRHS) argument
1016 FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *Shr, ConstantInt *ShAmt) argument
1213 visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHSI, ConstantInt *RHS) argument
2019 visitICmpInstWithCastAndCast(ICmpInst &ICI) argument
[all...]
H A DInstructionCombining.cpp1882 ICmpInst *ICI = cast<ICmpInst>(I); local
1884 if (!ICI->isEquality() || !isa<ConstantPointerNull>(ICI->getOperand(1)))
/external/llvm/lib/Analysis/
H A DLazyValueInfo.cpp778 static bool getValueFromFromCondition(Value *Val, ICmpInst *ICI,
800 if (ICmpInst *ICI = dyn_cast<ICmpInst>(C)) {
802 if (getValueFromFromCondition(Val, ICI, Result)) {
896 bool getValueFromFromCondition(Value *Val, ICmpInst *ICI, argument
898 if (ICI && isa<Constant>(ICI->getOperand(1))) {
899 if (ICI->isEquality() && ICI->getOperand(0) == Val) {
902 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ))
903 Result = LVILatticeVal::get(cast<Constant>(ICI
[all...]
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp900 ICmpInst *ICI = dyn_cast<ICmpInst>(LoadUse.getUser()); local
901 if (!ICI) {
910 LI->isUnordered() ? (Instruction*)ICI : LI);
912 switch (ICI->getPredicate()) {
921 LV = BinaryOperator::CreateNot(LV, "notinit", ICI);
930 ICI->replaceAllUsesWith(LV);
931 ICI->eraseFromParent();
1060 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(UI)) {
1061 if (!isa<ConstantPointerNull>(ICI->getOperand(1)))

Completed in 3825 milliseconds