Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DAnalysis.cpp344 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in getNoopInput()
449 ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()); in advanceToNextLeafType()
457 DeeperType = ExtractValueInst::getIndexedType(DeeperType, 0); in advanceToNextLeafType()
478 while (Type *FirstInner = ExtractValueInst::getIndexedType(Next, 0)) { in firstRealType()
491 while (ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()) in firstRealType()
509 } while (ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()) in nextRealType()
705 ExtractValueInst::getIndexedType(RetSubTypes.back(), RetPath.back()); in returnTypeIsEligibleForTailCall()
H A DDwarfEHPrepare.cpp113 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", RI); in GetExceptionObject()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h36 class ExtractValueInst; variable
224 SizeOffsetType visitExtractValueInst(ExtractValueInst &I);
298 SizeOffsetEvalType visitExtractValueInst(ExtractValueInst &I);
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp169 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in cleanupValue()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp210 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf()
211 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf()
221 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in insertElse()
222 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in insertElse()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DOverflowInstAnalysis.cpp34 auto *Extract = dyn_cast<ExtractValueInst>(V); in isCheckForZeroAndMulWithOverflow()
H A DTypeMetadataUtils.cpp112 if (auto EVI = dyn_cast<ExtractValueInst>(CIU)) { in findDevirtualizableCallsForTypeCheckedLoad()
H A DLint.cpp677 } else if (ExtractValueInst *Ex = dyn_cast<ExtractValueInst>(V)) { in findValueImpl()
H A DLazyValueInfo.cpp428 ExtractValueInst *EVI, BasicBlock *BB);
621 if (auto *EVI = dyn_cast<ExtractValueInst>(BBI)) in solveBlockValueImpl()
1008 ExtractValueInst *EVI, BasicBlock *BB) { in solveBlockValueExtractValue()
1173 if (auto *EVI = dyn_cast<ExtractValueInst>(Cond)) in getValueFromConditionImpl()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DOperations.cpp222 return ExtractValueInst::Create(Srcs[0], {Idx}, "E", Inst); in extractValueDescriptor()
256 Type *Indexed = ExtractValueInst::getIndexedType(Cur[0]->getType(), in validInsertValueIndex()
267 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DGVN.h40 class ExtractValueInst; variable
180 Expression createExtractvalueExpr(ExtractValueInst *EI);
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp86 Instruction *visitExtractValueInst(ExtractValueInst &I);
107 isa<ExtractValueInst>(I) || isa<AtomicCmpXchgInst>(I); in isMemInstrToReplace()
270 Instruction *SPIRVEmitIntrinsics::visitExtractValueInst(ExtractValueInst &I) { in visitExtractValueInst()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp365 auto *FirstEVI = cast<ExtractValueInst>(PN.getIncomingValue(0)); in foldPHIArgExtractValueInstructionIntoPHI()
370 auto *I = dyn_cast<ExtractValueInst>(V); in foldPHIArgExtractValueInstructionIntoPHI()
385 cast<ExtractValueInst>(std::get<1>(Incoming))->getAggregateOperand(), in foldPHIArgExtractValueInstructionIntoPHI()
390 auto *NewEVI = ExtractValueInst::Create(NewAggregateOperand, in foldPHIArgExtractValueInstructionIntoPHI()
870 if (isa<ExtractValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp3288 ExtractValueInst *ExVI1 = in TEST_F()
3355 ExtractValueInst *ExVI1 = in TEST_F()
3427 ExtractValueInst *ExVI1 = in TEST_F()
3642 ExtractValueInst *ExtVal1 = in TEST_F()
3647 ExtractValueInst *ExtVal2 = in TEST_F()
3668 ExtractValueInst *ExtVal3 = in TEST_F()
3684 ExtractValueInst *ExtVal4 = in TEST_F()
3689 ExtractValueInst *ExtVal5 = in TEST_F()
3715 ExtractValueInst *ExtVal6 = in TEST_F()
3734 ExtractValueInst *ExtVal7 = in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp473 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) in haveSameSpecialState()
474 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in haveSameSpecialState()
H A DInstructions.cpp2560 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
2582 void ExtractValueInst::init(ArrayRef<unsigned> Idxs, const Twine &Name) { in init()
2593 ExtractValueInst::ExtractValueInst(const ExtractValueInst &EVI) in ExtractValueInst() function in ExtractValueInst
2605 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType()
4656 ExtractValueInst *ExtractValueInst::cloneImpl() const { in cloneImpl()
4657 return new ExtractValueInst(*this); in cloneImpl()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h2411 class ExtractValueInst : public UnaryInstruction {
2414 ExtractValueInst(const ExtractValueInst &EVI);
2420 inline ExtractValueInst(Value *Agg,
2424 inline ExtractValueInst(Value *Agg,
2434 ExtractValueInst *cloneImpl() const;
2437 static ExtractValueInst *Create(Value *Agg,
2442 ExtractValueInst(Agg, Idxs, NameStr, InsertBefore);
2445 static ExtractValueInst *Create(Value *Agg,
2449 return new ExtractValueInst(Agg, Idxs, NameStr, InsertAtEnd);
2497 ExtractValueInst::ExtractValueInst(Value *Agg,
[all …]
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
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h167 void visitExtractValueInst(ExtractValueInst &I);
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp624 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(L)) { in cmpOperations()
626 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices(); in cmpOperations()
H A DSCCPSolver.cpp292 void visitExtractValueInst(ExtractValueInst &EVI);
849 void SCCPInstVisitor::visitExtractValueInst(ExtractValueInst &EVI) { in visitExtractValueInst()
1461 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndefsIn()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp571 if (ExtractValueInst *Ext = dyn_cast<ExtractValueInst>(UU.getUser())) { in surveyFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp133 isa<ShuffleVectorInst>(Inst) || isa<ExtractValueInst>(Inst) || in canHandle()
272 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Inst)) in getHashValueImpl()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp280 if (isa<const ExtractValueInst>(Instr) && OpIdx > 0) in shouldConvertUse()

123