Home
last modified time | relevance | path

Searched refs:ExtractValueInst (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp357 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in getNoopInput()
462 ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()); in advanceToNextLeafType()
470 DeeperType = ExtractValueInst::getIndexedType(DeeperType, 0); in advanceToNextLeafType()
491 while (Type *FirstInner = ExtractValueInst::getIndexedType(Next, 0)) { in firstRealType()
504 while (ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()) in firstRealType()
522 } while (ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()) in nextRealType()
691 ExtractValueInst::getIndexedType(RetSubTypes.back(), RetPath.back()); in returnTypeIsEligibleForTailCall()
H A DDwarfEHPrepare.cpp114 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", in GetExceptionObject()
H A DSjLjEHPrepare.cpp164 auto *EVI = dyn_cast<ExtractValueInst>(Val); in substituteLPadValues()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp169 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in cleanupValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h37 class ExtractValueInst; variable
254 SizeOffsetAPInt visitExtractValueInst(ExtractValueInst &I);
333 SizeOffsetValue visitExtractValueInst(ExtractValueInst &I);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DOverflowInstAnalysis.cpp34 auto *Extract = dyn_cast<ExtractValueInst>(V); in isCheckForZeroAndMulWithOverflow()
H A DTypeMetadataUtils.cpp122 if (auto EVI = dyn_cast<ExtractValueInst>(CIU)) { in findDevirtualizableCallsForTypeCheckedLoad()
H A DLint.cpp666 } else if (ExtractValueInst *Ex = dyn_cast<ExtractValueInst>(V)) { in findValueImpl()
H A DLazyValueInfo.cpp433 solveBlockValueExtractValue(ExtractValueInst *EVI, BasicBlock *BB);
665 if (auto *EVI = dyn_cast<ExtractValueInst>(BBI)) in solveBlockValueImpl()
1065 LazyValueInfoImpl::solveBlockValueExtractValue(ExtractValueInst *EVI, in solveBlockValueExtractValue()
1275 if (auto *EVI = dyn_cast<ExtractValueInst>(Cond)) in getValueFromCondition()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp245 return ExtractValueInst::Create(Srcs[0], {Idx}, "E", Inst); in extractValueDescriptor()
279 Type *Indexed = ExtractValueInst::getIndexedType(Cur[0]->getType(), in validInsertValueIndex()
290 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVN.h41 class ExtractValueInst; variable
181 Expression createExtractvalueExpr(ExtractValueInst *EI);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp372 auto *FirstEVI = cast<ExtractValueInst>(PN.getIncomingValue(0)); in foldPHIArgExtractValueInstructionIntoPHI()
377 auto *I = dyn_cast<ExtractValueInst>(V); in foldPHIArgExtractValueInstructionIntoPHI()
392 cast<ExtractValueInst>(std::get<1>(Incoming))->getAggregateOperand(), in foldPHIArgExtractValueInstructionIntoPHI()
397 auto *NewEVI = ExtractValueInst::Create(NewAggregateOperand, in foldPHIArgExtractValueInstructionIntoPHI()
878 if (isa<ExtractValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
H A DInstCombineInternal.h178 Instruction *visitExtractValueInst(ExtractValueInst &EV);
442 Instruction *foldExtractOfOverflowIntrinsic(ExtractValueInst &EV);
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h167 void visitExtractValueInst(ExtractValueInst &I);
H A DExecution.cpp1890 void Interpreter::visitExtractValueInst(ExtractValueInst &I) { in visitExtractValueInst()
1896 ExtractValueInst::idx_iterator IdxBegin = I.idx_begin(); in visitExtractValueInst()
1905 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitExtractValueInst()
1942 ExtractValueInst::idx_iterator IdxBegin = I.idx_begin(); in visitInsertValueInst()
1952 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitInsertValueInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp724 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(L)) { in cmpOperations()
726 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices(); in cmpOperations()
H A DSCCPSolver.cpp634 void handleExtractOfWithOverflow(ExtractValueInst &EVI,
656 void visitExtractValueInst(ExtractValueInst &EVI);
1308 void SCCPInstVisitor::handleExtractOfWithOverflow(ExtractValueInst &EVI, in handleExtractOfWithOverflow()
1335 void SCCPInstVisitor::visitExtractValueInst(ExtractValueInst &EVI) { in visitExtractValueInst()
1966 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndef()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp826 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) in hasSameSpecialState()
827 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in hasSameSpecialState()
H A DInstructions.cpp2453 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
2475 void ExtractValueInst::init(ArrayRef<unsigned> Idxs, const Twine &Name) { in init()
2486 ExtractValueInst::ExtractValueInst(const ExtractValueInst &EVI) in ExtractValueInst() function in ExtractValueInst
2498 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType()
4211 ExtractValueInst *ExtractValueInst::cloneImpl() const { in cloneImpl()
4212 return new ExtractValueInst(*this); in cloneImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2302 class ExtractValueInst : public UnaryInstruction {
2305 ExtractValueInst(const ExtractValueInst &EVI);
2311 inline ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
2320 ExtractValueInst *cloneImpl() const;
2323 static ExtractValueInst *Create(Value *Agg, ArrayRef<unsigned> Idxs,
2327 ExtractValueInst(Agg, Idxs, NameStr, InsertBefore);
2375 ExtractValueInst::ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
H A DInstVisitor.h194 RetTy visitExtractValueInst(ExtractValueInst &I){ DELEGATE(UnaryInstruction);} in visitExtractValueInst()
H A DInstruction.def217 HANDLE_OTHER_INST(64, ExtractValue, ExtractValueInst)// extract from aggregate
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp584 if (ExtractValueInst *Ext = dyn_cast<ExtractValueInst>(UU.getUser())) { in surveyFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp280 if (isa<const ExtractValueInst>(Instr) && OpIdx > 0) in shouldConvertUse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp150 isa<ExtractValueInst>(Inst) || isa<InsertValueInst>(Inst) || in canHandle()
302 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Inst)) in getHashValueImpl()

123