| /llvm-project-15.0.7/mlir/lib/Conversion/VectorToLLVM/ |
| H A D | ConvertVectorToLLVM.cpp | 444 rewriter, loc, llvmType, operand, acc); in matchAndRewrite() 450 rewriter, loc, llvmType, operand, acc); in matchAndRewrite() 476 rewriter, loc, llvmType, operand, acc); in matchAndRewrite() 482 rewriter, loc, llvmType, operand, acc); in matchAndRewrite() 488 rewriter, loc, llvmType, operand, acc); in matchAndRewrite() 510 reductionOp, llvmType, acc, operand, in matchAndRewrite() 520 reductionOp, llvmType, acc, operand, in matchAndRewrite() 564 if (!llvmType) in matchAndRewrite() 600 llvmType, rank, insPos++); in matchAndRewrite() 620 if (!llvmType) in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | ModuleTranslation.cpp | 188 llvm::Type *llvmType, in convertDenseElementsAttr() argument 274 llvm::Type *llvmType, Attribute attr, Location loc, in getLLVMConstant() argument 277 return llvm::UndefValue::get(llvmType); in getLLVMConstant() 278 if (auto *structType = dyn_cast<::llvm::StructType>(llvmType)) { in getLLVMConstant() 299 llvmType, in getLLVMConstant() 302 if (llvmType != in getLLVMConstant() 303 llvm::Type::getFloatingPointTy(llvmType->getContext(), in getLLVMConstant() 308 return llvm::ConstantFP::get(llvmType, floatAttr.getValue()); in getLLVMConstant() 317 if (auto *arrayTy = dyn_cast<llvm::ArrayType>(llvmType)) { in getLLVMConstant() 342 if (llvmType->isVectorTy()) in getLLVMConstant() [all …]
|
| /llvm-project-15.0.7/llvm/utils/vim/syntax/ |
| H A D | llvm.vim | 17 syn keyword llvmType void half bfloat float double x86_fp80 fp128 ppc_fp128 18 syn keyword llvmType label metadata x86_mmx x86_amx 19 syn keyword llvmType type label opaque token ptr 20 syn match llvmType /\<i\d\+\>/ 227 syn match llvmType /!\zs\a\+\ze\s*(/ 253 HiLink llvmType Type
|
| /llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/ |
| H A D | MemRefBuilder.cpp | 209 Type llvmType = converter.convertType(type); in pack() local 210 auto d = MemRefDescriptor::undef(builder, loc, llvmType); in pack() 316 Type llvmType = converter.convertType(type); in pack() local 317 auto d = UnrankedMemRefDescriptor::undef(builder, loc, llvmType); in pack()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | LLVMDialect.cpp | 1354 auto llvmType = LLVM::getVectorElementType(vectorType); in build() local 1355 build(b, result, llvmType, vector, position); in build() 1421 Type llvmType = containerType; in getInsertExtractValueElementType() local 1441 llvmType = arrayType.getElementType(); in getInsertExtractValueElementType() 1447 llvmType = structType.getBody()[position]; in getInsertExtractValueElementType() 1453 return llvmType; in getInsertExtractValueElementType() 1461 Type llvmType = containerType; in getInsertExtractValueElementType() local 1485 llvmType = arrayType.getElementType(); in getInsertExtractValueElementType() 1492 llvmType = structType.getBody()[position]; in getInsertExtractValueElementType() 1495 << llvmType; in getInsertExtractValueElementType() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/ |
| H A D | FuncToLLVM.cpp | 293 auto llvmType = getTypeConverter()->convertFunctionSignature( in convertFuncOpToLLVMFuncOp() local 296 if (!llvmType) in convertFuncOpToLLVMFuncOp() 316 llvmType.cast<LLVM::LLVMFunctionType>().getNumParams()); in convertFuncOpToLLVMFuncOp() 348 funcOp.getLoc(), funcOp.getName(), llvmType, linkage, in convertFuncOpToLLVMFuncOp()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | SPIRVToLLVM.cpp | 119 Type llvmType, in optionallyTruncateOrExtend() argument 122 unsigned targetBitWidth = getLLVMTypeBitWidth(llvmType); in optionallyTruncateOrExtend() 128 return rewriter.create<LLVM::ZExtOp>(loc, llvmType, value); in optionallyTruncateOrExtend() 134 return rewriter.create<LLVM::TruncOp>(loc, llvmType, value); in optionallyTruncateOrExtend() 1295 auto llvmType = typeConverter.convertFunctionSignature( in matchAndRewrite() local 1297 if (!llvmType) in matchAndRewrite() 1303 auto newFuncOp = rewriter.create<LLVM::LLVMFuncOp>(loc, name, llvmType); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/include/mlir/Target/LLVMIR/ |
| H A D | ModuleTranslation.h | 352 llvm::Constant *getLLVMConstant(llvm::Type *llvmType, Attribute attr,
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | SwiftCallingConv.cpp | 114 auto *llvmType = CGM.getTypes().ConvertType(type); in addTypedData() local 115 addTypedData(llvmType, begin); in addTypedData()
|
| H A D | CGBlocks.cpp | 612 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo() local 616 addBlockLayout(TInfo.Align, TInfo.Width, nullptr, llvmType, thisType, in computeBlockInfo() 661 llvm::Type *llvmType = in computeBlockInfo() local 664 addBlockLayout(align, size, &CI, llvmType, VT, layout, info, CGM); in computeBlockInfo()
|
| H A D | CGExpr.cpp | 4546 llvm::Type *llvmType = ConvertTypeForMem(FieldType); in EmitLValueForFieldInitialization() local 4547 V = Builder.CreateElementBitCast(V, llvmType, Field->getName()); in EmitLValueForFieldInitialization()
|