Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DInstruction.cpp306 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in haveSameSpecialState()
308 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in haveSameSpecialState()
DConstantsContext.h468 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()) {}
474 Indexes(CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()) {
499 if (Indexes != (CE->hasIndices() ? CE->getIndices() : ArrayRef<unsigned>()))
DConstants.cpp1148 ArrayRef<unsigned> ConstantExpr::getIndices() const { in getIndices() function in ConstantExpr
1211 return ConstantExpr::getInsertValue(Ops[0], Ops[1], getIndices(), in getWithOperands()
1214 return ConstantExpr::getExtractValue(Ops[0], getIndices(), OnlyIfReducedTy); in getWithOperands()
3006 return InsertValueInst::Create(Ops[0], Ops[1], getIndices()); in getAsInstruction()
3008 return ExtractValueInst::Create(Ops[0], getIndices()); in getAsInstruction()
DVerifier.cpp2880 EVI.getIndices()) == EVI.getType(), in visitExtractValueInst()
2888 IVI.getIndices()) == in visitInsertValueInst()
DAsmWriter.cpp1325 ArrayRef<unsigned> Indices = CE->getIndices(); in WriteConstantInternal()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp334 return Builder.CreateExtractValue(NewOperands[0], C->getIndices()); in remapConstantExpr()
338 C->getIndices()); in remapConstantExpr()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp429 if (ExtractInst->getIndices()[0] == 0) in splitOverflowIntrinsic()
431 else if (ExtractInst->getIndices()[0] == 1 && ExtractInst->hasOneUse()) in splitOverflowIntrinsic()
/external/llvm/lib/CodeGen/
DAnalysis.cpp300 ArrayRef<unsigned> InsertLoc = IVI->getIndices(); in getNoopInput()
317 ArrayRef<unsigned> ExtractLoc = EVI->getIndices(); in getNoopInput()
DAtomicExpandPass.cpp566 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
569 if (EV->getIndices()[0] == 0) in expandAtomicCmpXchg()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp991 ArrayRef<unsigned> LIndices = IVI->getIndices(); in cmpOperations()
992 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
1001 ArrayRef<unsigned> LIndices = EVI->getIndices(); in cmpOperations()
1002 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices(); in cmpOperations()
DGlobalOpt.cpp2524 getVal(EVI->getAggregateOperand()), EVI->getIndices()); in EvaluateBlock()
2530 getVal(IVI->getInsertedValueOperand()), IVI->getIndices()); in EvaluateBlock()
/external/llvm/lib/Analysis/
DLint.cpp662 Ex->getIndices())) in findValueImpl()
673 ArrayRef<unsigned> Indices = CE->getIndices(); in findValueImpl()
DInlineCost.cpp699 SimplifiedValues[&I] = ConstantExpr::getExtractValue(C, I.getIndices()); in visitExtractValue()
717 I.getIndices()); in visitInsertValue()
DConstantFolding.cpp953 IVI->getIndices()); in ConstantFoldInstruction()
959 EVI->getIndices()); in ConstantFoldInstruction()
DInstructionSimplify.cpp3561 EV->getIndices() == Idxs) { in SimplifyInsertValueInst()
3593 ArrayRef<unsigned> InsertValueIdxs = IVI->getIndices(); in SimplifyExtractValueInst()
4055 IV->getIndices(), DL, TLI, DT, AC, I); in SimplifyInstruction()
4061 EVI->getIndices(), DL, TLI, DT, AC, I); in SimplifyInstruction()
DValueTracking.cpp1530 if (EVI->getIndices()[0] == 0) { in computeKnownBitsFromOperator()
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp152 const deUint16* getIndices (void) const { return &m_indices[0]; } in getIndices() function in deqp::gls::QuadGrid
625 …ID, (int)vertexArrays.size(), &vertexArrays[0], pr::Triangles(numElements, quadGrid.getIndices())); in render()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp454 ArrayRef<unsigned int> FirstIndices = I.getIndices(); in visitInsertValueInst()
467 if (UserInsInst->getIndices() == FirstIndices) { in visitInsertValueInst()
DInstructionCombining.cpp2209 SimplifyExtractValueInst(Agg, EV.getIndices(), DL, TLI, DT, AC)) in visitExtractValueInst()
2229 EV.getIndices()); in visitExtractValueInst()
2247 EV.getIndices()); in visitExtractValueInst()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp140 const deUint16* getIndices (void) const { return &m_indices[0]; } in getIndices() function in vkt::sr::QuadGrid
1486 deMemcpy(m_indiceBufferAlloc->getHostPtr(), quadGrid.getIndices(), (size_t)indiceBufferSize); in render()
/external/llvm/include/llvm/IR/
DConstants.h1177 ArrayRef<unsigned> getIndices() const;
DInstructions.h2248 ArrayRef<unsigned> getIndices() const {
2375 ArrayRef<unsigned> getIndices() const {
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1900 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitExtractValueInst()
1946 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitInsertValueInst()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2708 Value *ResShadow = IRB.CreateExtractValue(AggShadow, I.getIndices()); in visitExtractValueInst()
2721 Value *Res = IRB.CreateInsertValue(AggShadow, InsShadow, I.getIndices()); in visitInsertValueInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1525 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); in selectExtractValue()

12