Home
last modified time | relevance | path

Searched refs:InsertValueInst (Results 1 – 25 of 51) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp95 InsertValueInst *SelIVI = dyn_cast<InsertValueInst>(V); in GetExceptionObject()
97 InsertValueInst *ExcIVI = nullptr; in GetExceptionObject()
102 ExcIVI = dyn_cast<InsertValueInst>(SelIVI->getOperand(0)); in GetExceptionObject()
H A DAnalysis.cpp329 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(V)) { in getNoopInput()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h37 class InsertValueInst; variable
118 bool vectorizeInsertValueInst(InsertValueInst *IVI, BasicBlock *BB,
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h2522 class InsertValueInst : public Instruction {
2525 InsertValueInst(const InsertValueInst &IVI);
2531 inline InsertValueInst(Value *Agg, Value *Val,
2535 inline InsertValueInst(Value *Agg, Value *Val,
2541 InsertValueInst(Value *Agg, Value *Val, unsigned Idx,
2554 InsertValueInst *cloneImpl() const;
2561 static InsertValueInst *Create(Value *Agg, Value *Val,
2628 struct OperandTraits<InsertValueInst> :
2629 public FixedNumOperandTraits<InsertValueInst, 2> {
2632 InsertValueInst::InsertValueInst(Value *Agg,
[all …]
H A DInstVisitor.h195 RetTy visitInsertValueInst(InsertValueInst &I) { DELEGATE(Instruction); } in visitInsertValueInst()
H A DInstruction.def218 HANDLE_OTHER_INST(65, InsertValue, InsertValueInst) // insert into aggregate
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp85 Instruction *visitInsertValueInst(InsertValueInst &I);
106 return isa<StoreInst>(I) || isa<LoadInst>(I) || isa<InsertValueInst>(I) || in isMemInstrToReplace()
254 Instruction *SPIRVEmitIntrinsics::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp325 auto *FirstIVI = cast<InsertValueInst>(PN.getIncomingValue(0)); in foldPHIArgInsertValueInstructionIntoPHI()
330 auto *I = dyn_cast<InsertValueInst>(V); in foldPHIArgInsertValueInstructionIntoPHI()
347 cast<InsertValueInst>(std::get<1>(Incoming))->getOperand(OpIdx), in foldPHIArgInsertValueInstructionIntoPHI()
353 auto *NewIVI = InsertValueInst::Create(NewOperands[0], NewOperands[1], in foldPHIArgInsertValueInstructionIntoPHI()
868 if (isa<InsertValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
H A DInstCombineInternal.h166 foldAggregateConstructionIntoAggregateReuse(InsertValueInst &OrigIVI);
167 Instruction *visitInsertValueInst(InsertValueInst &IV);
H A DInstCombineVectorOps.cpp832 InsertValueInst &OrigIVI) { in foldAggregateConstructionIntoAggregateReuse()
874 for (InsertValueInst *CurrIVI = &OrigIVI; in foldAggregateConstructionIntoAggregateReuse()
876 CurrIVI = dyn_cast<InsertValueInst>(CurrIVI->getAggregateOperand()), in foldAggregateConstructionIntoAggregateReuse()
1111 Instruction *InstCombinerImpl::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
1123 auto UserInsInst = dyn_cast<InsertValueInst>(U); in visitInsertValueInst()
H A DInstructionCombining.cpp3260 if (InsertValueInst *IV = dyn_cast<InsertValueInst>(Agg)) { in visitExtractValueInst()
3296 return InsertValueInst::Create(NewEV, IV->getInsertedValueOperand(), in visitExtractValueInst()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp410 if (const InsertValueInst *IV = dyn_cast<InsertValueInst>(V)) { in surveyUse()
411 if (U->getOperandNo() != InsertValueInst::getAggregateOperandIndex() && in surveyUse()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp471 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) in haveSameSpecialState()
472 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in haveSameSpecialState()
H A DInstructions.cpp2550 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init()
2569 InsertValueInst::InsertValueInst(const InsertValueInst &IVI) in InsertValueInst() function in InsertValueInst
2571 OperandTraits<InsertValueInst>::op_begin(this), 2), in InsertValueInst()
4660 InsertValueInst *InsertValueInst::cloneImpl() const { in cloneImpl()
4661 return new InsertValueInst(*this); in cloneImpl()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h168 void visitInsertValueInst(InsertValueInst &I);
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp613 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(L)) { in cmpOperations()
615 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
H A DSCCPSolver.cpp293 void visitInsertValueInst(InsertValueInst &IVI);
875 void SCCPInstVisitor::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst()
1461 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndefsIn()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp134 isa<InsertValueInst>(Inst) || isa<FreezeInst>(Inst); in canHandle()
276 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst)) in getHashValueImpl()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp284 if (isa<const InsertValueInst>(Instr) && OpIdx > 1) in shouldConvertUse()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DOperations.cpp281 return InsertValueInst::Create(Srcs[0], Srcs[1], {Idx}, "I", Inst); in insertValueDescriptor()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DCFLGraph.h498 void visitInsertValueInst(InsertValueInst &Inst) { in visitInsertValueInst()
H A DInlineCost.cpp441 bool visitInsertValue(InsertValueInst &I);
2072 bool CallAnalyzer::visitInsertValue(InsertValueInst &I) { in visitInsertValue()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h532 void visitInsertValue(const InsertValueInst &I);
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp648 if (isa<InsertValueInst>(User) || isa<InsertElementInst>(User)) in collectUsesWithPtrTypes()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp755 const auto *IV = cast<InsertValueInst>(InsertInst); in getInsertIndex()
11503 auto *IV = cast<InsertValueInst>(InsertInst); in getAggregateSize()
11538 isa<InsertValueInst>(InsertedOperand)) { in findBuildAggregate_rec()
11548 (isa<InsertValueInst>(LastInsertInst) || in findBuildAggregate_rec()
11573 isa<InsertValueInst>(LastInsertInst)) && in findBuildAggregate()
11758 if (!isa<CmpInst, InsertElementInst, InsertValueInst>(Inst)) in tryToVectorizeHorReductionOrInstOperands()
11771 if (!isa<PHINode, CmpInst, InsertElementInst, InsertValueInst>(I) && in tryToVectorizeHorReductionOrInstOperands()
11800 bool SLPVectorizerPass::vectorizeInsertValueInst(InsertValueInst *IVI, in vectorizeInsertValueInst()
11965 if (auto *LastInsertValue = dyn_cast<InsertValueInst>(I)) { in vectorizeSimpleInstructions()
12270 isa<InsertValueInst>(it)) in vectorizeChainsInBlock()

123