Home
last modified time | relevance | path

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

1234

/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()
692 ExtractValueInst::getIndexedType(RetSubTypes.back(), RetPath.back()); in returnTypeIsEligibleForTailCall()
H A DDwarfEHPrepare.cpp113 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", in GetExceptionObject()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp168 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in cleanupValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h37 class ExtractValueInst; variable
289 LLVM_ABI OffsetSpan visitExtractValueInst(ExtractValueInst &I);
371 LLVM_ABI SizeOffsetValue visitExtractValueInst(ExtractValueInst &I);
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DContext.cpp105 auto *LLVMIns = cast<llvm::ExtractValueInst>(LLVMV); in getOrCreateValueInternal()
106 It->second = std::unique_ptr<ExtractValueInst>( in getOrCreateValueInternal()
107 new ExtractValueInst(LLVMIns, *this)); in getOrCreateValueInternal()
498 ExtractValueInst *Context::createExtractValueInst(llvm::ExtractValueInst *EVI) { in createExtractValueInst()
500 std::unique_ptr<ExtractValueInst>(new ExtractValueInst(EVI, *this)); in createExtractValueInst()
501 return cast<ExtractValueInst>(registerValue(std::move(NewPtr))); in createExtractValueInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DContext.h176 LLVM_ABI ExtractValueInst *
177 createExtractValueInst(llvm::ExtractValueInst *IVI);
178 friend ExtractValueInst; // For createExtractValueInst()
H A DInstruction.h69 friend class ExtractValueInst; // For getTopmostLLVMInstruction(). variable
1107 class ExtractValueInst : public UnaryInstruction {
1109 ExtractValueInst(llvm::ExtractValueInst *EVI, Context &Ctx) in ExtractValueInst() function
1129 using idx_iterator = llvm::ExtractValueInst::idx_iterator;
1132 return cast<llvm::ExtractValueInst>(Val)->idx_begin(); in idx_begin()
1135 return cast<llvm::ExtractValueInst>(Val)->idx_end(); in idx_end()
1138 return cast<llvm::ExtractValueInst>(Val)->indices(); in indices()
1148 return llvm::ExtractValueInst::getAggregateOperandIndex(); in getAggregateOperandIndex()
1152 return cast<llvm::ExtractValueInst>(Val)->getIndices(); in getIndices()
1156 return cast<llvm::ExtractValueInst>(Val)->getNumIndices(); in getNumIndices()
[all …]
H A DValues.def70 DEF_INSTR(ExtractValue, OP(ExtractValue), ExtractValueInst)
H A DValue.h118 friend class ExtractValueInst; // For getting `Val`. variable
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DOverflowInstAnalysis.cpp34 auto *Extract = dyn_cast<ExtractValueInst>(V); in isCheckForZeroAndMulWithOverflow()
H A DTypeMetadataUtils.cpp127 if (auto EVI = dyn_cast<ExtractValueInst>(CIU)) { in findDevirtualizableCallsForTypeCheckedLoad()
H A DLint.cpp700 } else if (ExtractValueInst *Ex = dyn_cast<ExtractValueInst>(V)) { in findValueImpl()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp249 return ExtractValueInst::Create(Srcs[0], {Idx}, "E", InsertPt); in extractValueDescriptor()
283 Type *Indexed = ExtractValueInst::getIndexedType(Cur[0]->getType(), in validInsertValueIndex()
294 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
196 Expression createExtractvalueExpr(ExtractValueInst *EI);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp404 auto *FirstEVI = cast<ExtractValueInst>(PN.getIncomingValue(0)); in foldPHIArgExtractValueInstructionIntoPHI()
409 auto *I = dyn_cast<ExtractValueInst>(V); in foldPHIArgExtractValueInstructionIntoPHI()
424 cast<ExtractValueInst>(std::get<1>(Incoming))->getAggregateOperand(), in foldPHIArgExtractValueInstructionIntoPHI()
429 auto *NewEVI = ExtractValueInst::Create(NewAggregateOperand, in foldPHIArgExtractValueInstructionIntoPHI()
901 if (isa<ExtractValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h167 void visitExtractValueInst(ExtractValueInst &I);
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpLowering.cpp95 if (auto *EVI = dyn_cast<ExtractValueInst>(U.getUser())) in replaceNamedStructUses()
340 if (auto *EVI = dyn_cast<ExtractValueInst>(U.getUser())) { in replaceResRetUses()
369 isa<ExtractValueInst>(*OldResult->user_begin()) && in replaceResRetUses()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp738 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(L)) { in cmpOperations()
740 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices(); in cmpOperations()
H A DSCCPSolver.cpp675 void handleExtractOfWithOverflow(ExtractValueInst &EVI,
697 void visitExtractValueInst(ExtractValueInst &EVI);
1408 void SCCPInstVisitor::handleExtractOfWithOverflow(ExtractValueInst &EVI, in handleExtractOfWithOverflow()
1435 void SCCPInstVisitor::visitExtractValueInst(ExtractValueInst &EVI) { in visitExtractValueInst()
2074 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndef()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstVisitor.h194 RetTy visitExtractValueInst(ExtractValueInst &I){ DELEGATE(UnaryInstruction);} in visitExtractValueInst()
H A DInstructions.h2435 class ExtractValueInst : public UnaryInstruction {
2438 ExtractValueInst(const ExtractValueInst &EVI);
2444 inline ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
2453 LLVM_ABI ExtractValueInst *cloneImpl() const;
2456 static ExtractValueInst *Create(Value *Agg, ArrayRef<unsigned> Idxs,
2460 ExtractValueInst(Agg, Idxs, NameStr, InsertBefore);
2508 ExtractValueInst::ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp598 if (auto *Extr = dyn_cast<ExtractValueInst>(TileDef)) { in createTileStore()
629 } else if (auto *Extr = dyn_cast<ExtractValueInst>(V)) { in replaceWithTileLoad()
1114 auto *II = cast<ExtractValueInst>(Tile); in combineCastStore()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp898 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) in hasSameSpecialState()
899 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in hasSameSpecialState()
H A DInstructions.cpp2518 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
2539 void ExtractValueInst::init(ArrayRef<unsigned> Idxs, const Twine &Name) { in init()
2550 ExtractValueInst::ExtractValueInst(const ExtractValueInst &EVI) in ExtractValueInst() function in ExtractValueInst
2563 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType()
4343 ExtractValueInst *ExtractValueInst::cloneImpl() const { in cloneImpl()
4344 return new ExtractValueInst(*this); in cloneImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp567 if (ExtractValueInst *Ext = dyn_cast<ExtractValueInst>(UU.getUser())) { in surveyFunction()

1234