/external/llvm-project/clang/lib/CodeGen/ |
D | PatternInit.cpp | 65 auto *ArrTy = cast<llvm::ArrayType>(Ty); in initializationPatternFor() local 67 ArrTy->getNumElements(), in initializationPatternFor() 68 initializationPatternFor(CGM, ArrTy->getElementType())); in initializationPatternFor() 69 return llvm::ConstantArray::get(ArrTy, Element); in initializationPatternFor()
|
D | CGCall.cpp | 2558 if (const auto *ArrTy = in EmitFunctionProlog() local 2564 if (ArrTy->getSizeModifier() == ArrayType::Static) { in EmitFunctionProlog() 2565 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() 2569 uint64_t ArrSize = ArrTy->getSize().getZExtValue(); in EmitFunctionProlog() 2583 } else if (const auto *ArrTy = in EmitFunctionProlog() local 2588 if (ArrTy->getSizeModifier() == VariableArrayType::Static) { in EmitFunctionProlog() 2589 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog()
|
/external/clang/test/CodeGenCXX/ |
D | vla-lambda-capturing.cpp | 58 typedef intptr_t ArrTy[getSize(arg)]; in b() typedef 59 ArrTy buffer2; in b() 60 ArrTy buffer1[n + arg]; in b()
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | vla-lambda-capturing.cpp | 58 typedef intptr_t ArrTy[getSize(arg)]; in b() typedef 59 ArrTy buffer2; in b() 60 ArrTy buffer1[n + arg]; in b()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 99 const ArrayType *ArrTy = VD->getType()->getAsArrayTypeUnsafe(); in visitVariable() local 100 if (ArrTy == nullptr) in visitVariable() 103 if (const ConstantArrayType *CArrTy = dyn_cast<ConstantArrayType>(ArrTy)) in visitVariable() 107 const RecordType *RT = ArrTy->getElementType()->getAs<RecordType>(); in visitVariable()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 115 const ArrayType *ArrTy = VD->getType()->getAsArrayTypeUnsafe(); in visitVariable() local 116 if (ArrTy == nullptr) in visitVariable() 119 if (const ConstantArrayType *CArrTy = dyn_cast<ConstantArrayType>(ArrTy)) in visitVariable() 123 const RecordType *RT = ArrTy->getElementType()->getAs<RecordType>(); in visitVariable()
|
/external/turbine/java/com/google/turbine/parse/ |
D | Parser.java | 38 import com.google.turbine.tree.Tree.ArrTy; 954 ArrTy arrTy = (ArrTy) type; in extraDims() 955 return new ArrTy(arrTy.position(), arrTy.annos(), extraDims(arrTy.elem(), extra)); in extraDims() 957 return new ArrTy(type.position(), extra.pop(), extraDims(type, extra)); in extraDims() 995 ty = new ArrTy(position, typeAnnos, ty); in formalParam() 1001 ty = new ArrTy(position, typeAnnos, ty); in formalParam() 1250 ty = new ArrTy(position, typeAnnos, ty); in maybeDims()
|
D | ConstExpressionParser.java | 461 type = new Tree.ArrTy(position, ImmutableList.of(), type); in finishClassLiteral()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Operator.h | 400 while (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) in classof() local 401 Ty = ArrTy->getElementType(); in classof()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Operator.h | 400 while (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) in classof() local 401 Ty = ArrTy->getElementType(); in classof()
|
/external/turbine/java/com/google/turbine/tree/ |
D | Tree.java | 181 public static class ArrTy extends Type { class in Tree 184 public ArrTy(int position, ImmutableList<Anno> annos, Type elem) { in ArrTy() method in Tree.ArrTy 1268 O visitArrTy(ArrTy arrTy, I input); in visitArrTy()
|
D | Pretty.java | 105 public Void visitArrTy(Tree.ArrTy arrTy, Void input) { in visitArrTy()
|
/external/turbine/java/com/google/turbine/binder/ |
D | TypeBinder.java | 632 return bindArrTy(scope, (Tree.ArrTy) t); in bindTy() 710 private Type bindArrTy(CompoundScope scope, Tree.ArrTy t) { in bindArrTy()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1411 if (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) { in getNaturalGEPRecursively() local 1412 Type *ElementTy = ArrTy->getElementType(); in getNaturalGEPRecursively() 1415 if (NumSkippedElements.ugt(ArrTy->getNumElements())) in getNaturalGEPRecursively() 3173 if (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) { in stripAggregateTypeWrapping() local 3174 InnerTy = ArrTy->getElementType(); in stripAggregateTypeWrapping() 3219 if (ArrayType *ArrTy = dyn_cast<ArrayType>(SeqTy)) { in getTypePartition() local 3220 if (NumSkippedElements >= ArrTy->getNumElements()) in getTypePartition()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 2217 if (const auto *ArrTy = in EmitFunctionProlog() local 2223 if (ArrTy->getSizeModifier() == ArrayType::Static) { in EmitFunctionProlog() 2224 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() 2225 uint64_t ArrSize = ArrTy->getSize().getZExtValue(); in EmitFunctionProlog() 2239 } else if (const auto *ArrTy = in EmitFunctionProlog() local 2244 if (ArrTy->getSizeModifier() == VariableArrayType::Static && in EmitFunctionProlog() 2245 !getContext().getTargetAddressSpace(ArrTy->getElementType())) in EmitFunctionProlog()
|
/external/llvm-project/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 744 Type *ArrTy = ArrayType::get(ArrayType::get(ElementTy, 64), 64); in TEST() local 750 Value *V = Builder.CreateGEP(ArrTy, UndefValue::get(PointerType::getUnqual(ArrTy)), in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroSplit.cpp | 830 auto *ArrTy = ArrayType::get(Part->getType(), Args.size()); in setCoroInfo() local 832 auto *ConstVal = ConstantArray::get(ArrTy, Args); in setCoroInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2204 auto areMatchingArrayAndVecTypes = [](Type *ArrTy, Type *VecTy, in visitGetElementPtrInst() 2206 return ArrTy->getArrayElementType() == VecTy->getVectorElementType() && in visitGetElementPtrInst() 2207 ArrTy->getArrayNumElements() == VecTy->getVectorNumElements() && in visitGetElementPtrInst() 2208 DL.getTypeAllocSize(ArrTy) == DL.getTypeAllocSize(VecTy); in visitGetElementPtrInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1497 if (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) { in getNaturalGEPRecursively() local 1498 Type *ElementTy = ArrTy->getElementType(); in getNaturalGEPRecursively() 1501 if (NumSkippedElements.ugt(ArrTy->getNumElements())) in getNaturalGEPRecursively() 3476 if (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) { in stripAggregateTypeWrapping() local 3477 InnerTy = ArrTy->getElementType(); in stripAggregateTypeWrapping()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1501 if (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) { in getNaturalGEPRecursively() local 1502 Type *ElementTy = ArrTy->getElementType(); in getNaturalGEPRecursively() 1506 if (NumSkippedElements.ugt(ArrTy->getNumElements())) in getNaturalGEPRecursively() 3618 if (ArrayType *ArrTy = dyn_cast<ArrayType>(Ty)) { in stripAggregateTypeWrapping() local 3619 InnerTy = ArrTy->getElementType(); in stripAggregateTypeWrapping()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2374 auto areMatchingArrayAndVecTypes = [](Type *ArrTy, Type *VecTy, in visitGetElementPtrInst() 2377 return ArrTy->getArrayElementType() == VecVTy->getElementType() && in visitGetElementPtrInst() 2378 ArrTy->getArrayNumElements() == VecVTy->getNumElements() && in visitGetElementPtrInst() 2379 DL.getTypeAllocSize(ArrTy) == DL.getTypeAllocSize(VecTy); in visitGetElementPtrInst()
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroSplit.cpp | 937 auto *ArrTy = ArrayType::get(Part->getType(), Args.size()); in setCoroInfo() local 939 auto *ConstVal = ConstantArray::get(ArrTy, Args); in setCoroInfo()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 3977 auto *ArrTy = S.Context.getAsArrayType(AdjustedParamType); in DeduceFromInitializerList() local 3978 if (ArrTy) in DeduceFromInitializerList() 3979 ElTy = ArrTy->getElementType(); in DeduceFromInitializerList() 4004 if (auto *DependentArrTy = dyn_cast_or_null<DependentSizedArrayType>(ArrTy)) { in DeduceFromInitializerList()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2691 else if (ArrayType *ArrTy = dyn_cast<ArrayType>(CurrentInitTy)) in BatchCommitValueTo() local 2692 CurrentGV->setInitializer(ConstantArray::get(ArrTy, Elts)); in BatchCommitValueTo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2551 else if (ArrayType *ArrTy = dyn_cast<ArrayType>(CurrentInitTy)) in BatchCommitValueTo() local 2552 CurrentGV->setInitializer(ConstantArray::get(ArrTy, Elts)); in BatchCommitValueTo()
|