| /freebsd-9-stable/contrib/llvm/patches/ |
| D | patch-r264826-llvm-r202188-variadic-fn-debug-info.diff | 47 + DIType ATy(Args.getElement(i)); 48 + if (ATy.isUnspecifiedParameter()) { 54 - DIType ATy(Args.getElement(i)); 55 - SPCU->addType(Arg, ATy); 56 - if (ATy.isArtificial()) 58 - if (ATy.isObjectPointer()) 60 + SPCU->addType(Arg, ATy); 61 + if (ATy.isArtificial()) 63 + if (ATy.isObjectPointer()) 154 - DIType ATy(Args.getElement(i)); [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/ |
| D | Analysis.cpp | 54 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() local 55 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex() 56 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) { in ComputeLinearIndex() 90 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() local 91 Type *EltTy = ATy->getElementType(); in ComputeValueVTs() 93 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in ComputeValueVTs()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/IR/ |
| D | DataLayout.h | 467 ArrayType *ATy = cast<ArrayType>(Ty); in getTypeSizeInBits() local 468 return ATy->getNumElements() * in getTypeSizeInBits() 469 getTypeAllocSizeInBits(ATy->getElementType()); in getTypeSizeInBits()
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | Type.cpp | 99 const ArrayType *ATy = dyn_cast<ArrayType>(this); in isEmptyTy() local 100 if (ATy) { in isEmptyTy() 101 unsigned NumElements = ATy->getNumElements(); in isEmptyTy() 102 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); in isEmptyTy() 162 if (const ArrayType *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() local 163 return ATy->getElementType()->isSized(); in isSizedDerivedType()
|
| D | ConstantFold.cpp | 339 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in getFoldedSizeOf() local 340 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements()); in getFoldedSizeOf() 341 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); in getFoldedSizeOf() 398 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in getFoldedAlignOf() local 399 Constant *C = ConstantExpr::getAlignOf(ATy->getElementType()); in getFoldedAlignOf() 463 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in getFoldedOffsetOf() local 467 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); in getFoldedOffsetOf() 1217 } else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in isMaybeZeroSizedType() local 1218 return isMaybeZeroSizedType(ATy->getElementType()); in isMaybeZeroSizedType() 1911 if (const ArrayType *ATy = dyn_cast<ArrayType>(STy)) in isIndexInRangeOfSequentialType() local [all …]
|
| D | Value.cpp | 482 ArrayType *ATy = dyn_cast<ArrayType>(Ty); in isDereferenceablePointer() local 483 if (!ATy) in isDereferenceablePointer() 487 if (CI->getZExtValue() >= ATy->getNumElements()) in isDereferenceablePointer()
|
| D | Verifier.cpp | 471 if (ArrayType *ATy = dyn_cast<ArrayType>(GV.getType())) { in visitGlobalVariable() local 472 StructType *STy = dyn_cast<StructType>(ATy->getElementType()); in visitGlobalVariable() 487 if (ArrayType *ATy = dyn_cast<ArrayType>(GVType)) { in visitGlobalVariable() local 488 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType()); in visitGlobalVariable()
|
| D | AsmWriter.cpp | 251 ArrayType *ATy = cast<ArrayType>(Ty); in print() local 252 OS << '[' << ATy->getNumElements() << " x "; in print() 253 print(ATy->getElementType(), OS); in print()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/ |
| D | TargetLoweringObjectFile.cpp | 177 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal() local 179 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
|
| /freebsd-9-stable/contrib/llvm/lib/Analysis/ |
| D | Lint.cpp | 426 Type *ATy = AI->getAllocatedType(); in visitMemoryReference() local 427 if (TD && !AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference() 428 BaseSize = TD->getTypeAllocSize(ATy); in visitMemoryReference() 430 if (TD && BaseAlign == 0 && ATy->isSized()) in visitMemoryReference() 431 BaseAlign = TD->getABITypeAlignment(ATy); in visitMemoryReference()
|
| D | AliasSetTracker.cpp | 301 AliasSet::AccessType ATy = AliasSet::Refs; in add() local 306 ATy, NewPtr); in add() 313 AliasSet::AccessType ATy = AliasSet::Mods; in add() local 319 ATy, NewPtr); in add()
|
| D | ConstantFolding.cpp | 760 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) { in SymbolicallyEvaluateGEP() local 761 if (ATy->isPointerTy()) { in SymbolicallyEvaluateGEP() 767 if (!ATy->getElementType()->isSized()) in SymbolicallyEvaluateGEP() 772 APInt ElemSize(BitWidth, TD->getTypeAllocSize(ATy->getElementType())); in SymbolicallyEvaluateGEP() 785 Ty = ATy->getElementType(); in SymbolicallyEvaluateGEP()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/IPO/ |
| D | Inliner.cpp | 178 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible() local 179 if (ATy == 0 || AI->isArrayAllocation()) in InlineCallIfPossible() 183 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy]; in InlineCallIfPossible()
|
| D | GlobalOpt.cpp | 510 if (ArrayType *ATy = dyn_cast<ArrayType>(STy)) in SRAGlobal() local 511 NumElements = ATy->getNumElements(); in SRAGlobal() 2231 if (ArrayType *ATy = dyn_cast<ArrayType>(InitTy)) in EvaluateStoreInto() local 2232 NumElts = ATy->getNumElements(); in EvaluateStoreInto() 2869 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); in setUsedInitializer() local 2874 new GlobalVariable(*M, ATy, false, llvm::GlobalValue::AppendingLinkage, in setUsedInitializer() 2875 llvm::ConstantArray::get(ATy, UsedArray), ""); in setUsedInitializer()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/XCore/ |
| D | XCoreAsmPrinter.cpp | 86 if (ArrayType *ATy = dyn_cast<ArrayType>( in emitArrayBound() local 93 MCConstantExpr::Create(ATy->getNumElements(), in emitArrayBound()
|
| /freebsd-9-stable/contrib/llvm/lib/LTO/ |
| D | LTOCodeGenerator.cpp | 423 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, asmUsed2.size()); in applyScopeRestrictions() local 425 new llvm::GlobalVariable(*mergedModule, ATy, false, in applyScopeRestrictions() 427 llvm::ConstantArray::get(ATy, asmUsed2), in applyScopeRestrictions()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/ |
| D | SemaStmtAsm.cpp | 417 const ArrayType *ATy = Context.getAsArrayType(T); in LookupInlineAsmIdentifier() local 418 Info.Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in LookupInlineAsmIdentifier()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineLoadStoreAlloca.cpp | 486 } else if (ArrayType *ATy = dyn_cast<ArrayType>(SrcPTy)) { in InstCombineStoreToCast() local 488 SrcPTy = ATy->getElementType(); in InstCombineStoreToCast()
|
| D | InstCombineCalls.cpp | 46 } else if (ArrayType *ATy = dyn_cast<ArrayType>(T)) { in reduceToSingleValueType() local 47 if (ATy->getNumElements() == 1) in reduceToSingleValueType() 48 T = ATy->getElementType(); in reduceToSingleValueType()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
| D | CGExprConstant.cpp | 1448 llvm::ArrayType *ATy = in EmitNullConstant() local 1457 return llvm::ConstantAggregateZero::get(ATy); in EmitNullConstant() 1460 return llvm::ConstantArray::get(ATy, Array); in EmitNullConstant()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/ |
| D | DeclPrinter.cpp | 114 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType)) in GetBaseType() local 115 BaseType = ATy->getElementType(); in GetBaseType()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | ScalarReplAggregates.cpp | 2392 ArrayType *ATy = cast<ArrayType>(AllocaEltTy); in RewriteStoreUserOfWholeAlloca() local 2393 Type *ArrayEltTy = ATy->getElementType(); in RewriteStoreUserOfWholeAlloca() 2535 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in HasPadding() local 2536 Ty = ATy->getElementType(); in HasPadding()
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| D | DwarfDebug.cpp | 409 DIType ATy(Args.getElement(i)); in updateSubprogramScopeDIE() local 410 if (ATy.isUnspecifiedParameter()) { in updateSubprogramScopeDIE() 416 SPCU->addType(Arg, ATy); in updateSubprogramScopeDIE() 417 if (ATy.isArtificial()) in updateSubprogramScopeDIE() 419 if (ATy.isObjectPointer()) in updateSubprogramScopeDIE()
|
| D | DwarfCompileUnit.cpp | 1065 DIType ATy(Args.getElement(i)); in addPubTypes() local 1066 if (!ATy.isType()) in addPubTypes() 1068 addGlobalType(ATy); in addPubTypes()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/NVPTX/ |
| D | NVPTXAsmPrinter.cpp | 1416 const ArrayType *ATy = dyn_cast<ArrayType>(Ty); in getOpenCLAlignment() local 1417 if (ATy) in getOpenCLAlignment() 1418 return getOpenCLAlignment(TD, ATy->getElementType()); in getOpenCLAlignment()
|