/freebsd-10-stable/contrib/llvm/include/llvm/IR/ |
H A D | DataLayout.h | 467 ArrayType *ATy = cast<ArrayType>(Ty); local 468 return ATy->getNumElements() * 469 getTypeAllocSizeInBits(ATy->getElementType());
|
/freebsd-10-stable/contrib/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 54 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 55 Type *EltTy = ATy->getElementType(); 56 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) { 90 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 91 Type *EltTy = ATy->getElementType(); 93 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i)
|
/freebsd-10-stable/contrib/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 177 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { 179 dyn_cast<IntegerType>(ATy->getElementType())) {
|
/freebsd-10-stable/contrib/llvm/lib/Target/XCore/ |
H A D | XCoreAsmPrinter.cpp | 86 if (ArrayType *ATy = dyn_cast<ArrayType>( 93 MCConstantExpr::Create(ATy->getNumElements(),
|
/freebsd-10-stable/contrib/llvm/lib/LTO/ |
H A D | LTOCodeGenerator.cpp | 423 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, asmUsed2.size()); local 425 new llvm::GlobalVariable(*mergedModule, ATy, false, 427 llvm::ConstantArray::get(ATy, asmUsed2),
|
/freebsd-10-stable/contrib/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 | 510 if (ArrayType *ATy = dyn_cast<ArrayType>(STy)) 511 NumElements = ATy->getNumElements(); 2231 if (ArrayType *ATy = dyn_cast<ArrayType>(InitTy)) 2232 NumElts = ATy->getNumElements(); 2869 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); local 2874 new GlobalVariable(*M, ATy, false, llvm::GlobalValue::AppendingLinkage, 2875 llvm::ConstantArray::get(ATy, UsedArray), "");
|
/freebsd-10-stable/contrib/llvm/lib/Analysis/ |
H A D | AliasSetTracker.cpp | 301 AliasSet::AccessType ATy = AliasSet::Refs; 306 ATy, NewPtr); 313 AliasSet::AccessType ATy = AliasSet::Mods; 319 ATy, NewPtr);
|
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);
|
H A D | ConstantFolding.cpp | 760 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) { 761 if (ATy->isPointerTy()) { 767 if (!ATy->getElementType()->isSized()) 772 APInt ElemSize(BitWidth, TD->getTypeAllocSize(ATy->getElementType())); 785 Ty = ATy->getElementType();
|
/freebsd-10-stable/contrib/llvm/lib/IR/ |
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 | 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); 1217 } else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 1218 return isMaybeZeroSizedType(ATy->getElementType()); 1911 if (const ArrayType *ATy [all...] |
H A D | Value.cpp | 482 ArrayType *ATy = dyn_cast<ArrayType>(Ty); local 483 if (!ATy) 487 if (CI->getZExtValue() >= ATy->getNumElements())
|
H A D | Verifier.cpp | 471 if (ArrayType *ATy = dyn_cast<ArrayType>(GV.getType())) { 472 StructType *STy = dyn_cast<StructType>(ATy->getElementType()); 487 if (ArrayType *ATy = dyn_cast<ArrayType>(GVType)) { 488 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType());
|
H A D | AsmWriter.cpp | 251 ArrayType *ATy = cast<ArrayType>(Ty); local 252 OS << '[' << ATy->getNumElements() << " x "; 253 print(ATy->getElementType(), OS);
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 417 const ArrayType *ATy = Context.getAsArrayType(T); local 418 Info.Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity();
|
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 486 } else if (ArrayType *ATy = dyn_cast<ArrayType>(SrcPTy)) { 488 SrcPTy = ATy->getElementType();
|
H A D | InstCombineCalls.cpp | 46 } else if (ArrayType *ATy = dyn_cast<ArrayType>(T)) { 47 if (ATy->getNumElements() == 1) 48 T = ATy->getElementType();
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 1448 llvm::ArrayType *ATy = local 1457 return llvm::ConstantAggregateZero::get(ATy); 1460 return llvm::ConstantArray::get(ATy, Array);
|
/freebsd-10-stable/contrib/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();
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 114 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType)) 115 BaseType = ATy->getElementType();
|
/freebsd-10-stable/contrib/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.cpp | 409 DIType ATy(Args.getElement(i)); 410 if (ATy.isUnspecifiedParameter()) { 416 SPCU->addType(Arg, ATy); 417 if (ATy.isArtificial()) 419 if (ATy.isObjectPointer())
|
H A D | DwarfCompileUnit.cpp | 1065 DIType ATy(Args.getElement(i)); 1066 if (!ATy.isType()) 1068 addGlobalType(ATy);
|
/freebsd-10-stable/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1416 const ArrayType *ATy = dyn_cast<ArrayType>(Ty); local 1417 if (ATy) 1418 return getOpenCLAlignment(TD, ATy->getElementType());
|
/freebsd-10-stable/contrib/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 3737 Type *ATy = APtr->getType()->getPointerElementType(); local 3739 unsigned TypeByteSize = DL->getTypeAllocSize(ATy); 3747 ATy != BTy)) 3757 if (ATy == BTy) 3766 if (ATy != BTy) {
|