Home
last modified time | relevance | path

Searched refs:getIndexedType (Results 1 – 18 of 18) sorted by relevance

/external/llvm/include/llvm/Support/
DGetElementPtrTypeIterator.h57 Type *getIndexedType() const { in getIndexedType() function
/external/llvm/include/llvm/
DInstructions.h775 static Type *getIndexedType(Type *Ptr, ArrayRef<Value *> IdxList);
776 static Type *getIndexedType(Type *Ptr, ArrayRef<Constant *> IdxList);
777 static Type *getIndexedType(Type *Ptr, ArrayRef<uint64_t> IdxList);
812 getIndexedType(Ptr->getType(), IdxList)),
1769 static Type *getIndexedType(Type *Agg, ArrayRef<unsigned> Idxs);
1811 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
1819 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
/external/llvm/lib/Analysis/
DValueTracking.cpp628 Type *IndexedTy = GTI.getIndexedType(); in ComputeMaskedBits()
1482 Type *IndexedType = ExtractValueInst::getIndexedType(From->getType(), in BuildSubAggregate()
1506 assert(ExtractValueInst::getIndexedType(V->getType(), idx_range) && in FindInsertedValue()
1608 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in GetPointerBaseWithConstantOffset()
DInlineCost.cpp262 APInt TypeSize(IntPtrWidth, TD->getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
DConstantFolding.cpp581 !isa<StructType>(GetElementPtrInst::getIndexedType(Ops[0]->getType(), in CastGEPIndices()
DInstructionSimplify.cpp687 APInt TypeSize(IntPtrWidth, TD.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
2550 Type *LastType = GetElementPtrInst::getIndexedType(PtrTy, Ops.slice(1)); in SimplifyGEPInst()
/external/llvm/lib/Transforms/Utils/
DAddrModeMatcher.cpp231 uint64_t TypeSize = TD->getTypeAllocSize(GTI.getIndexedType()); in MatchOperationAddr()
/external/llvm/lib/AsmParser/
DLLParser.cpp2115 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices)) in ParseValID()
2134 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices)) in ParseValID()
2304 if (!GetElementPtrInst::getIndexedType(Elts[0]->getType(), Indices)) in ParseValID()
3922 if (!GetElementPtrInst::getIndexedType(Ptr->getType(), Indices)) in ParseGetElementPtr()
3943 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices)) in ParseExtractValue()
3964 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices)) in ParseInsertValue()
/external/llvm/lib/VMCore/
DVerifier.cpp1320 GetElementPtrInst::getIndexedType(GEP.getPointerOperandType(), Idxs); in visitGetElementPtrInst()
1461 Assert1(ExtractValueInst::getIndexedType(EVI.getAggregateOperand()->getType(), in visitExtractValueInst()
1470 Assert1(ExtractValueInst::getIndexedType(IVI.getAggregateOperand()->getType(), in visitInsertValueInst()
DInstructions.cpp1365 Type *GetElementPtrInst::getIndexedType(Type *Ptr, ArrayRef<Value *> IdxList) { in getIndexedType() function in GetElementPtrInst
1369 Type *GetElementPtrInst::getIndexedType(Type *Ptr, in getIndexedType() function in GetElementPtrInst
1374 Type *GetElementPtrInst::getIndexedType(Type *Ptr, ArrayRef<uint64_t> IdxList) { in getIndexedType() function in GetElementPtrInst
1644 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
1689 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType() function in ExtractValueInst
DConstantFold.cpp1533 CE2->getOperand(i), GTI.getIndexedType())) { in evaluateICmpRelation()
1912 Type *Ty = GetElementPtrInst::getIndexedType(Ptr, Idxs); in ConstantFoldGetElementPtrImpl()
1926 Type *Ty = GetElementPtrInst::getIndexedType(Ptr, Idxs); in ConstantFoldGetElementPtrImpl()
DConstants.cpp1746 Type *Ty = GetElementPtrInst::getIndexedType(C->getType(), Idxs); in getGetElementPtr()
1877 assert(ExtractValueInst::getIndexedType(Agg->getType(), in getInsertValue()
1892 Type *ReqTy = ExtractValueInst::getIndexedType(Agg->getType(), Idxs); in getExtractValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp429 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; in EmitGEPOffset()
DInstCombineCompares.cpp495 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in EvaluateGEPOffsetExpression()
511 uint64_t VariableScale = TD.getTypeAllocSize(GTI.getIndexedType()); in EvaluateGEPOffsetExpression()
525 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in EvaluateGEPOffsetExpression()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp64 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in GetOffsetFromIndex()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp581 Params.push_back(GetElementPtrInst::getIndexedType(I->getType(), *SI)); in DoPromotion()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp425 uint64_t S = TD.getTypeAllocSize(GTI.getIndexedType()); in X86SelectAddress()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp824 uint64_t S = TD.getTypeAllocSize(GTI.getIndexedType()); in ARMComputeAddress()