Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/CodeGen/
HDSjLjEHPrepare.cpp161 ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Val); in substituteLPadValues() local
162 if (!EVI) in substituteLPadValues()
164 if (EVI->getNumIndices() != 1) in substituteLPadValues()
166 if (*EVI->idx_begin() == 0) in substituteLPadValues()
167 EVI->replaceAllUsesWith(ExnVal); in substituteLPadValues()
168 else if (*EVI->idx_begin() == 1) in substituteLPadValues()
169 EVI->replaceAllUsesWith(SelVal); in substituteLPadValues()
170 if (EVI->getNumUses() == 0) in substituteLPadValues()
171 EVI->eraseFromParent(); in substituteLPadValues()
HDAnalysis.cpp311 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in getNoopInput() local
315 ArrayRef<unsigned> ExtractLoc = EVI->getIndices(); in getNoopInput()
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXImageOptimizer.cpp170 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in cleanupValue() local
171 return cleanupValue(EVI->getAggregateOperand()); in cleanupValue()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDSCCP.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()
HDEarlyCSE.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()
/NextBSD/contrib/llvm/lib/IR/
HDInstruction.cpp295 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) in haveSameSpecialState() local
296 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in haveSameSpecialState()
HDVerifier.cpp380 void visitExtractValueInst(ExtractValueInst &EVI);
2763 void Verifier::visitExtractValueInst(ExtractValueInst &EVI) { in visitExtractValueInst() argument
2764 Assert(ExtractValueInst::getIndexedType(EVI.getAggregateOperand()->getType(), in visitExtractValueInst()
2765 EVI.getIndices()) == EVI.getType(), in visitExtractValueInst()
2766 "Invalid ExtractValueInst operands!", &EVI); in visitExtractValueInst()
2768 visitInstruction(EVI); in visitExtractValueInst()
HDInstructions.cpp1553 ExtractValueInst::ExtractValueInst(const ExtractValueInst &EVI) in ExtractValueInst() argument
1554 : UnaryInstruction(EVI.getType(), ExtractValue, EVI.getOperand(0)), in ExtractValueInst()
1555 Indices(EVI.Indices) { in ExtractValueInst()
1556 SubclassOptionalData = EVI.SubclassOptionalData; in ExtractValueInst()
HDAsmWriter.cpp2824 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(&I)) { in printInstruction() local
2827 for (const unsigned *i = EVI->idx_begin(), *e = EVI->idx_end(); i != e; ++i) in printInstruction()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDFastISel.cpp1453 const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(U); in selectExtractValue() local
1454 if (!EVI) in selectExtractValue()
1459 EVT RealVT = TLI.getValueType(DL, EVI->getType(), /*AllowUnknown=*/true); in selectExtractValue()
1466 const Value *Op0 = EVI->getOperand(0); in selectExtractValue()
1480 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); in selectExtractValue()
1488 updateValueMap(EVI, ResultReg); in selectExtractValue()
/NextBSD/contrib/llvm/lib/Analysis/
HDConstantFolding.cpp953 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I)) { in ConstantFoldInstruction() local
955 cast<Constant>(EVI->getAggregateOperand()), in ConstantFoldInstruction()
956 EVI->getIndices()); in ConstantFoldInstruction()
HDValueTracking.cpp1368 ExtractValueInst *EVI = cast<ExtractValueInst>(I); in computeKnownBitsFromOperator() local
1369 if (EVI->getNumIndices() != 1) break; in computeKnownBitsFromOperator()
1370 if (EVI->getIndices()[0] == 0) { in computeKnownBitsFromOperator()
HDInstructionSimplify.cpp4001 auto *EVI = cast<ExtractValueInst>(I); in SimplifyInstruction() local
4002 Result = SimplifyExtractValueInst(EVI->getAggregateOperand(), in SimplifyInstruction()
4003 EVI->getIndices(), DL, TLI, DT, AC, I); in SimplifyInstruction()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDMergeFunctions.cpp811 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(L)) { in cmpOperations() local
812 ArrayRef<unsigned> LIndices = EVI->getIndices(); in cmpOperations()
HDGlobalOpt.cpp2386 } else if (auto *EVI = dyn_cast<ExtractValueInst>(CurInst)) { in EvaluateBlock() local
2388 getVal(EVI->getAggregateOperand()), EVI->getIndices()); in EvaluateBlock()
/NextBSD/contrib/llvm/lib/Bitcode/Writer/
HDBitcodeWriter.cpp1728 const ExtractValueInst *EVI = cast<ExtractValueInst>(&I); in WriteInstruction() local
1729 Vals.append(EVI->idx_begin(), EVI->idx_end()); in WriteInstruction()
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCompares.cpp3667 if (auto *EVI = dyn_cast<ExtractValueInst>(Op0)) in visitICmpInst() local
3668 if (auto *ACXI = dyn_cast<AtomicCmpXchgInst>(EVI->getAggregateOperand())) in visitICmpInst()
3669 if (EVI->getIndices()[0] == 0 && ACXI->getCompareOperand() == Op1 && in visitICmpInst()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86FastISel.cpp310 const auto *EVI = cast<ExtractValueInst>(Itr); in foldX86XALUIntrinsic() local
311 if (EVI->getAggregateOperand() != II) in foldX86XALUIntrinsic()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64FastISel.cpp3330 const auto *EVI = cast<ExtractValueInst>(Itr); in foldXALUIntrinsic() local
3331 if (EVI->getAggregateOperand() != II) in foldXALUIntrinsic()
/NextBSD/contrib/llvm/include/llvm/IR/
HDInstructions.h2050 ExtractValueInst(const ExtractValueInst &EVI);