Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/LLVM/lib/Target/
DTargetLoweringObjectFile.cpp78 ArrayType *ATy = cast<ArrayType>(C->getType()); in IsNullTerminatedString() local
82 if (ATy->getNumElements() == 0) return false; in IsNullTerminatedString()
85 dyn_cast<ConstantInt>(CVA->getOperand(ATy->getNumElements()-1)); in IsNullTerminatedString()
90 for (unsigned i = 0, e = ATy->getNumElements()-1; i != e; ++i) in IsNullTerminatedString()
100 return ATy->getNumElements() == 1; in IsNullTerminatedString()
173 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal() local
175 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp55 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() local
56 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex()
57 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) { in ComputeLinearIndex()
91 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() local
92 Type *EltTy = ATy->getElementType(); in ComputeValueVTs()
94 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in ComputeValueVTs()
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DEdgeProfiling.cpp77 Type *ATy = ArrayType::get(Type::getInt32Ty(M.getContext()), NumEdges); in runOnModule() local
79 new GlobalVariable(M, ATy, false, GlobalValue::InternalLinkage, in runOnModule()
80 Constant::getNullValue(ATy), "EdgeProfCounters"); in runOnModule()
DOptimalEdgeProfiling.cpp116 ArrayType *ATy = ArrayType::get(Int32, NumEdges); in runOnModule() local
118 new GlobalVariable(M, ATy, false, GlobalValue::InternalLinkage, in runOnModule()
119 Constant::getNullValue(ATy), "OptEdgeProfCounters"); in runOnModule()
218 Constant *init = ConstantArray::get(ATy, Initializer); in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DModuleUtils.cpp33 ArrayType *ATy = cast<ArrayType>(GVCtor->getValueType()); in appendToGlobalArray() local
34 StructType *OldEltTy = cast<StructType>(ATy->getElementType()); in appendToGlobalArray()
116 ArrayType *ATy = ArrayType::get(Int8PtrTy, Init.size()); in appendToUsedList() local
117 GV = new llvm::GlobalVariable(M, ATy, false, GlobalValue::AppendingLinkage, in appendToUsedList()
118 ConstantArray::get(ATy, Init), Name); in appendToUsedList()
DCtorUtils.cpp38 ArrayType *ATy = in removeGlobalCtors() local
40 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
/external/llvm/lib/LTO/
DUpdateCompilerUsed.cpp140 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, UsedValuesList.size()); in updateCompilerUsed() local
142 TheModule, ATy, false, llvm::GlobalValue::AppendingLinkage, in updateCompilerUsed()
143 llvm::ConstantArray::get(ATy, UsedValuesList), "llvm.compiler.used"); in updateCompilerUsed()
/external/llvm/lib/CodeGen/
DAnalysis.cpp59 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() local
60 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex()
61 unsigned NumElts = ATy->getNumElements(); in ComputeLinearIndex()
101 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeValueVTs() local
102 Type *EltTy = ATy->getElementType(); in ComputeValueVTs()
104 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in ComputeValueVTs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAnalysis.cpp58 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { in ComputeLinearIndex() local
59 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex()
60 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()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DAliasSetTracker.cpp299 AliasSet::AccessType ATy = AliasSet::Refs; in add() local
300 if (!LI->isUnordered()) ATy = AliasSet::ModRef; in add()
305 ATy, NewPtr); in add()
312 AliasSet::AccessType ATy = AliasSet::Mods; in add() local
313 if (!SI->isUnordered()) ATy = AliasSet::ModRef; in add()
319 ATy, NewPtr); in add()
DConstantFolding.cpp658 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) { in SymbolicallyEvaluateGEP() local
659 if (ATy->isPointerTy()) { in SymbolicallyEvaluateGEP()
665 if (!ATy->getElementType()->isSized()) in SymbolicallyEvaluateGEP()
670 APInt ElemSize(BitWidth, TD->getTypeAllocSize(ATy->getElementType())); in SymbolicallyEvaluateGEP()
684 Ty = ATy->getElementType(); in SymbolicallyEvaluateGEP()
1006 if (ArrayType *ATy = dyn_cast<ArrayType>(*I)) { in ConstantFoldLoadThroughGEPConstantExpr() local
1007 if (CI->getZExtValue() >= ATy->getNumElements()) in ConstantFoldLoadThroughGEPConstantExpr()
1012 C = Constant::getNullValue(ATy->getElementType()); in ConstantFoldLoadThroughGEPConstantExpr()
1014 C = UndefValue::get(ATy->getElementType()); in ConstantFoldLoadThroughGEPConstantExpr()
/external/llvm/include/llvm/IR/
DDataLayout.h518 ArrayType *ATy = cast<ArrayType>(Ty); in getTypeSizeInBits() local
519 return ATy->getNumElements() * in getTypeSizeInBits()
520 getTypeAllocSizeInBits(ATy->getElementType()); in getTypeSizeInBits()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DType.cpp114 const ArrayType *ATy = dyn_cast<ArrayType>(this); in isEmptyTy() local
115 if (ATy) { in isEmptyTy()
116 unsigned NumElements = ATy->getNumElements(); in isEmptyTy()
117 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); in isEmptyTy()
175 if (const ArrayType *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() local
176 return ATy->getElementType()->isSized(); in isSizedDerivedType()
DValue.cpp383 ArrayType *ATy = dyn_cast<ArrayType>(Ty); in isDereferenceablePointer() local
384 if (!ATy) in isDereferenceablePointer()
388 if (CI->getZExtValue() >= ATy->getNumElements()) in isDereferenceablePointer()
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp39 ArrayType *ATy = in removeGlobalCtors() local
41 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
DModuleUtils.cpp33 ArrayType *ATy = cast<ArrayType>(GVCtor->getValueType()); in appendToGlobalArray() local
34 StructType *OldEltTy = cast<StructType>(ATy->getElementType()); in appendToGlobalArray()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDataLayout.h568 ArrayType *ATy = cast<ArrayType>(Ty); in getTypeSizeInBits() local
569 return ATy->getNumElements() * in getTypeSizeInBits()
570 getTypeAllocSizeInBits(ATy->getElementType()); in getTypeSizeInBits()
/external/swiftshader/third_party/llvm-7.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()
148 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() local
149 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
/external/swiftshader/third_party/LLVM/tools/lto/
DLTOCodeGenerator.cpp345 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, asmUsed2.size()); in applyScopeRestrictions() local
347 new llvm::GlobalVariable(*mergedModule, ATy, false, in applyScopeRestrictions()
349 llvm::ConstantArray::get(ATy, asmUsed2), in applyScopeRestrictions()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInliner.cpp142 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible() local
143 if (ATy == 0 || AI->isArrayAllocation()) in InlineCallIfPossible()
147 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy]; in InlineCallIfPossible()
/external/llvm/lib/IR/
DType.cpp92 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy() local
93 unsigned NumElements = ATy->getNumElements(); in isEmptyTy()
94 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); in isEmptyTy()
141 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() local
142 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp181 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal() local
183 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp241 Type *ATy = CS.getArgument(I)->getType(); in isPromotionLegal() local
242 if (PTy == ATy) in isPromotionLegal()
482 Type *ATy = NewCS.getArgument(I)->getType(); in createDirectCallInst() local
484 if (ATy != PTy) { in createDirectCallInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLint.cpp467 Type *ATy = AI->getAllocatedType(); in visitMemoryReference() local
468 if (!AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference()
469 BaseSize = DL->getTypeAllocSize(ATy); in visitMemoryReference()
471 if (BaseAlign == 0 && ATy->isSized()) in visitMemoryReference()
472 BaseAlign = DL->getABITypeAlignment(ATy); in visitMemoryReference()
/external/llvm/lib/Analysis/
DLint.cpp428 Type *ATy = AI->getAllocatedType(); in visitMemoryReference() local
429 if (!AI->isArrayAllocation() && ATy->isSized()) in visitMemoryReference()
430 BaseSize = DL->getTypeAllocSize(ATy); in visitMemoryReference()
432 if (BaseAlign == 0 && ATy->isSized()) in visitMemoryReference()
433 BaseAlign = DL->getABITypeAlignment(ATy); in visitMemoryReference()

12345