/external/llvm/lib/Transforms/Instrumentation/ |
H A D | EdgeProfiling.cpp | 77 Type *ATy = ArrayType::get(Type::getInt32Ty(M.getContext()), NumEdges); local 79 new GlobalVariable(M, ATy, false, GlobalValue::InternalLinkage, 80 Constant::getNullValue(ATy), "EdgeProfCounters");
|
H A D | OptimalEdgeProfiling.cpp | 116 ArrayType *ATy = ArrayType::get(Int32, NumEdges); local 118 new GlobalVariable(M, ATy, false, GlobalValue::InternalLinkage, 119 Constant::getNullValue(ATy), "OptEdgeProfCounters"); 218 Constant *init = ConstantArray::get(ATy, Initializer);
|
/external/llvm/include/llvm/IR/ |
H A D | DataLayout.h | 456 ArrayType *ATy = cast<ArrayType>(Ty); local 457 return ATy->getNumElements() * 458 getTypeAllocSizeInBits(ATy->getElementType());
|
/external/llvm/lib/Transforms/IPO/ |
H A D | Inliner.cpp | 178 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); local 179 if (ATy == 0 || AI->isArrayAllocation()) 183 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy];
|
H A D | GlobalOpt.cpp | 705 if (ArrayType *ATy = dyn_cast<ArrayType>(STy)) 706 NumElements = ATy->getNumElements(); 2427 if (ArrayType *ATy = dyn_cast<ArrayType>(InitTy)) 2428 NumElts = ATy->getNumElements(); 3071 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); local 3076 new GlobalVariable(*M, ATy, false, llvm::GlobalValue::AppendingLinkage, 3077 llvm::ConstantArray::get(ATy, UsedArray), "");
|
/external/llvm/tools/lto/ |
H A D | LTOCodeGenerator.cpp | 371 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, asmUsed2.size()); local 373 new llvm::GlobalVariable(*mergedModule, ATy, false, 375 llvm::ConstantArray::get(ATy, asmUsed2),
|
/external/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 417 const ArrayType *ATy = Context.getAsArrayType(T); local 418 Info.Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity();
|
/external/llvm/lib/IR/ |
H A D | Value.cpp | 445 ArrayType *ATy = dyn_cast<ArrayType>(Ty); local 446 if (!ATy) 450 if (CI->getZExtValue() >= ATy->getNumElements())
|
H A D | Type.cpp | 99 const ArrayType *ATy = dyn_cast<ArrayType>(this); local 100 if (ATy) { 101 unsigned NumElements = ATy->getNumElements(); 102 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 162 if (const ArrayType *ATy = dyn_cast<ArrayType>(this)) 163 return ATy->getElementType()->isSized();
|
H A D | AsmWriter.cpp | 249 ArrayType *ATy = cast<ArrayType>(Ty); local 250 OS << '[' << ATy->getNumElements() << " x "; 251 print(ATy->getElementType(), OS);
|
/external/llvm/lib/Analysis/ |
H A D | Lint.cpp | 426 Type *ATy = AI->getAllocatedType(); local 427 if (TD && !AI->isArrayAllocation() && ATy->isSized()) 428 BaseSize = TD->getTypeAllocSize(ATy); 430 if (TD && BaseAlign == 0 && ATy->isSized()) 431 BaseAlign = TD->getABITypeAlignment(ATy);
|
/external/clang/lib/AST/ |
H A D | RecordLayoutBuilder.cpp | 1967 const ArrayType* ATy = Context.getAsArrayType(D->getType()); local 1968 FieldAlign = Context.getTypeAlignInChars(ATy->getElementType());
|
H A D | ASTContext.cpp | 4133 const ArrayType *ATy = dyn_cast<ArrayType>(split.Ty); local 4134 if (ATy == 0 || qs.empty()) 4135 return ATy; 4139 QualType NewEltTy = getQualifiedType(ATy->getElementType(), qs); 4141 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(ATy)) 4145 if (const IncompleteArrayType *IAT = dyn_cast<IncompleteArrayType>(ATy)) 4151 = dyn_cast<DependentSizedArrayType>(ATy)) 4159 const VariableArrayType *VAT = cast<VariableArrayType>(ATy);
|
/external/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 1469 llvm::ArrayType *ATy = local 1478 return llvm::ConstantAggregateZero::get(ATy); 1481 return llvm::ConstantArray::get(ATy, Array);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.cpp | 823 DIType ATy(Args.getElement(i)); 824 if (!ATy.isType()) 826 addGlobalType(ATy); 1275 DIType ATy = DIType(Args.getElement(i)); local 1276 addType(Arg, ATy); 1277 if (ATy.isArtificial())
|
H A D | DwarfDebug.cpp | 399 DIType ATy = DIType(Args.getElement(i)); local 400 SPCU->addType(Arg, ATy); 401 if (ATy.isArtificial()) 403 if (ATy.isObjectPointer())
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1391 const ArrayType *ATy = dyn_cast<ArrayType>(Ty); local 1392 if (ATy) 1393 return getOpenCLAlignment(TD, ATy->getElementType());
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 2392 ArrayType *ATy = cast<ArrayType>(AllocaEltTy); local 2393 Type *ArrayEltTy = ATy->getElementType(); 2535 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 2536 Ty = ATy->getElementType();
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 3409 Type *ATy = APtr->getType()->getPointerElementType(); local 3411 unsigned TypeByteSize = DL->getTypeAllocSize(ATy); 3419 ATy != BTy)) 3429 if (ATy == BTy) 3438 if (ATy != BTy) {
|