Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/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.cpp342 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(V)) { in getNoopInput()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h38 class InsertValueInst; variable
134 bool vectorizeInsertValueInst(InsertValueInst *IVI, BasicBlock *BB,
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DContext.cpp111 auto *LLVMIns = cast<llvm::InsertValueInst>(LLVMV); in getOrCreateValueInternal()
113 std::unique_ptr<InsertValueInst>(new InsertValueInst(LLVMIns, *this)); in getOrCreateValueInternal()
504 InsertValueInst *Context::createInsertValueInst(llvm::InsertValueInst *IVI) { in createInsertValueInst()
506 std::unique_ptr<InsertValueInst>(new InsertValueInst(IVI, *this)); in createInsertValueInst()
507 return cast<InsertValueInst>(registerValue(std::move(NewPtr))); in createInsertValueInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DContext.h179 LLVM_ABI InsertValueInst *createInsertValueInst(llvm::InsertValueInst *IVI);
180 friend InsertValueInst; // For createInsertValueInst()
H A DInstruction.h70 friend class InsertValueInst; // For getTopmostLLVMInstruction(). variable
961 class InsertValueInst
962 : public SingleLLVMInstructionImpl<llvm::InsertValueInst> {
964 InsertValueInst(llvm::InsertValueInst *IVI, Context &Ctx) in InsertValueInst() function
978 using idx_iterator = llvm::InsertValueInst::idx_iterator;
980 return cast<llvm::InsertValueInst>(Val)->idx_begin(); in idx_begin()
983 return cast<llvm::InsertValueInst>(Val)->idx_end(); in idx_end()
986 return cast<llvm::InsertValueInst>(Val)->indices(); in indices()
996 return llvm::InsertValueInst::getAggregateOperandIndex(); in getAggregateOperandIndex()
1006 return llvm::InsertValueInst::getInsertedValueOperandIndex(); in getInsertedValueOperandIndex()
[all …]
H A DValues.def71 DEF_INSTR(InsertValue, OP(InsertValue), InsertValueInst)
H A DValue.h119 friend class InsertValueInst; // For getting `Val`. variable
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp35 V = InsertValueInst::Create(V, Op, Idx, "", InsertPt); in expandUser()
H A DInstruction.cpp896 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) in hasSameSpecialState()
897 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in hasSameSpecialState()
H A DInstructions.cpp2508 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init()
2527 InsertValueInst::InsertValueInst(const InsertValueInst &IVI) in InsertValueInst() function in InsertValueInst
4347 InsertValueInst *InsertValueInst::cloneImpl() const { in cloneImpl()
4348 return new InsertValueInst(*this); in cloneImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2523 class InsertValueInst : public Instruction {
2528 InsertValueInst(const InsertValueInst &IVI);
2534 inline InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs,
2539 InsertValueInst(Value *Agg, Value *Val, unsigned Idx,
2550 LLVM_ABI InsertValueInst *cloneImpl() const;
2557 static InsertValueInst *Create(Value *Agg, Value *Val,
2561 return new InsertValueInst(Agg, Val, Idxs, NameStr, InsertBefore);
2617 struct OperandTraits<InsertValueInst> :
2618 public FixedNumOperandTraits<InsertValueInst, 2> {
2621 InsertValueInst::InsertValueInst(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
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp364 auto *FirstIVI = cast<InsertValueInst>(PN.getIncomingValue(0)); in foldPHIArgInsertValueInstructionIntoPHI()
369 auto *I = dyn_cast<InsertValueInst>(V); in foldPHIArgInsertValueInstructionIntoPHI()
386 cast<InsertValueInst>(std::get<1>(Incoming))->getOperand(OpIdx), in foldPHIArgInsertValueInstructionIntoPHI()
392 auto *NewIVI = InsertValueInst::Create(NewOperands[0], NewOperands[1], in foldPHIArgInsertValueInstructionIntoPHI()
899 if (isa<InsertValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
H A DInstCombineInternal.h173 foldAggregateConstructionIntoAggregateReuse(InsertValueInst &OrigIVI);
174 Instruction *visitInsertValueInst(InsertValueInst &IV);
H A DInstCombineVectorOps.cpp881 InsertValueInst &OrigIVI) { in foldAggregateConstructionIntoAggregateReuse()
922 for (InsertValueInst *CurrIVI = &OrigIVI; in foldAggregateConstructionIntoAggregateReuse()
924 CurrIVI = dyn_cast<InsertValueInst>(CurrIVI->getAggregateOperand()), in foldAggregateConstructionIntoAggregateReuse()
1226 Instruction *InstCombinerImpl::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
1243 auto UserInsInst = dyn_cast<InsertValueInst>(U); in visitInsertValueInst()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h168 void visitInsertValueInst(InsertValueInst &I);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp727 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(L)) { in cmpOperations()
729 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
H A DSCCPSolver.cpp698 void visitInsertValueInst(InsertValueInst &IVI);
1463 void SCCPInstVisitor::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst()
2074 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndef()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp280 if (isa<const InsertValueInst>(Instr) && OpIdx > 1) in shouldConvertUse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp150 isa<ExtractValueInst>(Inst) || isa<InsertValueInst>(Inst) || in canHandle()
305 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst)) in getHashValueImpl()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp308 return InsertValueInst::Create(Srcs[0], Srcs[1], {Idx}, "I", InsertPt); in insertValueDescriptor()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h587 void visitInsertValue(const InsertValueInst &I);

123