/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | Analysis.cpp | 57 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() local 58 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex() 59 unsigned NumElts = ATy->getNumElements(); in ComputeLinearIndex() 100 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() local 101 Type *EltTy = ATy->getElementType(); in ComputeValueVTs() 103 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in ComputeValueVTs() 140 if (ArrayType *ATy = dyn_cast<ArrayType>(&Ty)) { in computeValueLLTs() local 141 Type *EltTy = ATy->getElementType(); in computeValueLLTs() 143 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in computeValueLLTs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 36 ArrayType *ATy = in removeGlobalCtors() local 38 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
|
D | ModuleUtils.cpp | 96 ArrayType *ATy = ArrayType::get(Int8PtrTy, Init.size()); in appendToUsedList() local 97 GV = new llvm::GlobalVariable(M, ATy, false, GlobalValue::AppendingLinkage, in appendToUsedList() 98 ConstantArray::get(ATy, Init), Name); in appendToUsedList()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DataLayout.h | 632 ArrayType *ATy = cast<ArrayType>(Ty); in getTypeSizeInBits() local 633 return ATy->getNumElements() * in getTypeSizeInBits() 634 getTypeAllocSizeInBits(ATy->getElementType()); in getTypeSizeInBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Type.cpp | 99 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy() local 100 unsigned NumElements = ATy->getNumElements(); in isEmptyTy() 101 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); in isEmptyTy() 152 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() local 153 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
|
D | ConstantFold.cpp | 354 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in getFoldedSizeOf() local 355 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements()); in getFoldedSizeOf() 356 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); in getFoldedSizeOf() 411 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in getFoldedAlignOf() local 412 Constant *C = ConstantExpr::getAlignOf(ATy->getElementType()); in getFoldedAlignOf() 474 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in getFoldedOffsetOf() local 478 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); in getFoldedOffsetOf() 1414 } else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in isMaybeZeroSizedType() local 1415 return isMaybeZeroSizedType(ATy->getElementType()); in isMaybeZeroSizedType()
|
D | Verifier.cpp | 645 if (ArrayType *ATy = dyn_cast<ArrayType>(GV.getValueType())) { in visitGlobalVariable() local 646 StructType *STy = dyn_cast<StructType>(ATy->getElementType()); in visitGlobalVariable() 670 if (ArrayType *ATy = dyn_cast<ArrayType>(GVType)) { in visitGlobalVariable() local 671 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType()); in visitGlobalVariable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | Lint.cpp | 471 Type *ATy = AI->getAllocatedType(); in visitMemoryReference() local 472 if (!AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference() 473 BaseSize = DL->getTypeAllocSize(ATy); in visitMemoryReference() 475 if (BaseAlign == 0 && ATy->isSized()) in visitMemoryReference() 476 BaseAlign = DL->getABITypeAlignment(ATy); in visitMemoryReference()
|
D | ModuleSummaryAnalysis.cpp | 518 ArrayType *ATy = C->getType(); in findFuncPointers() local 519 Type *EltTy = ATy->getElementType(); in findFuncPointers() 521 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) { in findFuncPointers()
|
D | LoopAccessAnalysis.cpp | 1493 Type *ATy = APtr->getType()->getPointerElementType(); in isDependent() local 1496 uint64_t TypeByteSize = DL.getTypeAllocSize(ATy); in isDependent() 1515 if (std::abs(Distance) > 0 && Stride > 1 && ATy == BTy && in isDependent() 1526 ATy != BTy)) { in isDependent() 1538 if (ATy == BTy) in isDependent() 1547 if (ATy != BTy) { in isDependent()
|
D | ConstantFolding.cpp | 935 } else if (auto *ATy = dyn_cast<SequentialType>(Ty)) { in SymbolicallyEvaluateGEP() local 936 Ty = ATy->getElementType(); in SymbolicallyEvaluateGEP()
|
D | ScalarEvolutionExpander.cpp | 497 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) in expandAddToGEP() local 498 ElTy = ATy->getElementType(); in expandAddToGEP()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 192 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal() local 194 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 92 if (ArrayType *ATy = dyn_cast<ArrayType>(GV->getValueType())) { in emitArrayBound() local 98 MCConstantExpr::create(ATy->getNumElements(), in emitArrayBound()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 334 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in NumRetVals() local 335 return ATy->getNumElements(); in NumRetVals() 349 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in getRetComponentType() local 350 return ATy->getElementType(); in getRetComponentType()
|
D | Inliner.cpp | 190 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in mergeInlinedArrayAllocas() local 191 if (!ATy || AI->isArrayAllocation()) in mergeInlinedArrayAllocas() 195 std::vector<AllocaInst *> &AllocasForType = InlinedArrayAllocas[ATy]; in mergeInlinedArrayAllocas()
|
D | GlobalOpt.cpp | 2634 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); in setUsedInitializer() local 2639 new GlobalVariable(*M, ATy, false, GlobalValue::AppendingLinkage, in setUsedInitializer() 2640 ConstantArray::get(ATy, UsedArray), ""); in setUsedInitializer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonTargetObjectFile.cpp | 308 const ArrayType *ATy = cast<const ArrayType>(Ty); in getSmallestAddressableSize() local 309 return getSmallestAddressableSize(ATy->getElementType(), GV, TM); in getSmallestAddressableSize()
|
D | HexagonBitTracker.cpp | 64 Type *ATy = Arg.getType(); in HexagonEvaluator() local 66 if (ATy->isIntegerTy()) in HexagonEvaluator() 67 Width = ATy->getIntegerBitWidth(); in HexagonEvaluator() 68 else if (ATy->isPointerTy()) in HexagonEvaluator()
|
D | HexagonLoopIdiomRecognition.cpp | 1426 auto *ATy = cast<IntegerType>(ShAmt->getType()); in convertShiftsToLeft() local 1431 if (VTy != ATy) { in convertShiftsToLeft() 1432 if (VTy->getBitWidth() < ATy->getBitWidth()) in convertShiftsToLeft() 1433 ShVal = upcast(CastMap, IRB, ShVal, ATy); in convertShiftsToLeft()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/ |
D | MicrosoftDemangle.cpp | 2082 ArrayTypeNode *ATy = Arena.alloc<ArrayTypeNode>(); in demangleArrayType() local 2099 ATy->Dimensions = nodeListToNodeArray(Arena, Head, Rank); in demangleArrayType() 2103 std::tie(ATy->Quals, IsMember) = demangleQualifiers(MangledName); in demangleArrayType() 2110 ATy->ElementType = demangleType(MangledName, QualifierMangleMode::Drop); in demangleArrayType() 2111 return ATy; in demangleArrayType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BTFDebug.h | 280 void visitArrayType(const DICompositeType *ATy, uint32_t &TypeId);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 849 auto *ATy = cast<ArrayType>(Clause->getType()); in runEHOnFunction() local 850 for (unsigned J = 0, E = ATy->getNumElements(); J < E; ++J) { in runEHOnFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1380 auto *ATy = dyn_cast<ArrayType>(Ty); in getOpenCLAlignment() local 1381 if (ATy) in getOpenCLAlignment() 1382 return getOpenCLAlignment(DL, ATy->getElementType()); in getOpenCLAlignment()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 3313 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in emitSplitOps() local 3316 for (unsigned Idx = 0, Size = ATy->getNumElements(); Idx != Size; in emitSplitOps() 3321 emitSplitOps(ATy->getElementType(), Agg, Name + "." + Twine(Idx)); in emitSplitOps()
|