Home
last modified time | relevance | path

Searched refs:KindTy (Results 1 – 25 of 57) sorted by relevance

123

/external/llvm-project/flang/include/flang/Optimizer/Support/
DKindMapping.h45 using KindTy = unsigned;
54 Bitsize getCharacterBitsize(KindTy kind) const;
57 Bitsize getIntegerBitsize(KindTy kind) const;
60 Bitsize getLogicalBitsize(KindTy kind) const;
63 Bitsize getRealBitsize(KindTy kind) const;
66 LLVMTypeID getRealTypeID(KindTy kind) const;
69 LLVMTypeID getComplexTypeID(KindTy kind) const;
74 const llvm::fltSemantics &getFloatSemantics(KindTy kind) const;
81 llvm::DenseMap<std::pair<char, KindTy>, Bitsize> intMap;
82 llvm::DenseMap<std::pair<char, KindTy>, LLVMTypeID> floatMap;
/external/llvm-project/flang/lib/Optimizer/Support/
DKindMapping.cpp19 using KindTy = fir::KindMapping::KindTy; typedef
29 static Bitsize defaultScalingKind(KindTy kind) { in defaultScalingKind()
37 static LLVMTypeID defaultRealKind(KindTy kind) { in defaultRealKind()
56 static RT doLookup(std::function<RT(KindTy)> def, in doLookup()
57 const llvm::DenseMap<std::pair<char, KindTy>, RT> &map, in doLookup() argument
58 KindTy kind) { in doLookup()
59 std::pair<char, KindTy> key{KEY, kind}; in doLookup()
68 static Bitsize getIntegerLikeBitsize(KindTy kind, const MAP &map) { in getIntegerLikeBitsize()
74 static LLVMTypeID getFloatLikeTypeID(KindTy kind, const MAP &map) { in getFloatLikeTypeID()
79 static const llvm::fltSemantics &getFloatSemanticsOfKind(KindTy kind, in getFloatSemanticsOfKind()
[all …]
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp364 using KeyTy = KindTy;
371 KindTy kind) { in construct()
376 KindTy getFKind() const { return kind; } in getFKind()
379 KindTy kind;
383 explicit CharacterTypeStorage(KindTy kind) : kind{kind} {} in CharacterTypeStorage()
411 using KeyTy = KindTy;
418 KindTy) { in construct()
425 explicit FieldTypeStorage(KindTy) {} in FieldTypeStorage()
430 using KeyTy = KindTy;
437 KindTy) { in construct()
[all …]
/external/llvm-project/flang/include/flang/Optimizer/Dialect/
DFIRType.h35 using KindTy = int; variable
101 static CharacterType get(mlir::MLIRContext *ctxt, KindTy kind);
102 KindTy getFKind() const;
112 static CplxType get(mlir::MLIRContext *ctxt, KindTy kind);
117 KindTy getFKind() const;
126 static IntType get(mlir::MLIRContext *ctxt, KindTy kind);
127 KindTy getFKind() const;
137 static LogicalType get(mlir::MLIRContext *ctxt, KindTy kind);
138 KindTy getFKind() const;
147 static RealType get(mlir::MLIRContext *ctxt, KindTy kind);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp217 enum class KindTy { enum
250 RISCVOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in RISCVOperand()
259 case KindTy::Register: in RISCVOperand()
262 case KindTy::Immediate: in RISCVOperand()
265 case KindTy::Token: in RISCVOperand()
268 case KindTy::SystemRegister: in RISCVOperand()
274 bool isToken() const override { return Kind == KindTy::Token; } in isToken()
275 bool isReg() const override { return Kind == KindTy::Register; } in isReg()
276 bool isImm() const override { return Kind == KindTy::Immediate; } in isImm()
278 bool isSystemRegister() const { return Kind == KindTy::SystemRegister; } in isSystemRegister()
[all …]
/external/llvm-project/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp252 enum class KindTy { enum
294 RISCVOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in RISCVOperand()
303 case KindTy::Register: in RISCVOperand()
306 case KindTy::Immediate: in RISCVOperand()
309 case KindTy::Token: in RISCVOperand()
312 case KindTy::SystemRegister: in RISCVOperand()
315 case KindTy::VType: in RISCVOperand()
321 bool isToken() const override { return Kind == KindTy::Token; } in isToken()
322 bool isReg() const override { return Kind == KindTy::Register; } in isReg()
324 return Kind == KindTy::Register && Reg.RegNum == RISCV::V0; in isV0Reg()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp43 enum KindTy { Token, Integer, Float, Symbol, BrList } Kind; enum
75 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, TokOp T) in WebAssemblyOperand()
77 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, IntOp I) in WebAssemblyOperand()
79 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, FltOp F) in WebAssemblyOperand()
81 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, SymOp S) in WebAssemblyOperand()
83 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End) in WebAssemblyOperand()
/external/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp45 enum KindTy { Token, Integer, Float, Symbol, BrList } Kind; enum
77 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, TokOp T) in WebAssemblyOperand()
79 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, IntOp I) in WebAssemblyOperand()
81 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, FltOp F) in WebAssemblyOperand()
83 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End, SymOp S) in WebAssemblyOperand()
85 WebAssemblyOperand(KindTy K, SMLoc Start, SMLoc End) in WebAssemblyOperand()
/external/llvm-project/flang/include/flang/Lower/
DComplexExpr.h32 mlir::Value createComplex(fir::KindTy kind, mlir::Value real,
/external/llvm-project/flang/lib/Lower/
DComplexExpr.cpp27 mlir::Value Fortran::lower::ComplexExprHelper::createComplex(fir::KindTy kind, in createComplex()
/external/llvm/lib/MC/
DMCMachOStreamer.cpp53 void EmitDataRegion(DataRegionData::KindTy Kind);
216 void MCMachOStreamer::EmitDataRegion(DataRegionData::KindTy Kind) { in EmitDataRegion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCMachOStreamer.cpp61 void EmitDataRegion(DataRegionData::KindTy Kind);
212 void MCMachOStreamer::EmitDataRegion(DataRegionData::KindTy Kind) { in EmitDataRegion()
/external/llvm-project/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp83 enum KindTy { enum
104 BPFOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in BPFOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp81 enum KindTy { enum
102 BPFOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in BPFOperand()
/external/llvm-project/llvm/lib/MC/
DMCMachOStreamer.cpp61 void emitDataRegion(DataRegionData::KindTy Kind);
214 void MCMachOStreamer::emitDataRegion(DataRegionData::KindTy Kind) { in emitDataRegion()
/external/llvm/utils/TableGen/
DDAGISelMatcher.h47 enum KindTy { enum
88 const KindTy Kind;
91 Matcher(KindTy K) : Kind(K) {} in Matcher()
95 KindTy getKind() const { return Kind; } in getKind()
/external/llvm-project/llvm/utils/TableGen/
DDAGISelMatcher.h47 enum KindTy { enum
94 const KindTy Kind;
97 Matcher(KindTy K) : Kind(K) {} in Matcher()
103 KindTy getKind() const { return Kind; } in getKind()
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h26 enum KindTy { enum
69 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/AsmParser/
DMSP430AsmParser.cpp92 enum KindTy { enum in __anona8f1f9520111::MSP430Operand
117 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E) in MSP430Operand()
/external/llvm-project/llvm/lib/Target/MSP430/AsmParser/
DMSP430AsmParser.cpp94 enum KindTy { enum in __anonbb322ebe0111::MSP430Operand
119 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E) in MSP430Operand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86Operand.h32 enum KindTy { Token, Register, Immediate, Memory, Prefix, DXRegister } Kind; enum
81 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand()
/external/llvm/include/llvm/MC/
DMCAssembler.h51 enum KindTy { Data = 1, JumpTable8, JumpTable16, JumpTable32 } Kind; enum
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86Operand.h30 enum KindTy { Token, Register, Immediate, Memory, Prefix, DXRegister } Kind; enum
80 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCAssembler.h55 enum KindTy { Data = 1, JumpTable8, JumpTable16, JumpTable32 } Kind; enum
/external/llvm-project/llvm/include/llvm/MC/
DMCAssembler.h55 enum KindTy { Data = 1, JumpTable8, JumpTable16, JumpTable32 } Kind; enum

123