Home
last modified time | relevance | path

Searched refs:llvmType (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp38 Value val1, Value val2, Type llvmType, int64_t rank, in insertOne() argument
45 return rewriter.create<LLVM::InsertElementOp>(loc, llvmType, val1, val2, in insertOne()
48 return rewriter.create<LLVM::InsertValueOp>(loc, llvmType, val1, val2, in insertOne()
66 Value val, Type llvmType, int64_t rank, int64_t pos) { in extractOne() argument
72 return rewriter.create<LLVM::ExtractElementOp>(loc, llvmType, val, in extractOne()
75 return rewriter.create<LLVM::ExtractValueOp>(loc, llvmType, val, in extractOne()
548 Type llvmType = typeConverter->convertType(eltType); in matchAndRewrite() local
553 op, llvmType, operands[0]); in matchAndRewrite()
556 op, llvmType, operands[0]); in matchAndRewrite()
560 op, llvmType, operands[0]); in matchAndRewrite()
[all …]
/external/llvm-project/llvm/utils/vim/syntax/
Dllvm.vim17 syn keyword llvmType void half bfloat float double x86_fp80 fp128 ppc_fp128
18 syn keyword llvmType label metadata x86_mmx
19 syn keyword llvmType type label opaque token
20 syn match llvmType /\<i\d\+\>/
197 syn match llvmType /!\zs\a\+\ze\s*(/
222 HiLink llvmType Type
/external/llvm/utils/vim/syntax/
Dllvm.vim17 syn keyword llvmType void half float double x86_fp80 fp128 ppc_fp128
18 syn keyword llvmType label metadata x86_mmx
19 syn keyword llvmType type label opaque token
20 syn match llvmType /\<i\d\+\>/
174 syn match llvmType /!\zs\a\+\ze\s*(/
196 HiLink llvmType Type
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp104 llvm::Constant *ModuleTranslation::getLLVMConstant(llvm::Type *llvmType, in getLLVMConstant() argument
108 return llvm::UndefValue::get(llvmType); in getLLVMConstant()
109 if (llvmType->isStructTy()) { in getLLVMConstant()
117 llvmType, in getLLVMConstant()
118 intAttr.getValue().sextOrTrunc(llvmType->getIntegerBitWidth())); in getLLVMConstant()
120 return llvm::ConstantFP::get(llvmType, floatAttr.getValue()); in getLLVMConstant()
123 functionMapping.lookup(funcAttr.getValue()), llvmType); in getLLVMConstant()
127 if (auto *arrayTy = dyn_cast<llvm::ArrayType>(llvmType)) { in getLLVMConstant()
131 auto *vectorTy = cast<llvm::FixedVectorType>(llvmType); in getLLVMConstant()
145 if (llvmType->isVectorTy()) in getLLVMConstant()
[all …]
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp735 auto llvmType = wrappedVectorType.getVectorElementType(); in build() local
736 build(b, result, llvmType, vector, position); in build()
1072 if (auto llvmType = type.dyn_cast<LLVM::LLVMType>()) { in verify() local
1073 if (llvmType.isVectorTy()) in verify()
1074 llvmType = llvmType.getVectorElementType(); in verify()
1075 if (llvmType.isIntegerTy() || llvmType.isBFloatTy() || in verify()
1076 llvmType.isHalfTy() || llvmType.isFloatTy() || in verify()
1077 llvmType.isDoubleTy()) { in verify()
1446 auto llvmType = getTypeAttr().getValue().dyn_cast_or_null<LLVMType>(); in verifyType() local
1447 if (!llvmType || !llvmType.isFunctionTy()) in verifyType()
[all …]
/external/llvm-project/mlir/include/mlir/Target/LLVMIR/
DModuleTranslation.h123 llvm::Constant *getLLVMConstant(llvm::Type *llvmType, Attribute attr,
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp120 auto llvmType = dstType.cast<LLVM::LLVMType>(); in optionallyTruncateOrExtend() local
121 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()
1290 auto llvmType = typeConverter.convertFunctionSignature( in matchAndRewrite() local
1292 if (!llvmType) in matchAndRewrite()
1298 auto newFuncOp = rewriter.create<LLVM::LLVMFuncOp>(loc, name, llvmType); in matchAndRewrite()
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp97 auto llvmType = CGM.getTypes().ConvertType(type); in addTypedData() local
98 addTypedData(llvmType, begin); in addTypedData()
DCGBlocks.cpp354 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo() local
361 nullptr, llvmType)); in computeBlockInfo()
439 llvm::Type *llvmType = in computeBlockInfo() local
442 layout.push_back(BlockLayoutChunk(align, size, lifetime, &CI, llvmType)); in computeBlockInfo()
DCGExpr.cpp3432 llvm::Type *llvmType = ConvertTypeForMem(FieldType); in EmitLValueForFieldInitialization() local
3433 V = Builder.CreateElementBitCast(V, llvmType, Field->getName()); in EmitLValueForFieldInitialization()
/external/llvm-project/clang/lib/CodeGen/
DSwiftCallingConv.cpp113 auto *llvmType = CGM.getTypes().ConvertType(type); in addTypedData() local
114 addTypedData(llvmType, begin); in addTypedData()
DCGBlocks.cpp559 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo() local
565 nullptr, llvmType, thisType)); in computeBlockInfo()
656 llvm::Type *llvmType = in computeBlockInfo() local
660 BlockLayoutChunk(align, size, lifetime, &CI, llvmType, VT)); in computeBlockInfo()
DCGExpr.cpp4444 llvm::Type *llvmType = ConvertTypeForMem(FieldType); in EmitLValueForFieldInitialization() local
4445 V = Builder.CreateElementBitCast(V, llvmType, Field->getName()); in EmitLValueForFieldInitialization()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMOps.td62 auto llvmType = resultType.dyn_cast<LLVMType>(); (void)llvmType;
63 assert(llvmType && "result must be an LLVM type");
64 assert(llvmType.isVoidTy() &&
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp694 Type llvmType = converter.convertType(type); in pack() local
695 auto d = MemRefDescriptor::undef(builder, loc, llvmType); in pack()
802 Type llvmType = converter.convertType(type); in pack() local
803 auto d = UnrankedMemRefDescriptor::undef(builder, loc, llvmType); in pack()
1354 auto llvmType = getTypeConverter()->convertFunctionSignature( in convertFuncOpToLLVMFuncOp() local
1356 if (!llvmType) in convertFuncOpToLLVMFuncOp()
1382 funcOp.getLoc(), funcOp.getName(), llvmType, LLVM::Linkage::External, in convertFuncOpToLLVMFuncOp()