Home
last modified time | relevance | path

Searched refs:ArrayTy (Results 1 – 25 of 74) sorted by relevance

123

/external/turbine/java/com/google/turbine/types/
DErasure.java26 import com.google.turbine.type.Type.ArrayTy;
41 return eraseArrayTy((Type.ArrayTy) ty, tenv); in erase()
79 private static Type.ArrayTy eraseArrayTy( in eraseArrayTy()
80 Type.ArrayTy ty, Function<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tenv) { in eraseArrayTy()
81 return ArrayTy.create(erase(ty.elementType(), tenv), ty.annos()); in eraseArrayTy()
DCanonicalize.java30 import com.google.turbine.type.Type.ArrayTy;
109 Type.ArrayTy arrayTy = (Type.ArrayTy) type; in canonicalize()
110 return Type.ArrayTy.create(canonicalize(base, arrayTy.elementType()), arrayTy.annos()); in canonicalize()
298 ArrayTy arrayTy = (ArrayTy) type; in instantiate()
300 return ArrayTy.create(elem, arrayTy.annos()); in instantiate()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMsgPackDocument.h43 typedef std::vector<DocNode> ArrayTy; typedef
60 ArrayTy *Array;
225 ArrayTy::iterator begin() { return Array->begin(); } in begin()
226 ArrayTy::iterator end() { return Array->end(); } in end()
243 std::vector<std::unique_ptr<DocNode::ArrayTy>> Arrays;
343 Arrays.push_back(std::unique_ptr<DocNode::ArrayTy>(new DocNode::ArrayTy)); in getArrayNode()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DMsgPackDocument.h43 typedef std::vector<DocNode> ArrayTy; typedef
60 ArrayTy *Array;
258 ArrayTy::iterator begin() { return Array->begin(); } in begin()
259 ArrayTy::iterator end() { return Array->end(); } in end()
276 std::vector<std::unique_ptr<DocNode::ArrayTy>> Arrays;
382 Arrays.push_back(std::unique_ptr<DocNode::ArrayTy>(new DocNode::ArrayTy)); in getArrayNode()
/external/turbine/javatests/com/google/turbine/lower/
DLowerSignatureTest.java27 import com.google.turbine.type.Type.ArrayTy;
159 ArrayTy.create( in array()
160 ArrayTy.create( in array()
161 ArrayTy.create( in array()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp66 if (const ConstantArrayType *ArrayTy = in evenFlexibleArraySize() local
69 if (ArrayTy->getSize() == 1 && TypeSize > FlexSize) in evenFlexibleArraySize()
71 else if (ArrayTy->getSize() != 0) in evenFlexibleArraySize()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp65 if (const ConstantArrayType *ArrayTy = in evenFlexibleArraySize() local
68 if (ArrayTy->getSize() == 1 && TypeSize > FlexSize) in evenFlexibleArraySize()
70 else if (ArrayTy->getSize() != 0) in evenFlexibleArraySize()
/external/llvm-project/polly/lib/CodeGen/
DManagedMemoryRewrite.cpp182 ArrayType *ArrayTy = dyn_cast<ArrayType>(Array.getType()->getElementType()); in replaceGlobalArray() local
183 if (!ArrayTy) in replaceGlobalArray()
185 Type *ElemTy = ArrayTy->getElementType(); in replaceGlobalArray()
231 const uint64_t ArraySizeInt = DL.getTypeAllocSize(ArrayTy); in replaceGlobalArray()
261 ArrPtrLoaded, ArrayTy->getPointerTo(), "arrptr.bitcast"); in replaceGlobalArray()
/external/llvm/unittests/IR/
DConstantsTest.cpp329 ArrayType *ArrayTy = ArrayType::get(IntTy, 2); in TEST() local
332 Constant *A01 = ConstantArray::get(ArrayTy, A01Vals); in TEST()
338 Constant *A0G = ConstantArray::get(ArrayTy, A0GVals); in TEST()
342 new GlobalVariable(*M, ArrayTy, false, GlobalValue::ExternalLinkage, A0G); in TEST()
424 ArrayType *ArrayTy = ArrayType::get(T, 2); in TEST() local
426 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST()
433 ArrayType *ArrayTy = ArrayType::get(T, 2); in TEST() local
435 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST()
/external/turbine/java/com/google/turbine/processing/
DTurbineTypes.java44 import com.google.turbine.type.Type.ArrayTy;
128 && isSameType(((ArrayTy) a).elementType(), ((ArrayTy) b).elementType()); in isSameType()
344 return isArraySubtype((ArrayTy) a, b, strict); in isSubtype()
385 private boolean isArraySubtype(ArrayTy a, Type b, boolean strict) { in isArraySubtype()
389 Type be = ((ArrayTy) b).elementType(); in isArraySubtype()
551 return substArrayTy((ArrayTy) type, mapping); in subst()
607 private Type substArrayTy(ArrayTy type, Map<TyVarSymbol, Type> mapping) { in substArrayTy()
608 return ArrayTy.create(subst(type.elementType(), mapping), type.annos()); in substArrayTy()
840 return directSupertypes((ArrayTy) t); in directSupertypes()
853 private ImmutableList<Type> directSupertypes(ArrayTy t) { in directSupertypes()
[all …]
DTurbineTypeMirror.java35 import com.google.turbine.type.Type.ArrayTy;
270 private final ArrayTy type;
272 TurbineArrayType(ModelFactory factory, ArrayTy type) { in TurbineArrayType()
/external/llvm-project/clang/test/Layout/
Dms-x86-basic-layout.cpp804 typedef A4 ArrayTy[2]; typedef
805 ArrayTy InlineElts[2];
/external/clang/test/Layout/
Dms-x86-basic-layout.cpp804 typedef A4 ArrayTy[2]; typedef
805 ArrayTy InlineElts[2];
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java38 import com.google.turbine.type.Type.ArrayTy;
63 return arrayTySig((ArrayTy) ty); in signature()
79 private Sig.ArrayTySig arrayTySig(ArrayTy t) { in arrayTySig()
254 return needsSig(((ArrayTy) ty).elementType()); in needsSig()
DLower.java71 import com.google.turbine.type.Type.ArrayTy;
772 Deque<ArrayTy> flat = new ArrayDeque<>(); in lowerArrayTypeAnnotations()
773 while (base instanceof ArrayTy) { in lowerArrayTypeAnnotations()
774 ArrayTy arrayTy = (ArrayTy) base; in lowerArrayTypeAnnotations()
778 for (ArrayTy arrayTy : flat) { in lowerArrayTypeAnnotations()
/external/turbine/java/com/google/turbine/binder/
DDisambiguateTypeAnnotations.java41 import com.google.turbine.type.Type.ArrayTy;
232 ArrayTy arrayTy = (ArrayTy) type; in addAnnotationsToType()
233 return ArrayTy.create(addAnnotationsToType(arrayTy.elementType(), extra), arrayTy.annos()); in addAnnotationsToType()
DConstBinder.java46 import com.google.turbine.type.Type.ArrayTy;
320 ArrayTy arrayTy = (ArrayTy) type; in bindType()
321 return ArrayTy.create( in bindType()
/external/llvm-project/llvm/unittests/IR/
DConstantsTest.cpp329 ArrayType *ArrayTy = ArrayType::get(IntTy, 2); in TEST() local
332 Constant *A01 = ConstantArray::get(ArrayTy, A01Vals); in TEST()
338 Constant *A0G = ConstantArray::get(ArrayTy, A0GVals); in TEST()
342 new GlobalVariable(*M, ArrayTy, false, GlobalValue::ExternalLinkage, A0G); in TEST()
424 ArrayType *ArrayTy = ArrayType::get(T, 2); in TEST() local
426 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST()
433 ArrayType *ArrayTy = ArrayType::get(T, 2); in TEST() local
435 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST()
/external/llvm-project/llvm/include/llvm/Bitcode/
DBitcodeConvenience.h260 template <typename BufferTy, typename ArrayTy>
262 unsigned code, const ArrayTy &array) { in emit()
290 template <typename T, typename ArrayTy>
291 static void read(ArrayRef<T> buffer, ArrayTy &array) { in read()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp341 static FixedVectorType *arrayTypeToVecType(ArrayType *ArrayTy) { in arrayTypeToVecType() argument
342 return FixedVectorType::get(ArrayTy->getElementType(), in arrayTypeToVecType()
343 ArrayTy->getNumElements()); in arrayTypeToVecType()
438 if (auto *ArrayTy = dyn_cast<ArrayType>(AllocaTy)) { in tryPromoteAllocaToVector() local
439 if (VectorType::isValidElementType(ArrayTy->getElementType()) && in tryPromoteAllocaToVector()
440 ArrayTy->getNumElements() > 0) in tryPromoteAllocaToVector()
441 VectorTy = arrayTypeToVecType(ArrayTy); in tryPromoteAllocaToVector()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackDocument.cpp174 DocNode::ArrayTy::iterator ArrayIt;
195 {Node, Node.getMap().begin(), DocNode::ArrayTy::iterator(), true}); in writeToBlob()
/external/turbine/javatests/com/google/turbine/processing/
DTurbineTypesFactoryTest.java32 import com.google.turbine.type.Type.ArrayTy;
102 ArrayTy.create( in arrayType()
DTurbineTypeMirrorTest.java111 Type.ArrayTy.create( in equals()
238 Type.ArrayTy.create( in arrayType()
/external/llvm-project/llvm/lib/BinaryFormat/
DMsgPackDocument.cpp242 DocNode::ArrayTy::iterator ArrayIt;
263 {Node, Node.getMap().begin(), DocNode::ArrayTy::iterator(), true}); in writeToBlob()
/external/turbine/java/com/google/turbine/type/
DType.java229 abstract class ArrayTy implements Type { class
231 public static ArrayTy create(Type elem, ImmutableList<AnnoInfo> annos) { in create()

123