Home
last modified time | relevance | path

Searched refs:ATy (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-9-stable/contrib/llvm/patches/
Dpatch-r264826-llvm-r202188-variadic-fn-debug-info.diff47 + 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/
DAnalysis.cpp54 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/
DDataLayout.h467 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/
DType.cpp99 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()
DConstantFold.cpp339 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 …]
DValue.cpp482 ArrayType *ATy = dyn_cast<ArrayType>(Ty); in isDereferenceablePointer() local
483 if (!ATy) in isDereferenceablePointer()
487 if (CI->getZExtValue() >= ATy->getNumElements()) in isDereferenceablePointer()
DVerifier.cpp471 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()
DAsmWriter.cpp251 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/
DTargetLoweringObjectFile.cpp177 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/
DLint.cpp426 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()
DAliasSetTracker.cpp301 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()
DConstantFolding.cpp760 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/
DInliner.cpp178 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()
DGlobalOpt.cpp510 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/
DXCoreAsmPrinter.cpp86 if (ArrayType *ATy = dyn_cast<ArrayType>( in emitArrayBound() local
93 MCConstantExpr::Create(ATy->getNumElements(), in emitArrayBound()
/freebsd-9-stable/contrib/llvm/lib/LTO/
DLTOCodeGenerator.cpp423 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/
DSemaStmtAsm.cpp417 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/
DInstCombineLoadStoreAlloca.cpp486 } else if (ArrayType *ATy = dyn_cast<ArrayType>(SrcPTy)) { in InstCombineStoreToCast() local
488 SrcPTy = ATy->getElementType(); in InstCombineStoreToCast()
DInstCombineCalls.cpp46 } 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/
DCGExprConstant.cpp1448 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/
DDeclPrinter.cpp114 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/
DScalarReplAggregates.cpp2392 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/
DDwarfDebug.cpp409 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()
DDwarfCompileUnit.cpp1065 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/
DNVPTXAsmPrinter.cpp1416 const ArrayType *ATy = dyn_cast<ArrayType>(Ty); in getOpenCLAlignment() local
1417 if (ATy) in getOpenCLAlignment()
1418 return getOpenCLAlignment(TD, ATy->getElementType()); in getOpenCLAlignment()

12