Home
last modified time | relevance | path

Searched refs:structTy (Results 1 – 12 of 12) sorted by relevance

/external/llvm/test/CodeGen/X86/
Dstores-merging.ll6 %structTy = type { i8, i32, i32 }
8 @e = common global %structTy zeroinitializer, align 4
21 store i32 1, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 1), align 4
22 store i32 123, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 2), align 4
23 store i32 456, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 2), align 4
34 store i32 123, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 2), align 4
35 store i32 456, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 2), align 4
36 store i32 1, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 1), align 4
/external/llvm-project/clang/include/clang/CodeGen/
DConstantInitBuilder.h328 llvm::Constant *finishStruct(llvm::StructType *structTy);
472 llvm::StructType *structTy) in ConstantStructBuilderTemplateBase() argument
473 : super(builder, parent), StructTy(structTy) { in ConstantStructBuilderTemplateBase()
474 if (structTy) this->Packed = structTy->isPacked(); in ConstantStructBuilderTemplateBase()
484 void suggestType(llvm::StructType *structTy) { in suggestType() argument
485 if (this->size() == structTy->getNumElements()) { in suggestType()
486 StructTy = structTy; in suggestType()
518 StructBuilder beginStruct(llvm::StructType *structTy = nullptr) {
519 return StructBuilder(static_cast<InitBuilder&>(*this), nullptr, structTy);
572 llvm::StructType *structTy) in ConstantStructBuilder() argument
[all …]
DCGFunctionInfo.h351 if (auto structTy = in getCoerceAndExpandTypeSequence() local
353 return structTy->elements(); in getCoerceAndExpandTypeSequence()
/external/llvm-project/clang/unittests/CodeGen/
DCodeGenExternalTest.cpp204 auto* structTy = dyn_cast<llvm::StructType>(llvmTy); in test_codegen_fns() local
205 ASSERT_TRUE(structTy != NULL); in test_codegen_fns()
229 llvm::Type* xTy = structTy->getTypeAtIndex(x); in test_codegen_fns()
230 llvm::Type* yTy = structTy->getTypeAtIndex(y); in test_codegen_fns()
231 llvm::Type* zTy = structTy->getTypeAtIndex(z); in test_codegen_fns()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DDialect.cpp364 StructType structTy = input.getType().cast<StructType>(); in build() local
365 assert(index < structTy.getNumElementTypes()); in build()
366 mlir::Type resultType = structTy.getElementTypes()[index]; in build()
373 StructType structTy = op.input().getType().cast<StructType>(); in verify() local
375 if (index >= structTy.getNumElementTypes()) in verify()
379 if (resultType != structTy.getElementTypes()[index]) in verify()
/external/llvm-project/llvm/test/CodeGen/X86/
Dstores-merging.ll4 %structTy = type { i8, i32, i32 }
6 @e = common global %structTy zeroinitializer, align 4
19 store i32 1, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 1), align 4
20 store i32 123, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 2), align 4
21 store i32 456, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 2), align 4
33 store i32 123, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 2), align 4
34 store i32 456, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 2), align 4
35 store i32 1, i32* getelementptr inbounds (%structTy, %structTy* @e, i64 0, i32 1), align 4
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h290 if (auto structTy = in getCoerceAndExpandTypeSequence() local
292 return structTy->elements(); in getCoerceAndExpandTypeSequence()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp338 const Struct* structTy = type->AsStruct(); in GetTypeInstruction() local
339 for (auto ty : structTy->element_types()) { in GetTypeInstruction()
476 if (const Struct* structTy = type->AsStruct()) { in AttachDecorations() local
477 for (auto pair : structTy->element_decorations()) { in AttachDecorations()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtype_manager.cpp338 const Struct* structTy = type->AsStruct(); in GetTypeInstruction() local
339 for (auto ty : structTy->element_types()) { in GetTypeInstruction()
476 if (const Struct* structTy = type->AsStruct()) { in AttachDecorations() local
477 for (auto pair : structTy->element_decorations()) { in AttachDecorations()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dtype_manager.cpp338 const Struct* structTy = type->AsStruct(); in GetTypeInstruction() local
339 for (auto ty : structTy->element_types()) { in GetTypeInstruction()
476 if (const Struct* structTy = type->AsStruct()) { in AttachDecorations() local
477 for (auto pair : structTy->element_decorations()) { in AttachDecorations()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp1466 auto structTy = spirv::StructType::getIdentified(context, structIdentifier); in processStructType() local
1467 typeMap[structID] = structTy; in processStructType()
1470 deferredStructTypesInfos.push_back({structTy, unresolvedMemberTypes, in processStructType()
1473 else if (failed(structTy.trySetBody(memberTypes, offsetInfo, in processStructType()
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp2426 auto &structTy = getType(structPtrTy.element); in EmitArrayLength() local
2427 auto arrayId = Type::ID(structTy.definition.word(2 + arrayFieldIdx)); in EmitArrayLength()