Home
last modified time | relevance | path

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

123

/external/llvm/lib/IR/
DOperator.cpp46 DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateConstantOffset()
DDataLayout.cpp750 Result += arrayIdx * getTypeAllocSize(GTI.getIndexedType()); in getIndexedOffsetInType()
DConstants.cpp1908 Type *DestTy = GetElementPtrInst::getIndexedType(Ty, Idxs); in getGetElementPtr()
2071 assert(ExtractValueInst::getIndexedType(Agg->getType(), in getInsertValue()
2094 Type *ReqTy = ExtractValueInst::getIndexedType(Agg->getType(), Idxs); in getExtractValue()
2270 ResElementTy(GetElementPtrInst::getIndexedType(SrcElementTy, IdxList)) { in GetElementPtrConstantExpr()
DConstantFold.cpp1640 CE2->getOperand(i), GTI.getIndexedType())) { in evaluateICmpRelation()
2060 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtrImpl()
2077 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtrImpl()
DInstructions.cpp1692 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<Value *> IdxList) { in getIndexedType() function in GetElementPtrInst
1696 Type *GetElementPtrInst::getIndexedType(Type *Ty, in getIndexedType() function in GetElementPtrInst
1701 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<uint64_t> IdxList) { in getIndexedType() function in GetElementPtrInst
1965 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
2010 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType() function in ExtractValueInst
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DGetElementPtrTypeIterator.h57 Type *getIndexedType() const { in getIndexedType() function
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h64 Type *getIndexedType() const { in getIndexedType() function
DInstructions.h951 static Type *getIndexedType(Type *Ty, ArrayRef<Value *> IdxList);
952 static Type *getIndexedType(Type *Ty, ArrayRef<Constant *> IdxList);
953 static Type *getIndexedType(Type *Ty, ArrayRef<uint64_t> IdxList);
990 Type *PtrTy = PointerType::get(checkGEPType(getIndexedType(ElTy, IdxList)),
1063 ResultElementType(getIndexedType(PointeeType, IdxList)) {
1076 ResultElementType(getIndexedType(PointeeType, IdxList)) {
2275 static Type *getIndexedType(Type *Agg, ArrayRef<unsigned> Idxs);
2319 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
2327 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp572 Type *IndexedTy = GTI.getIndexedType(); in ComputeMaskedBits()
1380 Type *IndexedType = ExtractValueInst::getIndexedType(From->getType(), in BuildSubAggregate()
1404 assert(ExtractValueInst::getIndexedType(V->getType(), idx_range) in FindInsertedValue()
1409 return UndefValue::get(ExtractValueInst::getIndexedType(PTy, in FindInsertedValue()
1412 return Constant::getNullValue(ExtractValueInst::getIndexedType(PTy, in FindInsertedValue()
1509 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in GetPointerBaseWithConstantOffset()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp752 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType()); in accumulateByteOffset()
798 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToSingleIndexGEPs()
859 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToArithmetics()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h206 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
/external/swiftshader/third_party/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);
851 getIndexedType(Ptr->getType(), IdxList)),
865 getIndexedType(Ptr->getType(), IdxList)),
1733 static Type *getIndexedType(Type *Agg, ArrayRef<unsigned> Idxs);
1775 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
1783 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp231 uint64_t TypeSize = TD->getTypeAllocSize(GTI.getIndexedType()); in MatchOperationAddr()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp892 return UndefValue::get(ExtractValueInst::getIndexedType(Agg->getType(), in ConstantFoldExtractValueInstruction()
897 Constant::getNullValue(ExtractValueInst::getIndexedType(Agg->getType(), in ConstantFoldExtractValueInstruction()
1801 CE2->getOperand(i), GTI.getIndexedType())) { in evaluateICmpRelation()
2180 Type *Ty = GetElementPtrInst::getIndexedType(Ptr, Idxs); in ConstantFoldGetElementPtrImpl()
2194 Type *Ty = GetElementPtrInst::getIndexedType(Ptr, Idxs); in ConstantFoldGetElementPtrImpl()
DVerifier.cpp1304 GetElementPtrInst::getIndexedType(GEP.getOperand(0)->getType(), Idxs); in visitGetElementPtrInst()
1405 Assert1(ExtractValueInst::getIndexedType(EVI.getAggregateOperand()->getType(), in visitExtractValueInst()
1414 Assert1(ExtractValueInst::getIndexedType(IVI.getAggregateOperand()->getType(), in visitInsertValueInst()
DInstructions.cpp1386 Type *GetElementPtrInst::getIndexedType(Type *Ptr, ArrayRef<Value *> IdxList) { in getIndexedType() function in GetElementPtrInst
1390 Type *GetElementPtrInst::getIndexedType(Type *Ptr, in getIndexedType() function in GetElementPtrInst
1395 Type *GetElementPtrInst::getIndexedType(Type *Ptr, ArrayRef<uint64_t> IdxList) { in getIndexedType() function in GetElementPtrInst
1615 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
1660 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType() function in ExtractValueInst
DConstants.cpp1604 Type *Ty = GetElementPtrInst::getIndexedType(C->getType(), Idxs); in getGetElementPtr()
1735 assert(ExtractValueInst::getIndexedType(Agg->getType(), in getInsertValue()
1750 Type *ReqTy = ExtractValueInst::getIndexedType(Agg->getType(), Idxs); in getExtractValue()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h462 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); in getGEPCost()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp2118 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices)) in ParseValID()
2137 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices)) in ParseValID()
2306 if (!GetElementPtrInst::getIndexedType(Elts[0]->getType(), Indices)) in ParseValID()
3927 if (!GetElementPtrInst::getIndexedType(Ptr->getType(), Indices)) in ParseGetElementPtr()
3948 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices)) in ParseExtractValue()
3969 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices)) in ParseInsertValue()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp869 if (!isa<ArrayType>(GetElementPtrInst::getIndexedType( in aliasSameBasePointerGEPs()
875 auto *Ty = GetElementPtrInst::getIndexedType( in aliasSameBasePointerGEPs()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp418 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; in EmitGEPOffset()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp64 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in GetOffsetFromIndex()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DArgumentPromotion.cpp581 Params.push_back(GetElementPtrInst::getIndexedType(I->getType(), *SI)); in DoPromotion()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp731 Params.push_back(GetElementPtrInst::getIndexedType( in DoPromotion()
/external/llvm/lib/Transforms/Instrumentation/
DEfficiencySanitizer.cpp756 Type *Ty = GetElementPtrInst::getIndexedType(SourceTy, IdxVec); in instrumentGetElementPtr()

123