Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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.cpp330 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(V)) { in getNoopInput()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h38 class InsertValueInst; variable
140 bool vectorizeInsertValueInst(InsertValueInst *IVI, BasicBlock *BB,
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h2566 class InsertValueInst : public Instruction {
2569 InsertValueInst(const InsertValueInst &IVI);
2575 inline InsertValueInst(Value *Agg, Value *Val,
2579 inline InsertValueInst(Value *Agg, Value *Val,
2585 InsertValueInst(Value *Agg, Value *Val, unsigned Idx,
2588 InsertValueInst(Value *Agg, Value *Val, unsigned Idx, const Twine &NameStr,
2598 InsertValueInst *cloneImpl() const;
2605 static InsertValueInst *Create(Value *Agg, Value *Val,
2609 return new InsertValueInst(Agg, Val, Idxs, NameStr, InsertBefore);
2612 static InsertValueInst *Create(Value *Agg, Value *Val,
[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
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp85 Instruction *visitInsertValueInst(InsertValueInst &I);
107 return isa<StoreInst>(I) || isa<LoadInst>(I) || isa<InsertValueInst>(I) || in isMemInstrToReplace()
256 Instruction *SPIRVEmitIntrinsics::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
/openbsd-src/gnu/llvm/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()
875 if (isa<InsertValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
H A DInstCombineInternal.h167 foldAggregateConstructionIntoAggregateReuse(InsertValueInst &OrigIVI);
168 Instruction *visitInsertValueInst(InsertValueInst &IV);
H A DInstCombineVectorOps.cpp852 InsertValueInst &OrigIVI) { in foldAggregateConstructionIntoAggregateReuse()
893 for (InsertValueInst *CurrIVI = &OrigIVI; in foldAggregateConstructionIntoAggregateReuse()
895 CurrIVI = dyn_cast<InsertValueInst>(CurrIVI->getAggregateOperand()), in foldAggregateConstructionIntoAggregateReuse()
1131 Instruction *InstCombinerImpl::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
1143 auto UserInsInst = dyn_cast<InsertValueInst>(U); in visitInsertValueInst()
H A DInstructionCombining.cpp3359 if (InsertValueInst *IV = dyn_cast<InsertValueInst>(Agg)) { in visitExtractValueInst()
3395 return InsertValueInst::Create(NewEV, IV->getInsertedValueOperand(), in visitExtractValueInst()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstruction.cpp521 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) in haveSameSpecialState()
522 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in haveSameSpecialState()
H A DInstructions.cpp2719 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init()
2738 InsertValueInst::InsertValueInst(const InsertValueInst &IVI) in InsertValueInst() function in InsertValueInst
2740 OperandTraits<InsertValueInst>::op_begin(this), 2), in InsertValueInst()
4817 InsertValueInst *InsertValueInst::cloneImpl() const { in cloneImpl()
4818 return new InsertValueInst(*this); in cloneImpl()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h168 void visitInsertValueInst(InsertValueInst &I);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp622 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(L)) { in cmpOperations()
624 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
H A DSCCPSolver.cpp526 void visitInsertValueInst(InsertValueInst &IVI);
1171 void SCCPInstVisitor::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst()
1747 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndefsIn()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp150 isa<InsertValueInst>(Inst) || isa<FreezeInst>(Inst); in canHandle()
292 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst)) in getHashValueImpl()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp284 if (isa<const InsertValueInst>(Instr) && OpIdx > 1) in shouldConvertUse()
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DOperations.cpp281 return InsertValueInst::Create(Srcs[0], Srcs[1], {Idx}, "I", Inst); in insertValueDescriptor()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h584 void visitInsertValue(const InsertValueInst &I);
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp471 bool visitInsertValue(InsertValueInst &I);
2122 bool CallAnalyzer::visitInsertValue(InsertValueInst &I) { in visitInsertValue()
H A DValueTracking.cpp4128 InsertValueInst* Del = cast<InsertValueInst>(PrevTo); in BuildSubAggregate()
4152 return InsertValueInst::Create(To, V, ArrayRef(Idxs).slice(IdxSkip), "tmp", in BuildSubAggregate()
4204 if (InsertValueInst *I = dyn_cast<InsertValueInst>(V)) { in FindInsertedValue()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp739 if (isa<InsertValueInst>(User) || isa<InsertElementInst>(User)) in collectUsesWithPtrTypes()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp306 const auto *IV = cast<InsertValueInst>(InsertInst); in getInsertIndex()
12989 auto *IV = cast<InsertValueInst>(InsertInst); in getAggregateSize()
13023 if (isa<InsertElementInst, InsertValueInst>(InsertedOperand)) { in findBuildAggregate_rec()
13033 isa<InsertValueInst, InsertElementInst>(LastInsertInst) && in findBuildAggregate_rec()
13057 isa<InsertValueInst>(LastInsertInst)) && in findBuildAggregate()
13229 if (!isa<CmpInst, InsertElementInst, InsertValueInst>(Inst)) in vectorizeHorReduction()
13242 if (!isa<PHINode, CmpInst, InsertElementInst, InsertValueInst>(I) && in vectorizeHorReduction()
13267 bool SLPVectorizerPass::vectorizeInsertValueInst(InsertValueInst *IVI, in vectorizeInsertValueInst()
13445 if (auto *LastInsertValue = dyn_cast<InsertValueInst>(I)) { in vectorizeSimpleInstructions()
13769 if (isa<CmpInst, InsertElementInst, InsertValueInst>(it)) in vectorizeChainsInBlock()

12