/external/llvm/lib/LTO/ |
D | UpdateCompilerUsed.cpp | 140 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/ |
D | GetElementPtrTypeIterator.h | 78 if (auto *ATy = dyn_cast<ArrayType>(Ty)) { variable 79 CurTy = ATy->getElementType(); 80 NumElements = ATy->getNumElements();
|
D | DataLayout.h | 672 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/ |
D | Analysis.cpp | 57 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/ |
D | Analysis.cpp | 58 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/ |
D | CtorUtils.cpp | 36 ArrayType *ATy = in removeGlobalCtors() local 38 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
|
D | ModuleUtils.cpp | 98 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/ |
D | CtorUtils.cpp | 36 ArrayType *ATy = in removeGlobalCtors() local 38 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
|
D | ModuleUtils.cpp | 96 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/ |
D | Analysis.cpp | 59 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/ |
D | CtorUtils.cpp | 39 ArrayType *ATy = in removeGlobalCtors() local 41 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
|
D | ModuleUtils.cpp | 33 ArrayType *ATy = cast<ArrayType>(GVCtor->getValueType()); in appendToGlobalArray() local 34 StructType *OldEltTy = cast<StructType>(ATy->getElementType()); in appendToGlobalArray()
|
/external/llvm/include/llvm/IR/ |
D | DataLayout.h | 518 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/ |
D | DataLayout.h | 632 ArrayType *ATy = cast<ArrayType>(Ty); in getTypeSizeInBits() local 633 return ATy->getNumElements() * in getTypeSizeInBits() 634 getTypeAllocSizeInBits(ATy->getElementType()); in getTypeSizeInBits()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 181 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/ |
D | Type.cpp | 97 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/ |
D | Type.cpp | 92 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/ |
D | Type.cpp | 99 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/ |
D | IndirectCallPromotion.cpp | 241 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/ |
D | Lint.cpp | 471 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/ |
D | Lint.cpp | 428 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/ |
D | TargetLoweringObjectFile.cpp | 192 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/ |
D | TargetLoweringObjectFile.cpp | 207 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal() local 209 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 146 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/ |
D | XCoreAsmPrinter.cpp | 92 if (ArrayType *ATy = dyn_cast<ArrayType>(GV->getValueType())) { in emitArrayBound() local 98 MCConstantExpr::create(ATy->getNumElements(), in emitArrayBound()
|