Home
last modified time | relevance | path

Searched refs:llvmTy (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DVectorPattern.cpp29 auto llvmTy = info.llvmNDVectorTy; in extractNDVectorTypeInfo() local
30 while (llvmTy.isa<LLVM::LLVMArrayType>()) { in extractNDVectorTypeInfo()
32 llvmTy.cast<LLVM::LLVMArrayType>().getNumElements()); in extractNDVectorTypeInfo()
33 llvmTy = llvmTy.cast<LLVM::LLVMArrayType>().getElementType(); in extractNDVectorTypeInfo()
35 if (!LLVM::isCompatibleVectorType(llvmTy)) in extractNDVectorTypeInfo()
37 info.llvm1DVectorTy = llvmTy; in extractNDVectorTypeInfo()
H A DTypeConverter.cpp565 auto llvmTy = converter.convertCallingConventionType(type); in barePtrFuncArgTypeConverter() local
566 if (!llvmTy) in barePtrFuncArgTypeConverter()
569 result.push_back(llvmTy); in barePtrFuncArgTypeConverter()
/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DCodeGenExternalTest.cpp197 llvm::Type *llvmTy = CodeGen::convertTypeForMemory(CGM, qType); in test_codegen_fns() local
198 ASSERT_TRUE(llvmTy != NULL); in test_codegen_fns()
200 llvmTy->print(dbgs(), true); in test_codegen_fns()
204 auto* structTy = dyn_cast<llvm::StructType>(llvmTy); in test_codegen_fns()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp792 auto llvmTy = type.dyn_cast<LLVM::LLVMPointerType>(); in getLoadStoreElementType() local
793 if (!llvmTy) { in getLoadStoreElementType()
797 return llvmTy.getElementType(); in getLoadStoreElementType()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDecl.cpp1597 llvm::Type *llvmTy = ConvertTypeForMem(VlaSize.Type); in EmitAutoVarAlloca() local
1600 address = CreateTempAlloca(llvmTy, alignment, "vla", VlaSize.NumElts, in EmitAutoVarAlloca()