Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/CodeGen/
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()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp222 auto llvmTy = type.dyn_cast<LLVM::LLVMType>(); in getLoadStoreElementType() local
223 if (!llvmTy) in getLoadStoreElementType()
226 if (!llvmTy.isPointerTy()) in getLoadStoreElementType()
229 return llvmTy.getPointerElementTy(); in getLoadStoreElementType()
1342 auto llvmTy = t.dyn_cast<LLVMType>(); in buildLLVMFunctionType() local
1343 if (!llvmTy) { in buildLLVMFunctionType()
1348 llvmInputs.push_back(llvmTy); in buildLLVMFunctionType()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp91 auto llvmTy = converter.convertCallingConventionType(type); in barePtrFuncArgTypeConverter() local
92 if (!llvmTy) in barePtrFuncArgTypeConverter()
95 result.push_back(llvmTy); in barePtrFuncArgTypeConverter()
1514 auto llvmTy = info.llvmArrayTy; in extractNDVectorTypeInfo() local
1515 while (llvmTy.isArrayTy()) { in extractNDVectorTypeInfo()
1516 info.arraySizes.push_back(llvmTy.getArrayNumElements()); in extractNDVectorTypeInfo()
1517 llvmTy = llvmTy.getArrayElementType(); in extractNDVectorTypeInfo()
1519 if (!llvmTy.isVectorTy()) in extractNDVectorTypeInfo()
1521 info.llvmVectorTy = llvmTy; in extractNDVectorTypeInfo()
/external/clang/lib/CodeGen/
DCGDecl.cpp1085 llvm::Type *llvmTy = ConvertTypeForMem(elementType); in EmitAutoVarAlloca() local
1088 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); in EmitAutoVarAlloca()
/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp1579 llvm::Type *llvmTy = ConvertTypeForMem(VlaSize.Type); in EmitAutoVarAlloca() local
1582 address = CreateTempAlloca(llvmTy, alignment, "vla", VlaSize.NumElts, in EmitAutoVarAlloca()