Home
last modified time | relevance | path

Searched refs:CompositeType (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h67 CompositeType *CT = cast<CompositeType>(CurTy.getPointer()); in getIndexedType()
80 } else if (CompositeType *CT =
81 dyn_cast<CompositeType>(CurTy.getPointer())) {
DDerivedTypes.h156 class CompositeType : public Type {
158 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {} in CompositeType() function
196 class StructType : public CompositeType {
200 : CompositeType(C, StructTyID), SymbolTableEntry(nullptr) {} in StructType()
314 class SequentialType : public CompositeType {
321 : CompositeType(ElType->getContext(), TID), ContainedType(ElType) { in SequentialType()
/external/llvm-project/mlir/lib/Conversion/VectorToSPIRV/
DVectorToSPIRV.cpp35 !spirv::CompositeType::isValid(broadcastOp.getVectorType())) in matchAndRewrite()
54 !spirv::CompositeType::isValid(extractOp.getVectorType())) in matchAndRewrite()
71 !spirv::CompositeType::isValid(insertOp.getDestVectorType())) in matchAndRewrite()
89 if (!spirv::CompositeType::isValid(extractElementOp.getVectorType())) in matchAndRewrite()
107 if (!spirv::CompositeType::isValid(insertElementOp.getDestVectorType())) in matchAndRewrite()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h160 class CompositeType : public Type {
162 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {} in CompositeType() function
199 class StructType : public CompositeType {
201 : CompositeType(C, StructTyID), SymbolTableEntry(nullptr) {} in StructType()
319 class SequentialType : public CompositeType {
325 : CompositeType(ElType->getContext(), TID), ContainedType(ElType), in SequentialType()
/external/llvm/lib/CodeGen/
DAnalysis.cpp376 static bool indexReallyValid(CompositeType *T, unsigned Idx) { in indexReallyValid()
400 static bool advanceToNextLeafType(SmallVectorImpl<CompositeType *> &SubTypes, in advanceToNextLeafType()
418 CompositeType *CT = cast<CompositeType>(DeeperType); in advanceToNextLeafType()
442 SmallVectorImpl<CompositeType *> &SubTypes, in firstRealType()
448 indexReallyValid(cast<CompositeType>(Next), 0)) { in firstRealType()
449 SubTypes.push_back(cast<CompositeType>(Next)); in firstRealType()
451 Next = cast<CompositeType>(Next)->getTypeAtIndex(0U); in firstRealType()
471 static bool nextRealType(SmallVectorImpl<CompositeType *> &SubTypes, in nextRealType()
576 SmallVector<CompositeType *, 4> RetSubTypes, CallSubTypes; in returnTypeIsEligibleForTailCall()
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java133 } else if (type instanceof CompositeType) { in isFullySpecified()
134 return ((CompositeType) type).isFullySpecified(); in isFullySpecified()
140 return ((CompositeType) canonicalize(type)).isFullySpecified(); in isFullySpecified()
153 } else if (type instanceof CompositeType) { in canonicalize()
352 implements ParameterizedType, Serializable, CompositeType {
450 implements GenericArrayType, Serializable, CompositeType {
490 public static class WildcardTypeImpl implements WildcardType, Serializable, CompositeType {
563 private interface CompositeType { interface in MoreTypes
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAnalysis.cpp398 static bool indexReallyValid(CompositeType *T, unsigned Idx) { in indexReallyValid()
422 static bool advanceToNextLeafType(SmallVectorImpl<CompositeType *> &SubTypes, in advanceToNextLeafType()
440 CompositeType *CT = cast<CompositeType>(DeeperType); in advanceToNextLeafType()
464 SmallVectorImpl<CompositeType *> &SubTypes, in firstRealType()
470 indexReallyValid(cast<CompositeType>(Next), 0)) { in firstRealType()
471 SubTypes.push_back(cast<CompositeType>(Next)); in firstRealType()
473 Next = cast<CompositeType>(Next)->getTypeAtIndex(0U); in firstRealType()
493 static bool nextRealType(SmallVectorImpl<CompositeType *> &SubTypes, in nextRealType()
672 SmallVector<CompositeType *, 4> RetSubTypes, CallSubTypes; in returnTypeIsEligibleForTailCall()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVTypes.h127 class CompositeType : public SPIRVType {
155 class ArrayType : public Type::TypeBase<ArrayType, CompositeType,
283 class StructType : public Type::TypeBase<StructType, CompositeType,
405 : public Type::TypeBase<CooperativeMatrixNVType, CompositeType,
428 class MatrixType : public Type::TypeBase<MatrixType, CompositeType,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h199 class CompositeType : public Type {
201 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {} in CompositeType() function
238 class StructType : public CompositeType {
239 StructType(LLVMContext &C) : CompositeType(C, StructTyID) {} in StructType()
380 class SequentialType : public CompositeType {
386 : CompositeType(ElType->getContext(), TID), ContainedType(ElType), in SequentialType()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVTypes.cpp166 bool CompositeType::classof(Type type) { in classof()
174 bool CompositeType::isValid(VectorType type) { in isValid()
188 Type CompositeType::getElementType(unsigned index) const { in getElementType()
199 unsigned CompositeType::getNumElements() const { in getNumElements()
219 bool CompositeType::hasCompileTimeKnownNumElements() const { in hasCompileTimeKnownNumElements()
223 void CompositeType::getExtensions( in getExtensions()
237 void CompositeType::getCapabilities( in getCapabilities()
257 Optional<int64_t> CompositeType::getSizeInBytes() { in getSizeInBytes()
722 return CompositeType::isValid(vectorType); in classof()
734 } else if (auto compositeType = dyn_cast<CompositeType>()) { in getExtensions()
[all …]
DSPIRVLowering.cpp272 if (!spirv::CompositeType::isValid(type)) {
284 type.cast<spirv::CompositeType>().getExtensions(extensions, storageClass);
285 type.cast<spirv::CompositeType>().getCapabilities(capabilities, storageClass);
/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
DRewriteInsertsPass.cpp84 op.composite().getType().cast<spirv::CompositeType>().getNumElements(); in collectInsertionChain()
/external/llvm/lib/IR/
DType.cpp554 Type *CompositeType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex()
565 Type *CompositeType::getTypeAtIndex(unsigned Idx) const{ in getTypeAtIndex()
574 bool CompositeType::indexValid(const Value *V) const { in indexValid()
591 bool CompositeType::indexValid(unsigned Idx) const { in indexValid()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp536 Type *CompositeType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex()
547 Type *CompositeType::getTypeAtIndex(unsigned Idx) const{ in getTypeAtIndex()
556 bool CompositeType::indexValid(const Value *V) const { in indexValid()
573 bool CompositeType::indexValid(unsigned Idx) const { in indexValid()
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp76 LLVMMetadataRef CompositeType, int IsLocalToUnit, int IsDefinition, in LLVMDIBuilderCreateFunction() argument
81 unwrap<DISubroutineType>(CompositeType), in LLVMDIBuilderCreateFunction()
DDIBuilderBindings.h57 LLVMMetadataRef CompositeType, int IsLocalToUnit, int IsDefinition,
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm8bitStorageTests.cpp1046 struct CompositeType in addCompute8bitStorage32To8Group() struct
1057 const CompositeType cTypes[] = in addCompute8bitStorage32To8Group()
1200 struct CompositeType in addCompute8bitUniform8To32Group() struct
1211 const CompositeType cTypes[] = in addCompute8bitUniform8To32Group()
1352 struct CompositeType in addCompute8bitStoragePushConstant8To32Group() struct
1364 const CompositeType cTypes[] = in addCompute8bitStoragePushConstant8To32Group()
1521 struct CompositeType in addCompute8bitStorage16To8Group() struct
1532 const CompositeType cTypes[] = in addCompute8bitStorage16To8Group()
1682 struct CompositeType in addCompute8bitUniform8To16Group() struct
1693 const CompositeType cTypes[] = in addCompute8bitUniform8To16Group()
[all …]
DvktSpvAsm16bitStorageTests.cpp1238 struct CompositeType in addCompute16bitStorageUniform16To32Group() struct
1250 const CompositeType cTypes[2][5] = in addCompute16bitStorageUniform16To32Group()
1379 struct CompositeType in addCompute16bitStorageUniform16To32Group() struct
1394 const CompositeType cTypes[2][8] = in addCompute16bitStorageUniform16To32Group()
1782 struct CompositeType in addCompute16bitStoragePushConstant16To32Group() struct
1793 const CompositeType cTypes[] = in addCompute16bitStoragePushConstant16To32Group()
1893 struct CompositeType in addCompute16bitStoragePushConstant16To32Group() struct
1907 const CompositeType cTypes[] = in addCompute16bitStoragePushConstant16To32Group()
2417 struct CompositeType in addCompute16bitStorageUniform32To16Group() struct
2427 const CompositeType cTypes[2][3] = in addCompute16bitStorageUniform32To16Group()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp247 auto *CTy = cast<CompositeType>(Cur[0]->getType()); in validInsertValueIndex()
257 auto *CTy = cast<CompositeType>(Cur[0]->getType()); in validInsertValueIndex()
/external/deqp/external/vulkancts/scripts/
Dgen_framework.py323 class CompositeType: class
336 names = {CompositeType.CLASS_STRUCT: 'struct', CompositeType.CLASS_UNION: 'union'}
485 return CompositeType(type, name, members)
488 typeMap = { 'struct': CompositeType.CLASS_STRUCT, 'union': CompositeType.CLASS_UNION }
513 typeMap = { 'struct': CompositeType.CLASS_STRUCT, 'union': CompositeType.CLASS_UNION }
1498 return type.typeClass == CompositeType.CLASS_STRUCT and \
/external/swiftshader/src/Pipeline/
DSpirvShaderDebugger.cpp360 CompositeType, enumerator
404 case Object::Kind::CompositeType: return "CompositeType"; in cstr()
491 kind == Kind::CompositeType || in kindof()
690 struct CompositeType *parent = nullptr;
699 struct CompositeType : ObjectImpl<CompositeType, Type, Object::Kind::CompositeType> struct
1636 defineOrEmit(insn, pass, [&](debug::CompositeType *type) { in process()
1663 member->parent = get(debug::CompositeType::ID(insn.word(10))); in process()
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp152 if (isa<CompositeType>(C->getType())) in RemoveDeadConstant()
DArgumentPromotion.cpp175 if (!isa<CompositeType>(type)) in isDenselyPacked()
839 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II); in DoPromotion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DStripSymbols.cpp152 if (isa<CompositeType>(C->getType())) in RemoveDeadConstant()
DArgumentPromotion.cpp298 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II); in doPromotion()
788 if (!isa<CompositeType>(type)) in isDenselyPacked()

12