Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRuntimeLibcallSignatures.cpp492 RTLIB::Libcall LC, SmallVectorImpl<wasm::ValType> &Rets, in GetSignature()
493 SmallVectorImpl<wasm::ValType> &Params) { in GetSignature()
497 wasm::ValType iPTR = in GetSignature()
498 Subtarget.hasAddr64() ? wasm::ValType::I64 : wasm::ValType::I32; in GetSignature()
505 Rets.push_back(wasm::ValType::F32); in GetSignature()
506 Params.push_back(wasm::ValType::F32); in GetSignature()
509 Rets.push_back(wasm::ValType::F32); in GetSignature()
510 Params.push_back(wasm::ValType::F64); in GetSignature()
513 Rets.push_back(wasm::ValType::F32); in GetSignature()
514 Params.push_back(wasm::ValType::I32); in GetSignature()
[all …]
DWebAssemblyMCInstLower.cpp43 SmallVector<wasm::ValType, 4> Returns; in GetGlobalAddressSymbol()
44 SmallVector<wasm::ValType, 4> Params; in GetGlobalAddressSymbol()
46 wasm::ValType iPTR = in GetGlobalAddressSymbol()
48 wasm::ValType::I64 : in GetGlobalAddressSymbol()
49 wasm::ValType::I32; in GetGlobalAddressSymbol()
98 SmallVector<wasm::ValType, 4> Returns; in GetExternalSymbolSymbol()
99 SmallVector<wasm::ValType, 4> Params; in GetExternalSymbolSymbol()
129 static wasm::ValType getType(const TargetRegisterClass *RC) { in getType()
131 return wasm::ValType::I32; in getType()
133 return wasm::ValType::I64; in getType()
[all …]
DWebAssemblyRuntimeLibcallSignatures.h28 SmallVectorImpl<wasm::ValType> &Rets,
29 SmallVectorImpl<wasm::ValType> &Params);
32 const char *Name, SmallVectorImpl<wasm::ValType> &Rets,
33 SmallVectorImpl<wasm::ValType> &Params);
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantsContext.h27 template<class ValType>
393 template<class ConstantClass, class TypeClass, class ValType>
395 static ConstantClass *create(TypeClass *Ty, const ValType &V) {
396 return new(ConstantTraits<ValType>::uses(V)) ConstantClass(Ty, V);
402 typedef void ValType;
403 static ValType getValType(ConstantClass *C) {
456 typedef ExprMapKeyType ValType;
457 static ValType getValType(ConstantExpr *CE) {
471 template<class ValType>
472 struct ConstantCreator<ConstantAggregateZero, Type, ValType> {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCSymbolWasm.h23 SmallVector<wasm::ValType, 1> Returns;
24 SmallVector<wasm::ValType, 4> Params;
64 const SmallVector<wasm::ValType, 1> &getReturns() const { in getReturns()
69 void setReturns(SmallVectorImpl<wasm::ValType> &&Rets) { in setReturns()
74 const SmallVector<wasm::ValType, 4> &getParams() const { in getParams()
79 void setParams(SmallVectorImpl<wasm::ValType> &&Pars) { in setParams()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCTargetDesc.cpp126 wasm::ValType WebAssembly::toValType(const MVT &Ty) { in toValType()
128 case MVT::i32: return wasm::ValType::I32; in toValType()
129 case MVT::i64: return wasm::ValType::I64; in toValType()
130 case MVT::f32: return wasm::ValType::F32; in toValType()
131 case MVT::f64: return wasm::ValType::F64; in toValType()
132 case MVT::ExceptRef: return wasm::ValType::EXCEPT_REF; in toValType()
DWebAssemblyTargetStreamer.cpp31 void WebAssemblyTargetStreamer::emitValueType(wasm::ValType Type) { in emitValueType()
116 SmallVector<wasm::ValType, 4> Params; in emitParam()
125 SmallVector<wasm::ValType, 4> Returns; in emitResult()
165 SmallVector<wasm::ValType, 4> ValParams; in emitIndirectFunctionType()
169 SmallVector<wasm::ValType, 1> ValResults; in emitIndirectFunctionType()
DWebAssemblyTargetStreamer.h54 void emitValueType(wasm::ValType Type);
DWebAssemblyMCTargetDesc.h304 wasm::ValType toValType(const MVT &Ty);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp247 const char *llvm::WebAssembly::TypeToString(wasm::ValType Type) { in TypeToString()
249 case wasm::ValType::I32: in TypeToString()
251 case wasm::ValType::I64: in TypeToString()
253 case wasm::ValType::F32: in TypeToString()
255 case wasm::ValType::F64: in TypeToString()
257 case wasm::ValType::EXCEPT_REF: in TypeToString()
DWebAssemblyInstPrinter.h54 const char *TypeToString(wasm::ValType Type);
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorIndexList.h176 typedef typename IndexTupleExtractor<N-1, O...>::ValType ValType;
178 EIGEN_DEVICE_FUNC static constexpr ValType& get_val(IndexTuple<T, O...>& val) {
182 EIGEN_DEVICE_FUNC static constexpr const ValType& get_val(const IndexTuple<T, O...>& val) {
195 typedef T ValType;
197 EIGEN_DEVICE_FUNC static constexpr ValType& get_val(IndexTuple<T, O...>& val) {
200 EIGEN_DEVICE_FUNC static constexpr const ValType& get_val(const IndexTuple<T, O...>& val) {
212 EIGEN_DEVICE_FUNC constexpr typename IndexTupleExtractor<N, T, O...>::ValType& array_get(IndexTuple…
216 EIGEN_DEVICE_FUNC constexpr const typename IndexTupleExtractor<N, T, O...>::ValType& array_get(cons…
249 …return ((i == Idx) & is_compile_time_constant<typename IndexTupleExtractor<Idx, T...>::ValType>::v…
255 return is_compile_time_constant<typename IndexTupleExtractor<Idx, T...>::ValType>::value &&
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantsContext.h353 using ValType = ConstantExprKeyType;
357 using ValType = InlineAsmKeyType;
361 using ValType = ConstantAggrKeyType<ConstantArray>;
365 using ValType = ConstantAggrKeyType<ConstantStruct>;
369 using ValType = ConstantAggrKeyType<ConstantVector>;
569 using ValType = typename ConstantInfo<ConstantClass>::ValType;
571 using LookupKey = std::pair<TypeClass *, ValType>;
590 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
634 ConstantClass *create(TypeClass *Ty, ValType V, LookupKeyHashed &HashKey) {
645 ConstantClass *getOrCreate(TypeClass *Ty, ValType V) {
[all …]
/external/llvm/lib/IR/
DConstantsContext.h340 typedef ConstantExprKeyType ValType;
344 typedef InlineAsmKeyType ValType;
348 typedef ConstantAggrKeyType<ConstantArray> ValType;
352 typedef ConstantAggrKeyType<ConstantStruct> ValType;
356 typedef ConstantAggrKeyType<ConstantVector> ValType;
543 typedef typename ConstantInfo<ConstantClass>::ValType ValType;
545 typedef std::pair<TypeClass *, ValType> LookupKey;
561 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
599 ConstantClass *create(TypeClass *Ty, ValType V, LookupKeyHashed &HashKey) {
610 ConstantClass *getOrCreate(TypeClass *Ty, ValType V) {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPassNameParser.h90 typedef PassNameParser::OptionInfo ValType; in ValLessThan() typedef
91 return std::strcmp(static_cast<const ValType *>(VT1)->Name, in ValLessThan()
92 static_cast<const ValType *>(VT2)->Name); in ValLessThan()
/external/tensorflow/tensorflow/core/lib/gtl/
Dint_type.h216 template <typename ValType>
217 constexpr ValType value() const { in value()
218 return static_cast<ValType>(value_); in value()
/external/swiftshader/third_party/LLVM/include/llvm/
DInlineAsm.h28 template<class ValType, class ValRefType, class TypeClass, class ConstantClass,
31 template<class ConstantClass, class TypeClass, class ValType>
DConstants.h38 template<class ConstantClass, class TypeClass, class ValType>
/external/vixl/test/
Dtest-invalset.cc37 typedef ptrdiff_t ValType; typedef
43 Obj(KeyType key, ValType val) : key_(key), val_(val) {} in Obj()
45 ValType val_;
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h521 : SExpr(COP_Literal), ValType(ValueType::getValueType<void>()), Cexpr(C) in Literal()
523 Literal(ValueType VT) : SExpr(COP_Literal), ValType(VT), Cexpr(nullptr) {} in Literal()
524 Literal(const Literal &L) : SExpr(L), ValType(L.ValType), Cexpr(L.Cexpr) {} in Literal()
529 ValueType valueType() const { return ValType; } in valueType()
547 const ValueType ValType;
573 switch (ValType.Base) { in traverse()
579 switch (ValType.Size) { in traverse()
581 if (ValType.Signed) in traverse()
586 if (ValType.Signed) in traverse()
591 if (ValType.Signed) in traverse()
[all …]
/external/clang/lib/Sema/
DSemaChecking.cpp1292 QualType ValType = pointerType->getPointeeType(); in CheckARMBuiltinExclusiveCall() local
1293 QualType AddrType = ValType.getUnqualifiedType().withVolatile(); in CheckARMBuiltinExclusiveCall()
1299 if (!AddrType.isAtLeastAsQualifiedAs(ValType)) { in CheckARMBuiltinExclusiveCall()
1317 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() && in CheckARMBuiltinExclusiveCall()
1318 !ValType->isBlockPointerType() && !ValType->isFloatingType()) { in CheckARMBuiltinExclusiveCall()
1325 if (Context.getTypeSize(ValType) > MaxWidth) { in CheckARMBuiltinExclusiveCall()
1332 switch (ValType.getObjCLifetime()) { in CheckARMBuiltinExclusiveCall()
1342 << ValType << PointerArg->getSourceRange(); in CheckARMBuiltinExclusiveCall()
1347 TheCall->setType(ValType); in CheckARMBuiltinExclusiveCall()
1354 Context, ValType, /*consume*/ false); in CheckARMBuiltinExclusiveCall()
[all …]
DSemaLookup.cpp4890 QualType ValType = cast<ValueDecl>(ND)->getType(); in ValidateCandidate() local
4891 if (ValType->isAnyPointerType() || ValType->isReferenceType()) in ValidateCandidate()
4892 ValType = ValType->getPointeeType(); in ValidateCandidate()
4893 if (const FunctionProtoType *FPT = ValType->getAs<FunctionProtoType>()) in ValidateCandidate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DWasmObjectWriter.cpp66 SmallVector<wasm::ValType, 1> Returns;
69 SmallVector<wasm::ValType, 4> Params;
93 for (wasm::ValType Ret : FuncTy.Returns) in getHashValue()
95 for (wasm::ValType Param : FuncTy.Params) in getHashValue()
294 void writeValueType(wasm::ValType Ty) { in writeValueType()
712 for (wasm::ValType Ty : FuncTy.Params) in writeTypeSection()
715 for (wasm::ValType Ty : FuncTy.Returns) in writeTypeSection()
787 writeValueType(static_cast<wasm::ValType>(Global.Type.Type)); in writeGlobalSection()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DWasm.h223 enum class ValType { enum
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp1322 Type *ValType = ResType->Type::getStructElementType(0); in translateAtomicCmpXchg() local
1334 Flags, DL->getTypeStoreSize(ValType), in translateAtomicCmpXchg()

12