Home
last modified time | relevance | path

Searched refs:ATy (Results 1 – 25 of 125) sorted by relevance

12345

/external/llvm/lib/LTO/
DUpdateCompilerUsed.cpp140 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, UsedValuesList.size()); in updateCompilerUsed() local
142 TheModule, ATy, false, llvm::GlobalValue::AppendingLinkage, in updateCompilerUsed()
143 llvm::ConstantArray::get(ATy, UsedValuesList), "llvm.compiler.used"); in updateCompilerUsed()
/external/llvm-project/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h78 if (auto *ATy = dyn_cast<ArrayType>(Ty)) { variable
79 CurTy = ATy->getElementType();
80 NumElements = ATy->getNumElements();
DDataLayout.h672 ArrayType *ATy = cast<ArrayType>(Ty); in getTypeSizeInBits() local
673 return ATy->getNumElements() * in getTypeSizeInBits()
674 getTypeAllocSizeInBits(ATy->getElementType()); in getTypeSizeInBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAnalysis.cpp57 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() local
58 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex()
59 unsigned NumElts = ATy->getNumElements(); in ComputeLinearIndex()
100 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() local
101 Type *EltTy = ATy->getElementType(); in ComputeValueVTs()
103 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in ComputeValueVTs()
140 if (ArrayType *ATy = dyn_cast<ArrayType>(&Ty)) { in computeValueLLTs() local
141 Type *EltTy = ATy->getElementType(); in computeValueLLTs()
143 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in computeValueLLTs()
/external/llvm-project/llvm/lib/CodeGen/
DAnalysis.cpp58 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() local
59 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex()
60 unsigned NumElts = ATy->getNumElements(); in ComputeLinearIndex()
101 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() local
102 Type *EltTy = ATy->getElementType(); in ComputeValueVTs()
104 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in ComputeValueVTs()
141 if (ArrayType *ATy = dyn_cast<ArrayType>(&Ty)) { in computeValueLLTs() local
142 Type *EltTy = ATy->getElementType(); in computeValueLLTs()
144 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in computeValueLLTs()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCtorUtils.cpp36 ArrayType *ATy = in removeGlobalCtors() local
38 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
DModuleUtils.cpp98 ArrayType *ATy = ArrayType::get(Int8PtrTy, Init.size()); in appendToUsedList() local
99 GV = new llvm::GlobalVariable(M, ATy, false, GlobalValue::AppendingLinkage, in appendToUsedList()
100 ConstantArray::get(ATy, Init), Name); in appendToUsedList()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCtorUtils.cpp36 ArrayType *ATy = in removeGlobalCtors() local
38 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
DModuleUtils.cpp96 ArrayType *ATy = ArrayType::get(Int8PtrTy, Init.size()); in appendToUsedList() local
97 GV = new llvm::GlobalVariable(M, ATy, false, GlobalValue::AppendingLinkage, in appendToUsedList()
98 ConstantArray::get(ATy, Init), Name); in appendToUsedList()
/external/llvm/lib/CodeGen/
DAnalysis.cpp59 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() local
60 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex()
61 unsigned NumElts = ATy->getNumElements(); in ComputeLinearIndex()
101 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() local
102 Type *EltTy = ATy->getElementType(); in ComputeValueVTs()
104 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in ComputeValueVTs()
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp39 ArrayType *ATy = in removeGlobalCtors() local
41 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
DModuleUtils.cpp33 ArrayType *ATy = cast<ArrayType>(GVCtor->getValueType()); in appendToGlobalArray() local
34 StructType *OldEltTy = cast<StructType>(ATy->getElementType()); in appendToGlobalArray()
/external/llvm/include/llvm/IR/
DDataLayout.h518 ArrayType *ATy = cast<ArrayType>(Ty); in getTypeSizeInBits() local
519 return ATy->getNumElements() * in getTypeSizeInBits()
520 getTypeAllocSizeInBits(ATy->getElementType()); in getTypeSizeInBits()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h632 ArrayType *ATy = cast<ArrayType>(Ty); in getTypeSizeInBits() local
633 return ATy->getNumElements() * in getTypeSizeInBits()
634 getTypeAllocSizeInBits(ATy->getElementType()); in getTypeSizeInBits()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp181 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal() local
183 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
/external/llvm-project/llvm/lib/IR/
DType.cpp97 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy() local
98 unsigned NumElements = ATy->getNumElements(); in isEmptyTy()
99 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); in isEmptyTy()
157 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() local
158 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
/external/llvm/lib/IR/
DType.cpp92 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy() local
93 unsigned NumElements = ATy->getNumElements(); in isEmptyTy()
94 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); in isEmptyTy()
141 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() local
142 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp99 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy() local
100 unsigned NumElements = ATy->getNumElements(); in isEmptyTy()
101 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); in isEmptyTy()
152 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() local
153 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp241 Type *ATy = CS.getArgument(I)->getType(); in isPromotionLegal() local
242 if (PTy == ATy) in isPromotionLegal()
482 Type *ATy = NewCS.getArgument(I)->getType(); in createDirectCallInst() local
484 if (ATy != PTy) { in createDirectCallInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLint.cpp471 Type *ATy = AI->getAllocatedType(); in visitMemoryReference() local
472 if (!AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference()
473 BaseSize = DL->getTypeAllocSize(ATy); in visitMemoryReference()
475 if (BaseAlign == 0 && ATy->isSized()) in visitMemoryReference()
476 BaseAlign = DL->getABITypeAlignment(ATy); in visitMemoryReference()
/external/llvm/lib/Analysis/
DLint.cpp428 Type *ATy = AI->getAllocatedType(); in visitMemoryReference() local
429 if (!AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference()
430 BaseSize = DL->getTypeAllocSize(ATy); in visitMemoryReference()
432 if (BaseAlign == 0 && ATy->isSized()) in visitMemoryReference()
433 BaseAlign = DL->getABITypeAlignment(ATy); in visitMemoryReference()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp192 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal() local
194 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
/external/llvm-project/llvm/lib/Target/
DTargetLoweringObjectFile.cpp207 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal() local
209 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp146 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible() local
147 if (!ATy || AI->isArrayAllocation()) in InlineCallIfPossible()
151 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy]; in InlineCallIfPossible()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp92 if (ArrayType *ATy = dyn_cast<ArrayType>(GV->getValueType())) { in emitArrayBound() local
98 MCConstantExpr::create(ATy->getNumElements(), in emitArrayBound()

12345