/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 35 ArrayType *ATy = cast<ArrayType>(GVCtor->getType()->getElementType()); 36 EltTy = cast<StructType>(ATy->getElementType());
|
/external/llvm/include/llvm/IR/ |
DataLayout.h | 530 ArrayType *ATy = cast<ArrayType>(Ty); 531 return ATy->getNumElements() * 532 getTypeAllocSizeInBits(ATy->getElementType());
|
/external/llvm/lib/IR/ |
AutoUpgrade.cpp | 177 ArrayType *ATy = dyn_cast<ArrayType>(GV->getType()->getElementType()); 179 ATy ? dyn_cast<StructType>(ATy->getElementType()) : nullptr; 211 assert(Initializers.size() == ATy->getNumElements()); 214 ATy = ArrayType::get(NewTy, Initializers.size()); 215 Constant *NewInit = ConstantArray::get(ATy, Initializers); 217 *GV->getParent(), ATy, GV->isConstant(), GV->getLinkage(), NewInit, "",
|
Type.cpp | 99 const ArrayType *ATy = dyn_cast<ArrayType>(this); 100 if (ATy) { 101 unsigned NumElements = ATy->getNumElements(); 102 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 159 if (const ArrayType *ATy = dyn_cast<ArrayType>(this)) 160 return ATy->getElementType()->isSized(Visited);
|
ConstantFold.cpp | 339 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 340 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements()); 341 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); 398 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 399 Constant *C = ConstantExpr::getAlignOf(ATy->getElementType()); 463 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 467 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); [all...] |
Value.cpp | 534 ArrayType *ATy = dyn_cast<ArrayType>(Ty); 535 if (!ATy) 539 if (CI->getZExtValue() >= ATy->getNumElements())
|
AsmWriter.cpp | 254 ArrayType *ATy = cast<ArrayType>(Ty); 255 OS << '[' << ATy->getNumElements() << " x "; 256 print(ATy->getElementType(), OS); [all...] |
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 55 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 56 Type *EltTy = ATy->getElementType(); 57 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) { 91 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 92 Type *EltTy = ATy->getElementType(); 94 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i)
|
/external/llvm/lib/Target/ |
TargetLoweringObjectFile.cpp | 182 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { 184 dyn_cast<IntegerType>(ATy->getElementType())) {
|
/external/llvm/lib/Analysis/ |
AliasSetTracker.cpp | 300 AliasSet::AccessType ATy = AliasSet::Refs; 305 ATy, NewPtr); 312 AliasSet::AccessType ATy = AliasSet::Mods; 318 ATy, NewPtr);
|
Lint.cpp | 426 Type *ATy = AI->getAllocatedType(); 427 if (DL && !AI->isArrayAllocation() && ATy->isSized()) 428 BaseSize = DL->getTypeAllocSize(ATy); 430 if (DL && BaseAlign == 0 && ATy->isSized()) 431 BaseAlign = DL->getABITypeAlignment(ATy);
|
ConstantFolding.cpp | 815 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) { 816 if (ATy->isPointerTy()) { 822 if (!ATy->getElementType()->isSized()) 827 APInt ElemSize(BitWidth, TD->getTypeAllocSize(ATy->getElementType())); 840 Ty = ATy->getElementType(); [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreAsmPrinter.cpp | 97 if (ArrayType *ATy = dyn_cast<ArrayType>( 104 MCConstantExpr::Create(ATy->getNumElements(),
|
/external/llvm/lib/LTO/ |
LTOCodeGenerator.cpp | 424 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, asmUsed2.size()); 426 new llvm::GlobalVariable(*mergedModule, ATy, false, 428 llvm::ConstantArray::get(ATy, asmUsed2),
|
/external/llvm/lib/Transforms/IPO/ |
Inliner.cpp | 187 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); 188 if (!ATy || AI->isArrayAllocation()) 192 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy];
|
GlobalOpt.cpp | 513 if (ArrayType *ATy = dyn_cast<ArrayType>(STy)) 514 NumElements = ATy->getNumElements(); [all...] |
/external/clang/lib/Sema/ |
SemaStmtAsm.cpp | 417 const ArrayType *ATy = Context.getAsArrayType(T); 418 Info.Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity();
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 505 } else if (ArrayType *ATy = dyn_cast<ArrayType>(SrcPTy)) { 507 SrcPTy = ATy->getElementType(); [all...] |
InstCombineCalls.cpp | 48 } else if (ArrayType *ATy = dyn_cast<ArrayType>(T)) { 49 if (ATy->getNumElements() == 1) 50 T = ATy->getElementType(); [all...] |
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 114 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType)) 115 BaseType = ATy->getElementType(); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |