Home
last modified time | relevance | path

Searched refs:EVI (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp162 ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Val); in substituteLPadValues() local
163 if (!EVI) in substituteLPadValues()
165 if (EVI->getNumIndices() != 1) in substituteLPadValues()
167 if (*EVI->idx_begin() == 0) in substituteLPadValues()
168 EVI->replaceAllUsesWith(ExnVal); in substituteLPadValues()
169 else if (*EVI->idx_begin() == 1) in substituteLPadValues()
170 EVI->replaceAllUsesWith(SelVal); in substituteLPadValues()
171 if (EVI->getNumUses() == 0) in substituteLPadValues()
172 EVI->eraseFromParent(); in substituteLPadValues()
DAnalysis.cpp310 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in getNoopInput() local
314 ArrayRef<unsigned> ExtractLoc = EVI->getIndices(); in getNoopInput()
/external/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp170 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in cleanupValue() local
171 return cleanupValue(EVI->getAggregateOperand()); in cleanupValue()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp479 void visitExtractValueInst(ExtractValueInst &EVI);
758 void SCCPSolver::visitExtractValueInst(ExtractValueInst &EVI) { in visitExtractValueInst() argument
761 if (EVI.getType()->isStructTy()) in visitExtractValueInst()
762 return markAnythingOverdefined(&EVI); in visitExtractValueInst()
765 if (EVI.getNumIndices() != 1) in visitExtractValueInst()
766 return markOverdefined(&EVI); in visitExtractValueInst()
768 Value *AggVal = EVI.getAggregateOperand(); in visitExtractValueInst()
770 unsigned i = *EVI.idx_begin(); in visitExtractValueInst()
772 mergeInValue(getValueState(&EVI), &EVI, EltVal); in visitExtractValueInst()
775 return markOverdefined(&EVI); in visitExtractValueInst()
DEarlyCSE.cpp125 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Inst)) in getHashValue() local
126 return hash_combine(EVI->getOpcode(), EVI->getOperand(0), in getHashValue()
127 hash_combine_range(EVI->idx_begin(), EVI->idx_end())); in getHashValue()
/external/llvm/lib/IR/
DInstruction.cpp290 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) in haveSameSpecialState() local
291 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in haveSameSpecialState()
DVerifier.cpp384 void visitExtractValueInst(ExtractValueInst &EVI);
2678 void Verifier::visitExtractValueInst(ExtractValueInst &EVI) { in visitExtractValueInst() argument
2679 Assert(ExtractValueInst::getIndexedType(EVI.getAggregateOperand()->getType(), in visitExtractValueInst()
2680 EVI.getIndices()) == EVI.getType(), in visitExtractValueInst()
2681 "Invalid ExtractValueInst operands!", &EVI); in visitExtractValueInst()
2683 visitInstruction(EVI); in visitExtractValueInst()
DInstructions.cpp1598 ExtractValueInst::ExtractValueInst(const ExtractValueInst &EVI) in ExtractValueInst() argument
1599 : UnaryInstruction(EVI.getType(), ExtractValue, EVI.getOperand(0)), in ExtractValueInst()
1600 Indices(EVI.Indices) { in ExtractValueInst()
1601 SubclassOptionalData = EVI.SubclassOptionalData; in ExtractValueInst()
DAsmWriter.cpp2745 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(&I)) { in printInstruction() local
2748 for (const unsigned *i = EVI->idx_begin(), *e = EVI->idx_end(); i != e; ++i) in printInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1432 const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(U); in selectExtractValue() local
1433 if (!EVI) in selectExtractValue()
1438 EVT RealVT = TLI.getValueType(EVI->getType(), /*AllowUnknown=*/true); in selectExtractValue()
1445 const Value *Op0 = EVI->getOperand(0); in selectExtractValue()
1459 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); in selectExtractValue()
1467 updateValueMap(EVI, ResultReg); in selectExtractValue()
/external/llvm/lib/Analysis/
DConstantFolding.cpp954 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I)) { in ConstantFoldInstruction() local
956 cast<Constant>(EVI->getAggregateOperand()), in ConstantFoldInstruction()
957 EVI->getIndices()); in ConstantFoldInstruction()
DValueTracking.cpp1482 ExtractValueInst *EVI = cast<ExtractValueInst>(I); in computeKnownBits() local
1483 if (EVI->getNumIndices() != 1) break; in computeKnownBits()
1484 if (EVI->getIndices()[0] == 0) { in computeKnownBits()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp792 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(L)) { in cmpOperations() local
793 ArrayRef<unsigned> LIndices = EVI->getIndices(); in cmpOperations()
DGlobalOpt.cpp2390 } else if (auto *EVI = dyn_cast<ExtractValueInst>(CurInst)) { in EvaluateBlock() local
2392 getVal(EVI->getAggregateOperand()), EVI->getIndices()); in EvaluateBlock()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1698 const ExtractValueInst *EVI = cast<ExtractValueInst>(&I); in WriteInstruction() local
1699 Vals.append(EVI->idx_begin(), EVI->idx_end()); in WriteInstruction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3683 if (auto *EVI = dyn_cast<ExtractValueInst>(Op0)) in visitICmpInst() local
3684 if (auto *ACXI = dyn_cast<AtomicCmpXchgInst>(EVI->getAggregateOperand())) in visitICmpInst()
3685 if (EVI->getIndices()[0] == 0 && ACXI->getCompareOperand() == Op1 && in visitICmpInst()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp292 const auto *EVI = cast<ExtractValueInst>(Itr); in foldX86XALUIntrinsic() local
293 if (EVI->getAggregateOperand() != II) in foldX86XALUIntrinsic()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp3316 const auto *EVI = cast<ExtractValueInst>(Itr); in foldXALUIntrinsic() local
3317 if (EVI->getAggregateOperand() != II) in foldXALUIntrinsic()
/external/llvm/include/llvm/IR/
DInstructions.h1900 ExtractValueInst(const ExtractValueInst &EVI);