Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAnalysis.cpp57 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/
DCtorUtils.cpp36 ArrayType *ATy = in removeGlobalCtors() local
38 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
DModuleUtils.cpp96 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/
DDataLayout.h632 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/
DType.cpp99 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()
DConstantFold.cpp354 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()
DVerifier.cpp645 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/
DLint.cpp471 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()
DModuleSummaryAnalysis.cpp518 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()
DLoopAccessAnalysis.cpp1493 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()
DConstantFolding.cpp935 } else if (auto *ATy = dyn_cast<SequentialType>(Ty)) { in SymbolicallyEvaluateGEP() local
936 Ty = ATy->getElementType(); in SymbolicallyEvaluateGEP()
DScalarEvolutionExpander.cpp497 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/
DTargetLoweringObjectFile.cpp192 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/
DXCoreAsmPrinter.cpp92 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/
DDeadArgumentElimination.cpp334 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()
DInliner.cpp190 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()
DGlobalOpt.cpp2634 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/
DHexagonTargetObjectFile.cpp308 const ArrayType *ATy = cast<const ArrayType>(Ty); in getSmallestAddressableSize() local
309 return getSmallestAddressableSize(ATy->getElementType(), GV, TM); in getSmallestAddressableSize()
DHexagonBitTracker.cpp64 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()
DHexagonLoopIdiomRecognition.cpp1426 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/
DMicrosoftDemangle.cpp2082 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/
DBTFDebug.h280 void visitArrayType(const DICompositeType *ATy, uint32_t &TypeId);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp849 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/
DNVPTXAsmPrinter.cpp1380 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/
DSROA.cpp3313 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()

12