Home
last modified time | relevance | path

Searched refs:IVI (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp496 void visitInsertValueInst(InsertValueInst &IVI);
808 void SCCPSolver::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst() argument
809 StructType *STy = dyn_cast<StructType>(IVI.getType()); in visitInsertValueInst()
811 return markOverdefined(&IVI); in visitInsertValueInst()
815 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
816 return markAnythingOverdefined(&IVI); in visitInsertValueInst()
818 Value *Aggr = IVI.getAggregateOperand(); in visitInsertValueInst()
819 unsigned Idx = *IVI.idx_begin(); in visitInsertValueInst()
826 mergeInValue(getStructValueState(&IVI, i), &IVI, EltVal); in visitInsertValueInst()
830 Value *Val = IVI.getInsertedValueOperand(); in visitInsertValueInst()
[all …]
DEarlyCSE.cpp122 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst)) in getHashValue() local
123 return hash_combine(IVI->getOpcode(), IVI->getOperand(0), in getHashValue()
124 IVI->getOperand(1), in getHashValue()
125 hash_combine_range(IVI->idx_begin(), IVI->idx_end())); in getHashValue()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSCCP.cpp517 void visitInsertValueInst(InsertValueInst &IVI);
840 void SCCPSolver::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst() argument
841 StructType *STy = dyn_cast<StructType>(IVI.getType()); in visitInsertValueInst()
843 return markOverdefined(&IVI); in visitInsertValueInst()
847 if (IVI.getNumIndices() != 1) in visitInsertValueInst()
848 return markAnythingOverdefined(&IVI); in visitInsertValueInst()
850 Value *Aggr = IVI.getAggregateOperand(); in visitInsertValueInst()
851 unsigned Idx = *IVI.idx_begin(); in visitInsertValueInst()
858 mergeInValue(getStructValueState(&IVI, i), &IVI, EltVal); in visitInsertValueInst()
862 Value *Val = IVI.getInsertedValueOperand(); in visitInsertValueInst()
[all …]
DEarlyCSE.cpp105 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst)) { in getHashValue() local
106 for (InsertValueInst::idx_iterator I = IVI->idx_begin(), in getHashValue()
107 E = IVI->idx_end(); I != E; ++I) in getHashValue()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstruction.cpp216 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(this)) in isIdenticalToWhenDefined() local
217 return IVI->getIndices() == cast<InsertValueInst>(I)->getIndices(); in isIdenticalToWhenDefined()
272 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(this)) in isSameOperationAs() local
273 return IVI->getIndices() == cast<InsertValueInst>(I)->getIndices(); in isSameOperationAs()
DVerifier.cpp297 void visitInsertValueInst(InsertValueInst &IVI);
1413 void Verifier::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst() argument
1414 Assert1(ExtractValueInst::getIndexedType(IVI.getAggregateOperand()->getType(), in visitInsertValueInst()
1415 IVI.getIndices()) == in visitInsertValueInst()
1416 IVI.getOperand(1)->getType(), in visitInsertValueInst()
1417 "Invalid InsertValueInst operands!", &IVI); in visitInsertValueInst()
1419 visitInstruction(IVI); in visitInsertValueInst()
DInstructions.cpp1624 InsertValueInst::InsertValueInst(const InsertValueInst &IVI) in InsertValueInst() argument
1625 : Instruction(IVI.getType(), InsertValue, in InsertValueInst()
1627 Indices(IVI.Indices) { in InsertValueInst()
1628 Op<0>() = IVI.getOperand(0); in InsertValueInst()
1629 Op<1>() = IVI.getOperand(1); in InsertValueInst()
1630 SubclassOptionalData = IVI.SubclassOptionalData; in InsertValueInst()
DAsmWriter.cpp1750 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(&I)) { in printInstruction() local
1754 for (const unsigned *i = IVI->idx_begin(), *e = IVI->idx_end(); i != e; ++i) in printInstruction()
/external/llvm/lib/Transforms/Utils/
DEvaluator.cpp302 } else if (auto *IVI = dyn_cast<InsertValueInst>(CurInst)) { in EvaluateBlock() local
304 getVal(IVI->getAggregateOperand()), in EvaluateBlock()
305 getVal(IVI->getInsertedValueOperand()), IVI->getIndices()); in EvaluateBlock()
/external/llvm/lib/CodeGen/
DAnalysis.cpp297 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(V)) { in getNoopInput() local
299 ArrayRef<unsigned> InsertLoc = IVI->getIndices(); in getNoopInput()
306 NoopInput = IVI->getInsertedValueOperand(); in getNoopInput()
/external/llvm/lib/IR/
DInstruction.cpp373 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) in haveSameSpecialState() local
374 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in haveSameSpecialState()
DVerifier.cpp428 void visitInsertValueInst(InsertValueInst &IVI);
3161 void Verifier::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst() argument
3162 Assert(ExtractValueInst::getIndexedType(IVI.getAggregateOperand()->getType(), in visitInsertValueInst()
3163 IVI.getIndices()) == in visitInsertValueInst()
3164 IVI.getOperand(1)->getType(), in visitInsertValueInst()
3165 "Invalid InsertValueInst operands!", &IVI); in visitInsertValueInst()
3167 visitInstruction(IVI); in visitInsertValueInst()
DInstructions.cpp1974 InsertValueInst::InsertValueInst(const InsertValueInst &IVI) in InsertValueInst() argument
1975 : Instruction(IVI.getType(), InsertValue, in InsertValueInst()
1977 Indices(IVI.Indices) { in InsertValueInst()
1978 Op<0>() = IVI.getOperand(0); in InsertValueInst()
1979 Op<1>() = IVI.getOperand(1); in InsertValueInst()
1980 SubclassOptionalData = IVI.SubclassOptionalData; in InsertValueInst()
DAsmWriter.cpp2935 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(&I)) { in printInstruction() local
2939 for (const unsigned *i = IVI->idx_begin(), *e = IVI->idx_end(); i != e; ++i) in printInstruction()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp773 if (InsertValueInst *IVI = dyn_cast<InsertValueInst>(I)) in ConstantFoldInstruction() local
775 cast<Constant>(IVI->getAggregateOperand()), in ConstantFoldInstruction()
776 cast<Constant>(IVI->getInsertedValueOperand()), in ConstantFoldInstruction()
777 IVI->getIndices()); in ConstantFoldInstruction()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp5317 ObjCInterfaceDecl::ivar_iterator IVI, IVE; in RewriteObjCClassMetaData() local
5322 IVI = IDecl->ivar_begin(); in RewriteObjCClassMetaData()
5325 IVI = CDecl->ivar_begin(); in RewriteObjCClassMetaData()
5329 Result += IVI->getNameAsString(); in RewriteObjCClassMetaData()
5332 Context->getObjCEncodingForType(IVI->getType(), TmpString, *IVI); in RewriteObjCClassMetaData()
5336 RewriteIvarOffsetComputation(*IVI, Result); in RewriteObjCClassMetaData()
5338 for (++IVI; IVI != IVE; ++IVI) { in RewriteObjCClassMetaData()
5340 Result += IVI->getNameAsString(); in RewriteObjCClassMetaData()
5343 Context->getObjCEncodingForType(IVI->getType(), TmpString, *IVI); in RewriteObjCClassMetaData()
5347 RewriteIvarOffsetComputation(*IVI, Result); in RewriteObjCClassMetaData()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp3557 void CWriter::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst() argument
3559 writeOperand(IVI.getOperand(0)); in visitInsertValueInst()
3563 Out << GetValueName(&IVI); in visitInsertValueInst()
3564 for (const unsigned *b = IVI.idx_begin(), *i = b, *e = IVI.idx_end(); in visitInsertValueInst()
3567 ExtractValueInst::getIndexedType(IVI.getOperand(0)->getType(), in visitInsertValueInst()
3575 writeOperand(IVI.getOperand(1)); in visitInsertValueInst()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DMergeFunctions.cpp324 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) in isEquivalentOperation() local
325 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in isEquivalentOperation()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1023 if (auto *IVI = dyn_cast<InsertValueInst>(I)) { in ConstantFoldInstruction() local
1025 cast<Constant>(IVI->getAggregateOperand()), in ConstantFoldInstruction()
1026 cast<Constant>(IVI->getInsertedValueOperand()), in ConstantFoldInstruction()
1027 IVI->getIndices()); in ConstantFoldInstruction()
DInstructionSimplify.cpp3651 for (auto *IVI = dyn_cast<InsertValueInst>(Agg); IVI != nullptr; in SimplifyExtractValueInst() local
3652 IVI = dyn_cast<InsertValueInst>(IVI->getAggregateOperand())) { in SimplifyExtractValueInst()
3653 ArrayRef<unsigned> InsertValueIdxs = IVI->getIndices(); in SimplifyExtractValueInst()
3659 return IVI->getInsertedValueOperand(); in SimplifyExtractValueInst()
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp1243 IVI = IntersectingVariants.begin(), in substituteVariantOperand() local
1245 IVI != IVE; ++IVI) { in substituteVariantOperand()
1246 pushVariant(*IVI, IsRead); in substituteVariantOperand()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp2076 IVI = IDecl->ivar_begin(), IVE = IDecl->ivar_end(); in CheckImplementationIvars() local
2077 for (; numIvars > 0 && IVI != IVE; ++IVI) { in CheckImplementationIvars()
2079 ObjCIvarDecl* ClsIvar = *IVI; in CheckImplementationIvars()
2108 else if (IVI != IVE) in CheckImplementationIvars()
2109 Diag(IVI->getLocation(), diag::err_inconsistent_ivar_count); in CheckImplementationIvars()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DBitcodeWriter.cpp1044 const InsertValueInst *IVI = cast<InsertValueInst>(&I); in WriteInstruction() local
1045 for (const unsigned *i = IVI->idx_begin(), *e = IVI->idx_end(); i != e; ++i) in WriteInstruction()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp995 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(L)) { in cmpOperations() local
996 ArrayRef<unsigned> LIndices = IVI->getIndices(); in cmpOperations()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2344 const InsertValueInst *IVI = cast<InsertValueInst>(&I); in writeInstruction() local
2345 Vals.append(IVI->idx_begin(), IVI->idx_end()); in writeInstruction()

12