Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp96 InsertValueInst *SelIVI = dyn_cast<InsertValueInst>(V); in GetExceptionObject()
98 InsertValueInst *ExcIVI = nullptr; in GetExceptionObject()
103 ExcIVI = dyn_cast<InsertValueInst>(SelIVI->getOperand(0)); in GetExceptionObject()
H A DAnalysis.cpp379 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(V)) { in getNoopInput()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h37 class InsertValueInst; variable
135 bool vectorizeInsertValueInst(InsertValueInst *IVI, BasicBlock *BB,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2575 class InsertValueInst : public Instruction {
2578 InsertValueInst(const InsertValueInst &IVI);
2584 inline InsertValueInst(Value *Agg, Value *Val,
2588 inline InsertValueInst(Value *Agg, Value *Val,
2594 InsertValueInst(Value *Agg, Value *Val, unsigned Idx,
2607 InsertValueInst *cloneImpl() const;
2614 static InsertValueInst *Create(Value *Agg, Value *Val,
2681 struct OperandTraits<InsertValueInst> :
2682 public FixedNumOperandTraits<InsertValueInst, 2> {
2685 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
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp33 V = InsertValueInst::Create(V, Op, Idx, "", InsertPt); in expandUser()
H A DInstruction.cpp732 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) in hasSameSpecialState()
733 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in hasSameSpecialState()
H A DInstructions.cpp2721 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init()
2740 InsertValueInst::InsertValueInst(const InsertValueInst &IVI) in InsertValueInst() function in InsertValueInst
2742 OperandTraits<InsertValueInst>::op_begin(this), 2), in InsertValueInst()
4801 InsertValueInst *InsertValueInst::cloneImpl() const { in cloneImpl()
4802 return new InsertValueInst(*this); in cloneImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp332 auto *FirstIVI = cast<InsertValueInst>(PN.getIncomingValue(0)); in foldPHIArgInsertValueInstructionIntoPHI()
337 auto *I = dyn_cast<InsertValueInst>(V); in foldPHIArgInsertValueInstructionIntoPHI()
354 cast<InsertValueInst>(std::get<1>(Incoming))->getOperand(OpIdx), in foldPHIArgInsertValueInstructionIntoPHI()
360 auto *NewIVI = InsertValueInst::Create(NewOperands[0], NewOperands[1], in foldPHIArgInsertValueInstructionIntoPHI()
876 if (isa<InsertValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
H A DInstCombineInternal.h171 foldAggregateConstructionIntoAggregateReuse(InsertValueInst &OrigIVI);
172 Instruction *visitInsertValueInst(InsertValueInst &IV);
H A DInstCombineVectorOps.cpp862 InsertValueInst &OrigIVI) { in foldAggregateConstructionIntoAggregateReuse()
903 for (InsertValueInst *CurrIVI = &OrigIVI; in foldAggregateConstructionIntoAggregateReuse()
905 CurrIVI = dyn_cast<InsertValueInst>(CurrIVI->getAggregateOperand()), in foldAggregateConstructionIntoAggregateReuse()
1141 Instruction *InstCombinerImpl::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
1158 auto UserInsInst = dyn_cast<InsertValueInst>(U); in visitInsertValueInst()
H A DInstructionCombining.cpp3487 if (InsertValueInst *IV = dyn_cast<InsertValueInst>(Agg)) { in visitExtractValueInst()
3523 return InsertValueInst::Create(NewEV, IV->getInsertedValueOperand(), in visitExtractValueInst()
H A DInstCombineLoadStoreAlloca.cpp1121 while (auto *IV = dyn_cast<InsertValueInst>(V)) { in likeBitCastFromVector()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp94 Instruction *visitInsertValueInst(InsertValueInst &I);
116 return isa<StoreInst>(I) || isa<LoadInst>(I) || isa<InsertValueInst>(I) || in isMemInstrToReplace()
414 Instruction *SPIRVEmitIntrinsics::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp417 if (const InsertValueInst *IV = dyn_cast<InsertValueInst>(V)) { in surveyUse()
418 if (U->getOperandNo() != InsertValueInst::getAggregateOperandIndex() && in surveyUse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h168 void visitInsertValueInst(InsertValueInst &I);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp693 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(L)) { in cmpOperations()
695 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
H A DSCCPSolver.cpp633 void visitInsertValueInst(InsertValueInst &IVI);
1325 void SCCPInstVisitor::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst()
1910 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp284 if (isa<const InsertValueInst>(Instr) && OpIdx > 1) in shouldConvertUse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp150 isa<ExtractValueInst>(Inst) || isa<InsertValueInst>(Inst) || in canHandle()
306 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst)) in getHashValueImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp304 return InsertValueInst::Create(Srcs[0], Srcs[1], {Idx}, "I", Inst); in insertValueDescriptor()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h579 void visitInsertValue(const InsertValueInst &I);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp482 bool visitInsertValue(InsertValueInst &I);
2210 bool CallAnalyzer::visitInsertValue(InsertValueInst &I) { in visitInsertValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp319 const auto *IV = cast<InsertValueInst>(InsertInst); in getInsertIndex()
15338 auto *IV = cast<InsertValueInst>(InsertInst); in getAggregateSize()
15372 if (isa<InsertElementInst, InsertValueInst>(InsertedOperand)) { in findBuildAggregate_rec()
15382 isa<InsertValueInst, InsertElementInst>(LastInsertInst) && in findBuildAggregate_rec()
15406 isa<InsertValueInst>(LastInsertInst)) && in findBuildAggregate()
15590 if (!isa<CmpInst, InsertElementInst, InsertValueInst>(FutureSeed)) in vectorizeHorReduction()
15654 bool SLPVectorizerPass::vectorizeInsertValueInst(InsertValueInst *IVI, in vectorizeInsertValueInst()
15900 return isa<InsertElementInst, InsertValueInst>(I); in vectorizeInserts()
15915 if (auto *LastInsertValue = dyn_cast<InsertValueInst>(I)) { in vectorizeInserts()
16103 return isa<InsertElementInst, InsertValueInst>(I) && in vectorizeChainsInBlock()
[all …]

12