/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 162 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()
|
D | Analysis.cpp | 310 } 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/ |
D | NVPTXImageOptimizer.cpp | 170 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in cleanupValue() local 171 return cleanupValue(EVI->getAggregateOperand()); in cleanupValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 479 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()
|
D | EarlyCSE.cpp | 125 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/ |
D | Instruction.cpp | 290 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) in haveSameSpecialState() local 291 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in haveSameSpecialState()
|
D | Verifier.cpp | 384 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()
|
D | Instructions.cpp | 1598 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()
|
D | AsmWriter.cpp | 2745 } 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/ |
D | FastISel.cpp | 1432 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/ |
D | ConstantFolding.cpp | 954 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I)) { in ConstantFoldInstruction() local 956 cast<Constant>(EVI->getAggregateOperand()), in ConstantFoldInstruction() 957 EVI->getIndices()); in ConstantFoldInstruction()
|
D | ValueTracking.cpp | 1482 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/ |
D | MergeFunctions.cpp | 792 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(L)) { in cmpOperations() local 793 ArrayRef<unsigned> LIndices = EVI->getIndices(); in cmpOperations()
|
D | GlobalOpt.cpp | 2390 } else if (auto *EVI = dyn_cast<ExtractValueInst>(CurInst)) { in EvaluateBlock() local 2392 getVal(EVI->getAggregateOperand()), EVI->getIndices()); in EvaluateBlock()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1698 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/ |
D | InstCombineCompares.cpp | 3683 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/ |
D | X86FastISel.cpp | 292 const auto *EVI = cast<ExtractValueInst>(Itr); in foldX86XALUIntrinsic() local 293 if (EVI->getAggregateOperand() != II) in foldX86XALUIntrinsic()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 3316 const auto *EVI = cast<ExtractValueInst>(Itr); in foldXALUIntrinsic() local 3317 if (EVI->getAggregateOperand() != II) in foldXALUIntrinsic()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 1900 ExtractValueInst(const ExtractValueInst &EVI);
|