Searched refs:ATy (Results 1 - 25 of 30) sorted by relevance

12

/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Instrumentation/
H A DEdgeProfiling.cpp77 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 DOptimalEdgeProfiling.cpp116 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);
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DAnalysis.cpp56 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
57 Type *EltTy = ATy->getElementType();
58 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) {
92 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
93 Type *EltTy = ATy->getElementType();
95 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i)
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DAliasSetTracker.cpp301 AliasSet::AccessType ATy = AliasSet::Refs;
302 if (!LI->isUnordered()) ATy = AliasSet::ModRef;
307 ATy, NewPtr);
314 AliasSet::AccessType ATy = AliasSet::Mods;
315 if (!SI->isUnordered()) ATy = AliasSet::ModRef;
321 ATy, NewPtr);
H A DLint.cpp427 Type *ATy = AI->getAllocatedType(); local
428 if (!AI->isArrayAllocation() && ATy->isSized())
429 BaseSize = TD->getTypeAllocSize(ATy);
431 if (BaseAlign == 0 && ATy->isSized())
432 BaseAlign = TD->getABITypeAlignment(ATy);
H A DConstantFolding.cpp707 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) {
708 if (ATy->isPointerTy()) {
714 if (!ATy->getElementType()->isSized())
719 APInt ElemSize(BitWidth, TD->getTypeAllocSize(ATy->getElementType()));
733 Ty = ATy->getElementType();
H A DScalarEvolutionExpander.cpp507 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy))
508 ElTy = ATy->getElementType();
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/
H A DTargetLoweringObjectFile.cpp167 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) {
169 dyn_cast<IntegerType>(ATy->getElementType())) {
H A DTargetData.cpp474 ArrayType *ATy = cast<ArrayType>(Ty); local
475 return getTypeAllocSizeInBits(ATy->getElementType())*ATy->getNumElements();
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/IPO/
H A DInliner.cpp149 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); local
150 if (ATy == 0 || AI->isArrayAllocation())
154 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy];
H A DGlobalOpt.cpp700 if (ArrayType *ATy = dyn_cast<ArrayType>(STy))
701 NumElements = ATy->getNumElements();
2418 if (ArrayType *ATy = dyn_cast<ArrayType>(InitTy))
2419 NumElts = ATy->getNumElements();
/macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/
H A DValue.cpp433 ArrayType *ATy = dyn_cast<ArrayType>(Ty); local
434 if (!ATy)
438 if (CI->getZExtValue() >= ATy->getNumElements())
H A DType.cpp116 const ArrayType *ATy = dyn_cast<ArrayType>(this); local
117 if (ATy) {
118 unsigned NumElements = ATy->getNumElements();
119 return NumElements == 0 || ATy->getElementType()->isEmptyTy();
179 if (const ArrayType *ATy = dyn_cast<ArrayType>(this))
180 return ATy->getElementType()->isSized();
H A DConstantFold.cpp334 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
335 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements());
336 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true);
393 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
394 Constant *C = ConstantExpr::getAlignOf(ATy->getElementType());
458 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
462 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true);
1216 } else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
1217 return isMaybeZeroSizedType(ATy->getElementType());
2013 if (ArrayType *ATy
[all...]
H A DAsmWriter.cpp271 ArrayType *ATy = cast<ArrayType>(Ty); local
272 OS << '[' << ATy->getNumElements() << " x ";
273 print(ATy->getElementType(), OS);
H A DVerifier.cpp434 if (ArrayType *ATy = dyn_cast<ArrayType>(GV.getType())) {
435 StructType *STy = dyn_cast<StructType>(ATy->getElementType());
/macosx-10.9.5/llvmCore-3425.0.33/tools/lto/
H A DLTOCodeGenerator.cpp333 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, asmUsed2.size()); local
335 new llvm::GlobalVariable(*mergedModule, ATy, false,
337 llvm::ConstantArray::get(ATy, asmUsed2),
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp94 if (ArrayType *ATy = dyn_cast<ArrayType>(
100 OutStreamer.EmitRawText(".globound," + Twine(ATy->getNumElements()));
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp689 DIType ATy(Args.getElement(i));
690 if (!ATy.Verify())
692 addGlobalType(ATy);
1108 DIType ATy = DIType(Args.getElement(i)); local
1109 addType(Arg, ATy);
1110 if (ATy.isArtificial())
H A DDwarfDebug.cpp336 DIType ATy = DIType(Args.getElement(i)); local
337 SPCU->addType(Arg, ATy);
338 if (ATy.isArtificial())
340 if (ATy.isObjectPointer())
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp499 } else if (ArrayType *ATy = dyn_cast<ArrayType>(SrcPTy)) {
501 SrcPTy = ATy->getElementType();
H A DInstCombineCalls.cpp41 } else if (ArrayType *ATy = dyn_cast<ArrayType>(T)) {
42 if (ATy->getNumElements() == 1)
43 T = ATy->getElementType();
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1350 const ArrayType *ATy = dyn_cast<ArrayType>(Ty); local
1351 if (ATy)
1352 return getOpenCLAlignment(TD, ATy->getElementType());
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp2390 ArrayType *ATy = cast<ArrayType>(AllocaEltTy); local
2391 Type *ArrayEltTy = ATy->getElementType();
2532 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) {
2533 Ty = ATy->getElementType();
/macosx-10.9.5/llvmCore-3425.0.33/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1048 } else if (ArrayType *ATy = dyn_cast<ArrayType>(CurTy)) {
1049 Type *EltTy = ATy->getElementType();
1052 V = ConstantArray::get(ATy, Elts);

Completed in 209 milliseconds

12