| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRuntimeLibcallSignatures.cpp | 518 SmallVectorImpl<wasm::ValType> &Rets, in getLibcallSignature() 519 SmallVectorImpl<wasm::ValType> &Params) { in getLibcallSignature() 523 wasm::ValType PtrTy = in getLibcallSignature() 524 Subtarget.hasAddr64() ? wasm::ValType::I64 : wasm::ValType::I32; in getLibcallSignature() 531 Rets.push_back(wasm::ValType::F32); in getLibcallSignature() 532 Params.push_back(wasm::ValType::F32); in getLibcallSignature() 535 Rets.push_back(wasm::ValType::F32); in getLibcallSignature() 536 Params.push_back(wasm::ValType::F64); in getLibcallSignature() 539 Rets.push_back(wasm::ValType::F32); in getLibcallSignature() 540 Params.push_back(wasm::ValType::I32); in getLibcallSignature() [all …]
|
| H A D | WebAssemblyMCInstLower.cpp | 66 wasm::ValType Type = WebAssembly::toValType(VTs[0]); in GetGlobalAddressSymbol() 116 SmallVector<wasm::ValType, 4> Returns; in GetExternalSymbolSymbol() 117 SmallVector<wasm::ValType, 4> Params; in GetExternalSymbolSymbol() 134 Params.push_back(Subtarget.hasAddr64() ? wasm::ValType::I64 in GetExternalSymbolSymbol() 135 : wasm::ValType::I32); in GetExternalSymbolSymbol() 195 SmallVector<wasm::ValType, 1> &&Returns, in lowerTypeIndexOperand() argument 196 SmallVector<wasm::ValType, 4> &&Params) const { in lowerTypeIndexOperand() 210 static wasm::ValType getType(const TargetRegisterClass *RC) { in getType() 212 return wasm::ValType::I32; in getType() 214 return wasm::ValType::I64; in getType() [all …]
|
| H A D | WebAssemblyRuntimeLibcallSignatures.h | 27 SmallVectorImpl<wasm::ValType> &Rets, 28 SmallVectorImpl<wasm::ValType> &Params); 32 SmallVectorImpl<wasm::ValType> &Rets, 33 SmallVectorImpl<wasm::ValType> &Params);
|
| H A D | WebAssemblyAsmPrinter.cpp | 111 static char getInvokeSig(wasm::ValType VT) { in getInvokeSig() 113 case wasm::ValType::I32: in getInvokeSig() 115 case wasm::ValType::I64: in getInvokeSig() 117 case wasm::ValType::F32: in getInvokeSig() 119 case wasm::ValType::F64: in getInvokeSig() 121 case wasm::ValType::V128: in getInvokeSig() 123 case wasm::ValType::FUNCREF: in getInvokeSig() 125 case wasm::ValType::EXTERNREF: in getInvokeSig() 193 wasm::ValType Type = WebAssembly::toValType(VT); in emitGlobalVariable() 477 SmallVector<wasm::ValType, 16> Locals; in emitFunctionBodyStart()
|
| H A D | WebAssemblyMCInstLower.h | 37 MCOperand lowerTypeIndexOperand(SmallVector<wasm::ValType, 1> &&, 38 SmallVector<wasm::ValType, 4> &&) const;
|
| H A D | WebAssemblyMachineFunctionInfo.cpp | 94 SmallVectorImpl<wasm::ValType> &Out) { in valTypesFromMVTs()
|
| H A D | WebAssemblyMachineFunctionInfo.h | 180 SmallVectorImpl<wasm::ValType> &Out);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Utils/ |
| H A D | WebAssemblyTypeUtilities.h | 29 I32 = unsigned(wasm::ValType::I32), 30 I64 = unsigned(wasm::ValType::I64), 31 F32 = unsigned(wasm::ValType::F32), 32 F64 = unsigned(wasm::ValType::F64), 33 V128 = unsigned(wasm::ValType::V128), 34 Externref = unsigned(wasm::ValType::EXTERNREF), 35 Funcref = unsigned(wasm::ValType::FUNCREF), 47 Externref = unsigned(wasm::ValType::EXTERNREF), 48 Funcref = unsigned(wasm::ValType::FUNCREF), 53 Optional<wasm::ValType> parseType(StringRef Type); [all …]
|
| H A D | WebAssemblyTypeUtilities.cpp | 19 Optional<wasm::ValType> WebAssembly::parseType(StringRef Type) { in parseType() 23 return wasm::ValType::I32; in parseType() 25 return wasm::ValType::I64; in parseType() 27 return wasm::ValType::F32; in parseType() 29 return wasm::ValType::F64; in parseType() 32 return wasm::ValType::V128; in parseType() 34 return wasm::ValType::FUNCREF; in parseType() 36 return wasm::ValType::EXTERNREF; in parseType() 37 return Optional<wasm::ValType>(); in parseType() 104 const char *WebAssembly::typeToString(wasm::ValType Type) { in typeToString() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyTargetStreamer.cpp | 30 void WebAssemblyTargetStreamer::emitValueType(wasm::ValType Type) { in emitValueType() 42 ArrayRef<wasm::ValType> Types) { in printTypes() 54 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() 74 static_cast<wasm::ValType>(Sym->getGlobalType().Type)); in emitGlobalType() 84 << WebAssembly::typeToString(static_cast<wasm::ValType>(Type.ElemType)); in emitTableType() 123 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal() 124 SmallVector<std::pair<wasm::ValType, uint32_t>, 4> Grouped; in emitLocal()
|
| H A D | WebAssemblyTargetStreamer.h | 34 virtual void emitLocal(ArrayRef<wasm::ValType> Types) = 0; 58 void emitValueType(wasm::ValType Type); 68 void emitLocal(ArrayRef<wasm::ValType> Types) override; 85 void emitLocal(ArrayRef<wasm::ValType> Types) override; 106 void emitLocal(ArrayRef<wasm::ValType>) override {} in emitLocal() argument
|
| H A D | WebAssemblyInstPrinter.cpp | 376 case long(wasm::ValType::EXTERNREF): in printWebAssemblyHeapTypeOperand() 379 case long(wasm::ValType::FUNCREF): in printWebAssemblyHeapTypeOperand()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ConstantsContext.h | 399 using ValType = ConstantExprKeyType; 403 using ValType = InlineAsmKeyType; 407 using ValType = ConstantAggrKeyType<ConstantArray>; 411 using ValType = ConstantAggrKeyType<ConstantStruct>; 415 using ValType = ConstantAggrKeyType<ConstantVector>; 651 using ValType = typename ConstantInfo<ConstantClass>::ValType; 653 using LookupKey = std::pair<TypeClass *, ValType>; 672 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage))); 716 ConstantClass *create(TypeClass *Ty, ValType V, LookupKeyHashed &HashKey) { 727 ConstantClass *getOrCreate(TypeClass *Ty, ValType V) { [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
| H A D | Wasm.h | 392 enum class ValType { enum 403 SmallVector<ValType, 1> Returns; 404 SmallVector<ValType, 4> Params; 408 WasmSignature(SmallVector<ValType, 1> &&InReturns, in WasmSignature() 409 SmallVector<ValType, 4> &&InParams) in WasmSignature()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| H A D | MCSymbolWasm.h | 115 setTableType(wasm::ValType::FUNCREF); in setFunctionTable() 139 void setTableType(wasm::ValType VT) { in setTableType()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTIL.h | 532 : SExpr(COP_Literal), ValType(ValueType::getValueType<void>()), Cexpr(C) {} in Literal() 533 Literal(ValueType VT) : SExpr(COP_Literal), ValType(VT) {} in Literal() 541 ValueType valueType() const { return ValType; } in valueType() 559 const ValueType ValType; 582 switch (ValType.Base) { in traverse() 588 switch (ValType.Size) { in traverse() 590 if (ValType.Signed) in traverse() 595 if (ValType.Signed) in traverse() 600 if (ValType.Signed) in traverse() 605 if (ValType.Signed) in traverse() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 2365 QualType ValType = pointerType->getPointeeType(); in CheckARMBuiltinExclusiveCall() local 2366 QualType AddrType = ValType.getUnqualifiedType().withVolatile(); in CheckARMBuiltinExclusiveCall() 2372 if (!AddrType.isAtLeastAsQualifiedAs(ValType)) { in CheckARMBuiltinExclusiveCall() 2389 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() && in CheckARMBuiltinExclusiveCall() 2390 !ValType->isBlockPointerType() && !ValType->isFloatingType()) { in CheckARMBuiltinExclusiveCall() 2397 if (Context.getTypeSize(ValType) > MaxWidth) { in CheckARMBuiltinExclusiveCall() 2404 switch (ValType.getObjCLifetime()) { in CheckARMBuiltinExclusiveCall() 2414 << ValType << PointerArg->getSourceRange(); in CheckARMBuiltinExclusiveCall() 2419 TheCall->setType(ValType); in CheckARMBuiltinExclusiveCall() 2426 Context, ValType, /*consume*/ false); in CheckARMBuiltinExclusiveCall() [all …]
|
| H A D | SemaLookup.cpp | 5256 QualType ValType = cast<ValueDecl>(ND)->getType(); in ValidateCandidate() local 5257 if (ValType.isNull()) in ValidateCandidate() 5259 if (ValType->isAnyPointerType() || ValType->isReferenceType()) in ValidateCandidate() 5260 ValType = ValType->getPointeeType(); in ValidateCandidate() 5261 if (const FunctionProtoType *FPT = ValType->getAs<FunctionProtoType>()) in ValidateCandidate()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 188 wasm::ValType Ty = static_cast<wasm::ValType>(readULEB128(Ctx)); in readInitExpr() 189 if (Ty != wasm::ValType::EXTERNREF) { in readInitExpr() 1019 Sig.Params.push_back(wasm::ValType(ParamType)); in parseTypeSection() 1024 Sig.Returns.push_back(wasm::ValType(ReturnType)); in parseTypeSection() 1377 if (Segment.ElemKind != uint8_t(wasm::ValType::FUNCREF) && in parseElemSection() 1378 Segment.ElemKind != uint8_t(wasm::ValType::EXTERNREF)) { in parseElemSection() 1386 Segment.ElemKind = uint8_t(wasm::ValType::FUNCREF); in parseElemSection() 1389 Segment.ElemKind = uint8_t(wasm::ValType::FUNCREF); in parseElemSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 350 bool parseRegTypeList(SmallVectorImpl<wasm::ValType> &Types) { in parseRegTypeList() 819 Optional<wasm::ValType> ElemType = WebAssembly::parseType(ElemTypeName); in ParseDirective() 922 SmallVector<wasm::ValType, 4> Locals; in ParseDirective() 965 TOut.emitLocal(SmallVector<wasm::ValType, 0>()); in ensureLocals()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | WasmObjectWriter.cpp | 307 void writeValueType(wasm::ValType Ty) { W->OS << static_cast<char>(Ty); } in writeValueType() 772 for (wasm::ValType Ty : Sig.Params) in writeTypeSection() 775 for (wasm::ValType Ty : Sig.Returns) in writeTypeSection() 884 writeValueType(wasm::ValType::EXTERNREF); in writeGlobalSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 930 RecTy *ValType; variable 934 NumConds(NC), ValType(Type) {} in CondOpInit() 953 RecTy *getValType() const { return ValType; } in getValType()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 497 if (Segment.ElemKind != uint32_t(wasm::ValType::FUNCREF)) { in writeSectionContent()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | Record.cpp | 1973 const RecTy *ValType) { in ProfileCondOpInit() argument 1976 ID.AddPointer(ValType); in ProfileCondOpInit() 1990 ValType); in Profile()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 2605 template <typename ValType> 2607 fitsRegularPattern(typename SmallVectorImpl<ValType>::const_iterator Begin, in fitsRegularPattern() 2609 typename SmallVectorImpl<ValType>::const_iterator End, in fitsRegularPattern() 2610 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern()
|