Home
last modified time | relevance | path

Searched refs:ValType (Results 1 – 24 of 24) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRuntimeLibcallSignatures.cpp495 wasm::ValType iPTR = in GetLibcallSignature()
496 Subtarget.hasAddr64() ? wasm::ValType::I64 : wasm::ValType::I32; in GetLibcallSignature()
503 Rets.push_back(wasm::ValType::F32); in GetLibcallSignature()
507 Rets.push_back(wasm::ValType::F32); in GetLibcallSignature()
511 Rets.push_back(wasm::ValType::F32); in GetLibcallSignature()
515 Rets.push_back(wasm::ValType::F32); in GetLibcallSignature()
519 Rets.push_back(wasm::ValType::F32); in GetLibcallSignature()
523 Rets.push_back(wasm::ValType::F64); in GetLibcallSignature()
527 Rets.push_back(wasm::ValType::F64); in GetLibcallSignature()
531 Rets.push_back(wasm::ValType::F64); in GetLibcallSignature()
[all …]
H A DWebAssemblyMCInstLower.cpp91 SmallVector<wasm::ValType, 4> Returns; in GetExternalSymbolSymbol()
92 SmallVector<wasm::ValType, 4> Params; in GetExternalSymbolSymbol()
109 Params.push_back(Subtarget.hasAddr64() ? wasm::ValType::I64 in GetExternalSymbolSymbol()
150 static wasm::ValType getType(const TargetRegisterClass *RC) { in getType()
152 return wasm::ValType::I32; in getType()
154 return wasm::ValType::I64; in getType()
156 return wasm::ValType::F32; in getType()
158 return wasm::ValType::F64; in getType()
160 return wasm::ValType::V128; in getType()
196 SmallVector<wasm::ValType, 4> Returns; in Lower()
[all …]
H A DWebAssemblyRuntimeLibcallSignatures.h28 SmallVectorImpl<wasm::ValType> &Rets,
29 SmallVectorImpl<wasm::ValType> &Params);
33 SmallVectorImpl<wasm::ValType> &Rets,
34 SmallVectorImpl<wasm::ValType> &Params);
H A DWebAssemblyMachineFunctionInfo.cpp68 SmallVectorImpl<wasm::ValType> &Out) { in ValTypesFromMVTs()
H A DWebAssemblyMachineFunctionInfo.h133 SmallVectorImpl<wasm::ValType> &Out);
H A DWebAssemblyAsmPrinter.cpp189 SmallVector<wasm::ValType, 16> Locals; in EmitFunctionBodyStart()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTargetDesc.cpp132 wasm::ValType WebAssembly::toValType(const MVT &Ty) { in toValType()
135 return wasm::ValType::I32; in toValType()
137 return wasm::ValType::I64; in toValType()
139 return wasm::ValType::F32; in toValType()
141 return wasm::ValType::F64; in toValType()
148 return wasm::ValType::V128; in toValType()
150 return wasm::ValType::EXCEPT_REF; in toValType()
H A DWebAssemblyTargetStreamer.cpp31 void WebAssemblyTargetStreamer::emitValueType(wasm::ValType Type) { in emitValueType()
43 ArrayRef<wasm::ValType> Types) { in printTypes()
55 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal()
104 static_cast<wasm::ValType>(Sym->getGlobalType().Type)) in emitGlobalType()
131 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal()
132 SmallVector<std::pair<wasm::ValType, uint32_t>, 4> Grouped; in emitLocal()
H A DWebAssemblyTargetStreamer.h35 virtual void emitLocal(ArrayRef<wasm::ValType> Types) = 0;
54 void emitValueType(wasm::ValType Type);
67 void emitLocal(ArrayRef<wasm::ValType> Types) override;
82 void emitLocal(ArrayRef<wasm::ValType> Types) override;
100 void emitLocal(ArrayRef<wasm::ValType>) override {} in emitLocal() argument
H A DWebAssemblyMCTargetDesc.h359 wasm::ValType toValType(const MVT &Ty);
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/
H A DWasm.h299 enum class ValType { enum
309 SmallVector<wasm::ValType, 1> Returns;
310 SmallVector<wasm::ValType, 4> Params;
314 WasmSignature(SmallVector<wasm::ValType, 1> &&InReturns, in WasmSignature()
315 SmallVector<wasm::ValType, 4> &&InParams) in WasmSignature()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantsContext.h353 using ValType = ConstantExprKeyType;
357 using ValType = InlineAsmKeyType;
361 using ValType = ConstantAggrKeyType<ConstantArray>;
365 using ValType = ConstantAggrKeyType<ConstantStruct>;
369 using ValType = ConstantAggrKeyType<ConstantVector>;
571 using ValType = typename ConstantInfo<ConstantClass>::ValType;
573 using LookupKey = std::pair<TypeClass *, ValType>;
592 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
636 ConstantClass *create(TypeClass *Ty, ValType V, LookupKeyHashed &HashKey) {
647 ConstantClass *getOrCreate(TypeClass *Ty, ValType V) {
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp286 Optional<wasm::ValType> parseType(const StringRef &Type) { in parseType()
290 return wasm::ValType::I32; in parseType()
292 return wasm::ValType::I64; in parseType()
294 return wasm::ValType::F32; in parseType()
296 return wasm::ValType::F64; in parseType()
300 return wasm::ValType::V128; in parseType()
301 return Optional<wasm::ValType>(); in parseType()
316 bool parseRegTypeList(SmallVectorImpl<wasm::ValType> &Types) { in parseRegTypeList()
641 SmallVector<wasm::ValType, 4> Locals; in ParseDirective()
668 TOut.emitLocal(SmallVector<wasm::ValType, 0>()); in MatchAndEmitInstruction()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/InstPrinter/
H A DWebAssemblyInstPrinter.h59 const char *typeToString(wasm::ValType Ty);
H A DWebAssemblyInstPrinter.cpp308 const char *llvm::WebAssembly::typeToString(wasm::ValType Ty) { in typeToString()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h533 : SExpr(COP_Literal), ValType(ValueType::getValueType<void>()), Cexpr(C) {} in Literal()
534 Literal(ValueType VT) : SExpr(COP_Literal), ValType(VT) {} in Literal()
542 ValueType valueType() const { return ValType; } in valueType()
560 const ValueType ValType;
583 switch (ValType.Base) { in traverse()
589 switch (ValType.Size) { in traverse()
591 if (ValType.Signed) in traverse()
596 if (ValType.Signed) in traverse()
601 if (ValType.Signed) in traverse()
606 if (ValType.Signed) in traverse()
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/
H A DWasmObjectWriter.cpp67 SmallVector<wasm::ValType, 1> Returns;
70 SmallVector<wasm::ValType, 4> Params;
94 for (wasm::ValType Ret : Sig.Returns) in getHashValue()
96 for (wasm::ValType Param : Sig.Params) in getHashValue()
295 void writeValueType(wasm::ValType Ty) { W.OS << static_cast<char>(Ty); } in writeValueType()
722 for (wasm::ValType Ty : Sig.Params) in writeTypeSection()
725 for (wasm::ValType Ty : Sig.Returns) in writeTypeSection()
801 writeValueType(static_cast<wasm::ValType>(Global.Type.Type)); in writeGlobalSection()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp1690 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() && in CheckARMBuiltinExclusiveCall()
1691 !ValType->isBlockPointerType() && !ValType->isFloatingType()) { in CheckARMBuiltinExclusiveCall()
1720 TheCall->setType(ValType); in CheckARMBuiltinExclusiveCall()
4577 } else if (IsN && !ValType->isIntegerType() && !ValType->isPointerType()) { in SemaAtomicOpsOverloaded()
4615 ValType.removeLocalConst(); in SemaAtomicOpsOverloaded()
4654 Ty = ValType; in SemaAtomicOpsOverloaded()
4844 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() && in SemaBuiltinAtomicOverloaded()
4872 ValType = ValType.getUnqualifiedType(); in SemaBuiltinAtomicOverloaded()
5222 ValType = ValType.getUnqualifiedType(); in SemaBuiltinNontemporalOverloaded()
5223 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() && in SemaBuiltinNontemporalOverloaded()
[all …]
H A DSemaLookup.cpp4975 QualType ValType = cast<ValueDecl>(ND)->getType(); in ValidateCandidate() local
4976 if (ValType.isNull()) in ValidateCandidate()
4978 if (ValType->isAnyPointerType() || ValType->isReferenceType()) in ValidateCandidate()
4979 ValType = ValType->getPointeeType(); in ValidateCandidate()
4980 if (const FunctionProtoType *FPT = ValType->getAs<FunctionProtoType>()) in ValidateCandidate()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DWasmObjectFile.cpp795 Sig.Params.push_back(wasm::ValType(ParamType)); in parseTypeSection()
803 Sig.Returns.push_back(wasm::ValType(readUint8(Ctx))); in parseTypeSection()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2565 template <typename ValType>
2567 fitsRegularPattern(typename SmallVectorImpl<ValType>::const_iterator Begin, in fitsRegularPattern()
2569 typename SmallVectorImpl<ValType>::const_iterator End, in fitsRegularPattern()
2570 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DGVN.cpp163 enum ValType { enum
172 PointerIntPair<Value *, 2, ValType> Val;
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1481 Type *ValType = ResType->Type::getStructElementType(0); in translateAtomicCmpXchg() local
1493 Flags, DL->getTypeStoreSize(ValType), in translateAtomicCmpXchg()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp673 Error typeCheckLoadStoreInst(Type *ValType, Type *PtrType);
3397 Error BitcodeReader::typeCheckLoadStoreInst(Type *ValType, Type *PtrType) { in typeCheckLoadStoreInst() argument
3402 if (ValType && ValType != ElemType) in typeCheckLoadStoreInst()