/external/llvm/lib/Transforms/Utils/ |
CtorUtils.cpp | 39 ArrayType *ATy = 41 Constant *CA = ConstantArray::get(ATy, CAList);
|
ModuleUtils.cpp | 36 ArrayType *ATy = cast<ArrayType>(GVCtor->getType()->getElementType()); 37 EltTy = cast<StructType>(ATy->getElementType());
|
/external/llvm/include/llvm/IR/ |
DataLayout.h | 520 ArrayType *ATy = cast<ArrayType>(Ty); 521 return ATy->getNumElements() * 522 getTypeAllocSizeInBits(ATy->getElementType());
|
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 60 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 61 Type *EltTy = ATy->getElementType(); 62 unsigned NumElts = ATy->getNumElements(); 102 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 103 Type *EltTy = ATy->getElementType(); 105 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i)
|
/external/llvm/lib/Target/ |
TargetLoweringObjectFile.cpp | 181 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { 183 dyn_cast<IntegerType>(ATy->getElementType())) {
|
/external/llvm/lib/Target/XCore/ |
XCoreAsmPrinter.cpp | 96 if (ArrayType *ATy = dyn_cast<ArrayType>( 103 MCConstantExpr::create(ATy->getNumElements(),
|
/external/llvm/lib/IR/ |
ConstantFold.cpp | 353 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 354 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements()); 355 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); 412 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 413 Constant *C = ConstantExpr::getAlignOf(ATy->getElementType()); 477 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 481 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); [all...] |
Type.cpp | 98 if (auto *ATy = dyn_cast<ArrayType>(this)) { 99 unsigned NumElements = ATy->getNumElements(); 100 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 156 if (auto *ATy = dyn_cast<ArrayType>(this)) 157 return ATy->getElementType()->isSized(Visited);
|
/external/llvm/lib/Analysis/ |
Lint.cpp | 428 Type *ATy = AI->getAllocatedType(); 429 if (!AI->isArrayAllocation() && ATy->isSized()) 430 BaseSize = DL->getTypeAllocSize(ATy); 432 if (BaseAlign == 0 && ATy->isSized()) 433 BaseAlign = DL->getABITypeAlignment(ATy);
|
LoopAccessAnalysis.cpp | [all...] |
ConstantFolding.cpp | 816 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) { 817 if (ATy->isPointerTy()) { 823 if (!ATy->getElementType()->isSized()) 828 APInt ElemSize(BitWidth, DL.getTypeAllocSize(ATy->getElementType())); 841 Ty = ATy->getElementType(); [all...] |
/external/llvm/lib/LTO/ |
LTOCodeGenerator.cpp | 438 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, asmUsed2.size()); 440 new llvm::GlobalVariable(*MergedModule, ATy, false, 442 llvm::ConstantArray::get(ATy, asmUsed2),
|
/external/llvm/lib/Transforms/IPO/ |
Inliner.cpp | 198 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); 199 if (!ATy || AI->isArrayAllocation()) 203 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy]; [all...] |
DeadArgumentElimination.cpp | 388 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) 389 return ATy->getNumElements(); 403 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) 404 return ATy->getElementType(); [all...] |
GlobalOpt.cpp | 516 if (ArrayType *ATy = dyn_cast<ArrayType>(STy)) 517 NumElements = ATy->getNumElements(); [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
InstrProfiling.cpp | 454 ArrayType *ATy = ArrayType::get(i8PTy, MergedVars.size()); 456 new GlobalVariable(*M, ATy, false, GlobalValue::AppendingLinkage, 457 ConstantArray::get(ATy, MergedVars), "llvm.used");
|
/external/llvm/lib/Target/Hexagon/ |
HexagonBitTracker.cpp | 53 Type *ATy = Arg.getType(); 55 if (ATy->isIntegerTy()) 56 Width = ATy->getIntegerBitWidth(); 57 else if (ATy->isPointerTy()) [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaStmtAsm.cpp | 555 const ArrayType *ATy = Context.getAsArrayType(T); 556 Info.Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity();
|
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 125 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType)) 126 BaseType = ATy->getElementType(); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 51 } else if (ArrayType *ATy = dyn_cast<ArrayType>(T)) { 52 if (ATy->getNumElements() == 1) 53 T = ATy->getElementType(); [all...] |
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | [all...] |