Searched refs:ValType (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRuntimeLibcallSignatures.h27 SmallVectorImpl<wasm::ValType> &Rets,
28 SmallVectorImpl<wasm::ValType> &Params);
32 SmallVectorImpl<wasm::ValType> &Rets,
33 SmallVectorImpl<wasm::ValType> &Params);
H A DWebAssemblyRuntimeLibcallSignatures.cpp514 SmallVectorImpl<wasm::ValType> &Rets,
515 SmallVectorImpl<wasm::ValType> &Params) {
519 wasm::ValType PtrTy =
520 Subtarget.hasAddr64() ? wasm::ValType::I64 : wasm::ValType::I32;
527 Rets.push_back(wasm::ValType::F32);
528 Params.push_back(wasm::ValType::F32);
531 Rets.push_back(wasm::ValType::F32);
532 Params.push_back(wasm::ValType::F64);
535 Rets.push_back(wasm::ValType
[all...]
H A DWebAssemblyMCInstLower.cpp93 SmallVector<wasm::ValType, 4> Returns;
94 SmallVector<wasm::ValType, 4> Params;
111 Params.push_back(Subtarget.hasAddr64() ? wasm::ValType::I64
112 : wasm::ValType::I32);
167 SmallVector<wasm::ValType, 1> &&Returns,
168 SmallVector<wasm::ValType, 4> &&Params) const {
182 static wasm::ValType getType(const TargetRegisterClass *RC) {
184 return wasm::ValType::I32;
186 return wasm::ValType::I64;
188 return wasm::ValType
[all...]
H A DWebAssemblyMCInstLower.h37 MCOperand lowerTypeIndexOperand(SmallVector<wasm::ValType, 1> &&,
38 SmallVector<wasm::ValType, 4> &&) const;
H A DWebAssemblyMachineFunctionInfo.cpp69 SmallVectorImpl<wasm::ValType> &Out) {
H A DWebAssemblyMachineFunctionInfo.h149 SmallVectorImpl<wasm::ValType> &Out);
H A DWebAssemblyAsmPrinter.cpp311 SmallVector<wasm::ValType, 16> Locals;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTargetDesc.cpp133 wasm::ValType WebAssembly::toValType(const MVT &Ty) {
136 return wasm::ValType::I32;
138 return wasm::ValType::I64;
140 return wasm::ValType::F32;
142 return wasm::ValType::F64;
149 return wasm::ValType::V128;
151 return wasm::ValType::EXNREF;
H A DWebAssemblyTargetStreamer.cpp30 void WebAssemblyTargetStreamer::emitValueType(wasm::ValType Type) {
42 ArrayRef<wasm::ValType> Types) {
54 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) {
74 static_cast<wasm::ValType>(Sym->getGlobalType().Type))
107 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) {
108 SmallVector<std::pair<wasm::ValType, uint32_t>, 4> Grouped;
H A DWebAssemblyTargetStreamer.h34 virtual void emitLocal(ArrayRef<wasm::ValType> Types) = 0;
56 void emitValueType(wasm::ValType Type);
66 void emitLocal(ArrayRef<wasm::ValType> Types) override;
82 void emitLocal(ArrayRef<wasm::ValType> Types) override;
102 void emitLocal(ArrayRef<wasm::ValType>) override {}
H A DWebAssemblyInstPrinter.h58 const char *typeToString(wasm::ValType Ty);
61 std::string typeListToString(ArrayRef<wasm::ValType> List);
H A DWebAssemblyMCTargetDesc.h129 I32 = unsigned(wasm::ValType::I32),
130 I64 = unsigned(wasm::ValType::I64),
131 F32 = unsigned(wasm::ValType::F32),
132 F64 = unsigned(wasm::ValType::F64),
133 V128 = unsigned(wasm::ValType::V128),
134 Exnref = unsigned(wasm::ValType::EXNREF),
147 wasm::ValType toValType(const MVT &Ty);
H A DWebAssemblyInstPrinter.cpp320 const char *WebAssembly::typeToString(wasm::ValType Ty) {
324 std::string WebAssembly::typeListToString(ArrayRef<wasm::ValType> List) {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h347 enum class ValType { class
357 SmallVector<ValType, 1> Returns;
358 SmallVector<ValType, 4> Params;
362 WasmSignature(SmallVector<ValType, 1> &&InReturns,
363 SmallVector<ValType, 4> &&InParams)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantsContext.h352 using ValType = ConstantExprKeyType;
356 using ValType = InlineAsmKeyType;
360 using ValType = ConstantAggrKeyType<ConstantArray>;
364 using ValType = ConstantAggrKeyType<ConstantStruct>;
368 using ValType = ConstantAggrKeyType<ConstantVector>;
572 using ValType = typename ConstantInfo<ConstantClass>::ValType;
574 using LookupKey = std::pair<TypeClass *, ValType>;
593 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
637 ConstantClass *create(TypeClass *Ty, ValType
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp296 Optional<wasm::ValType> parseType(const StringRef &Type) {
297 // FIXME: can't use StringSwitch because wasm::ValType doesn't have a
300 return wasm::ValType::I32;
302 return wasm::ValType::I64;
304 return wasm::ValType::F32;
306 return wasm::ValType::F64;
310 return wasm::ValType::V128;
312 return wasm::ValType::EXNREF;
313 return Optional<wasm::ValType>();
329 bool parseRegTypeList(SmallVectorImpl<wasm::ValType>
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1862 QualType ValType = pointerType->getPointeeType(); local
1863 QualType AddrType = ValType.getUnqualifiedType().withVolatile();
1869 if (!AddrType.isAtLeastAsQualifiedAs(ValType)) {
1886 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() &&
1887 !ValType->isBlockPointerType() && !ValType->isFloatingType()) {
1894 if (Context.getTypeSize(ValType) > MaxWidth) {
1901 switch (ValType.getObjCLifetime()) {
1911 << ValType << PointerAr
4822 QualType ValType = AtomTy; // 'C' local
5168 QualType ValType = pointerType->getPointeeType(); local
5539 QualType ValType = pointerType->getPointeeType(); local
[all...]
H A DSemaLookup.cpp5250 QualType ValType = cast<ValueDecl>(ND)->getType();
5251 if (ValType.isNull())
5253 if (ValType->isAnyPointerType() || ValType->isReferenceType())
5254 ValType = ValType->getPointeeType();
5255 if (const FunctionProtoType *FPT = ValType->getAs<FunctionProtoType>())
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h532 : SExpr(COP_Literal), ValType(ValueType::getValueType<void>()), Cexpr(C) {}
533 Literal(ValueType VT) : SExpr(COP_Literal), ValType(VT) {}
541 ValueType valueType() const { return ValType; }
559 const ValueType ValType; member in class:clang::threadSafety::Literal
582 switch (ValType.Base) {
588 switch (ValType.Size) {
590 if (ValType.Signed)
595 if (ValType.Signed)
600 if (ValType.Signed)
605 if (ValType
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp66 SmallVector<wasm::ValType, 1> Returns;
69 SmallVector<wasm::ValType, 4> Params;
91 for (wasm::ValType Ret : Sig.Returns)
93 for (wasm::ValType Param : Sig.Params)
310 void writeValueType(wasm::ValType Ty) { W.OS << static_cast<char>(Ty); }
687 for (wasm::ValType Ty : Sig.Params)
690 for (wasm::ValType Ty : Sig.Returns)
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h926 RecTy *ValType; member in class:llvm::final
930 NumConds(NC), ValType(Type) {}
949 RecTy *getValType() const { return ValType; }
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp881 Sig.Params.push_back(wasm::ValType(ParamType));
886 Sig.Returns.push_back(wasm::ValType(ReturnType));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVN.cpp165 enum ValType { enum in struct:llvm::gvn::AvailableValue
174 PointerIntPair<Value *, 2, ValType> Val;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2606 template <typename ValType>
2608 fitsRegularPattern(typename SmallVectorImpl<ValType>::const_iterator Begin,
2610 typename SmallVectorImpl<ValType>::const_iterator End,
2611 ValType ExpectedIndex, unsigned ExpectedIndexStride) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp1785 const RecTy *ValType) {
1788 ID.AddPointer(ValType);
1802 ValType);

Completed in 177 milliseconds

12