Home
last modified time | relevance | path

Searched refs:LocalType (Results 1 – 18 of 18) sorted by relevance

/external/clang/test/CodeGenCXX/
Dmangle-ms-cxx14.cpp13 struct LocalType {}; in FunctionWithLocalType() struct
14 return LocalType{}; in FunctionWithLocalType()
22 struct LocalType {}; in __anon3c8c71c70102() struct
23 return LocalType{}; in __anon3c8c71c70102()
32 struct LocalType {}; in TemplateFuncionWithLocalLambda() struct
33 return LocalType{}; in TemplateFuncionWithLocalLambda()
/external/v8/test/cctest/wasm/
Dtest-signatures.h15 typedef Signature<LocalType> FunctionSig;
76 LocalType kIntTypes4[4];
77 LocalType kLongTypes4[4];
78 LocalType kFloatTypes4[4];
79 LocalType kDoubleTypes4[4];
80 LocalType kIntLongTypes4[4];
81 LocalType kIntFloatTypes4[4];
82 LocalType kIntDoubleTypes4[4];
Dwasm-run-utils.h251 byte AllocateLocal(LocalType type) { in AllocateLocal()
364 byte AllocateLocal(LocalType type) { in AllocateLocal()
373 LocalType storage_[5];
Dtest-run-wasm.cc1838 LocalType astType, MachineType memType) { in GenerateAndRunFold()
2334 LocalType param_types[20]; in TEST()
2360 LocalType param_types[20]; in TEST()
/external/v8/src/wasm/
Dencoder.h31 WasmFunctionEncoder(Zone* zone, LocalType return_type, bool exported,
35 ZoneVector<LocalType> params_;
55 uint16_t AddParam(LocalType type);
56 uint16_t AddLocal(LocalType type);
57 void ReturnType(LocalType type);
74 LocalType return_type_;
82 uint16_t AddVar(LocalType type, bool param);
Dwasm-opcodes.h40 typedef MachineRepresentation LocalType; typedef
41 const LocalType kAstStmt = MachineRepresentation::kNone;
42 const LocalType kAstI32 = MachineRepresentation::kWord32;
43 const LocalType kAstI64 = MachineRepresentation::kWord64;
44 const LocalType kAstF32 = MachineRepresentation::kFloat32;
45 const LocalType kAstF64 = MachineRepresentation::kFloat64;
47 const LocalType kAstEnd = MachineRepresentation::kTagged;
68 typedef Signature<LocalType> FunctionSig;
311 static LocalTypeCode LocalTypeCodeFor(LocalType type) { in LocalTypeCodeFor()
356 static MachineType MachineTypeFor(LocalType type) { in MachineTypeFor()
[all …]
Dast-decoder.cc34 LocalType type; // tree type.
238 void Leaf(LocalType type, TFNode* node = nullptr) { in Leaf()
249 void Shift(LocalType type, uint32_t count) { in Shift()
479 LocalType type = LocalOperand(pc_, &index, &len); in DecodeFunctionBody()
487 LocalType type = LocalOperand(pc_, &index, &len); in DecodeFunctionBody()
493 LocalType type = GlobalOperand(pc_, &index, &len); in DecodeFunctionBody()
499 LocalType type = GlobalOperand(pc_, &index, &len); in DecodeFunctionBody()
552 LocalType type = in DecodeFunctionBody()
564 LocalType type = in DecodeFunctionBody()
591 int DecodeLoadMem(const byte* pc, LocalType type) { in DecodeLoadMem()
[all …]
Dencoder.cc62 LocalType type_;
76 uint16_t WasmFunctionBuilder::AddParam(LocalType type) { in AddParam()
81 uint16_t WasmFunctionBuilder::AddLocal(LocalType type) { in AddLocal()
86 uint16_t WasmFunctionBuilder::AddVar(LocalType type, bool param) { in AddVar()
92 void WasmFunctionBuilder::ReturnType(LocalType type) { return_type_ = type; } in ReturnType()
191 sig.AddReturn(static_cast<LocalType>(return_type_)); in Build()
194 sig.AddParam(static_cast<LocalType>(e->params_[i])); in Build()
248 WasmFunctionEncoder::WasmFunctionEncoder(Zone* zone, LocalType return_type, in WasmFunctionEncoder()
Dwasm-opcodes.cc12 typedef Signature<LocalType> FunctionSig;
36 static LocalType kTypes_##name[] = {__VA_ARGS__}; \
Dast-decoder.h37 LocalType GetLocalType(uint32_t index) { in GetLocalType()
52 void AddLocals(LocalType type, uint32_t count) { in AddLocals()
Dasm-wasm-builder.cc336 LocalType return_type = TypeFrom(func_type->Result()); in VisitFunctionLiteral()
339 LocalType type = TypeFrom(func_type->Parameter(i)); in VisitFunctionLiteral()
387 LocalType var_type = TypeOf(expr); in VisitVariableProxy()
401 LocalType type = TypeOf(expr); in VisitLiteral()
941 uint16_t LookupOrInsertLocal(Variable* v, LocalType type) { in LookupOrInsertLocal()
961 uint16_t LookupOrInsertGlobal(Variable* v, LocalType type) { in LookupOrInsertGlobal()
990 LocalType TypeOf(Expression* expr) { in TypeOf()
995 LocalType TypeFrom(TypeImpl<ZoneTypeConfig>* type) { in TypeFrom()
Dmodule-decoder.cc418 LocalType local_type() { in local_type()
472 LocalType ret = local_type(); in sig()
477 LocalType param = local_type(); in sig()
/external/v8/src/compiler/
Dwasm-linkage.cc24 MachineType MachineTypeFor(LocalType type) { in MachineTypeFor()
157 LinkageLocation Next(LocalType type) { in Next()
178 bool IsFloatingPoint(LocalType type) { in IsFloatingPoint()
181 int Words(LocalType type) { in Words()
227 LocalType ret = fsig->GetReturn(i); in GetWasmCallDescriptor()
256 LocalType param = fsig->GetParam(i); in GetWasmCallDescriptor()
Dwasm-compiler.h73 Node* Param(unsigned index, wasm::LocalType type);
77 Node* Phi(wasm::LocalType type, unsigned count, Node** vals, Node* control);
107 Node* ToJS(Node* node, Node* context, wasm::LocalType type);
108 Node* FromJS(Node* node, Node* context, wasm::LocalType type);
118 Node* LoadMem(wasm::LocalType type, MachineType memtype, Node* index,
Dwasm-compiler.cc290 Node* WasmGraphBuilder::Param(unsigned index, wasm::LocalType type) { in Param()
344 Node* WasmGraphBuilder::Phi(wasm::LocalType type, unsigned count, Node** vals, in Phi()
1447 Node* WasmGraphBuilder::ToJS(Node* node, Node* context, wasm::LocalType type) { in ToJS()
1474 wasm::LocalType type) { in FromJS()
1713 Node* WasmGraphBuilder::LoadMem(wasm::LocalType type, MachineType memtype, in LoadMem()
/external/v8/test/unittests/wasm/
Dast-decoder-unittest.cc25 static const LocalType kLocalTypes[] = {kAstI32, kAstI64, kAstF32, kAstF64};
133 LocalType types[] = {kLocalTypes[i], kLocalTypes[j], kLocalTypes[k]}; in TestBinop()
151 void TestUnop(WasmOpcode opcode, LocalType ret_type, LocalType param_type) { in TestUnop()
156 LocalType types[] = {ret_type, param_type}; in TestUnop()
165 LocalType types[] = {kLocalTypes[i], kLocalTypes[j]}; in TestUnop()
604 LocalType types[] = {kAstI32, kLocalTypes[i]}; in TEST_F()
924 static LocalType kIntTypes5[] = {kAstI32, kAstI32, kAstI32, kAstI32, kAstI32}; in TEST_F()
941 static LocalType kIntTypes5[] = {kAstI32, kAstI32, kAstI32, kAstI32, kAstI32}; in TEST_F()
1157 LocalType local_type = kLocalTypes[i]; in TEST_F()
1178 LocalType local_type = kLocalTypes[i]; in TEST_F()
[all …]
Dencoder-unittest.cc18 void AddLocal(WasmFunctionBuilder* f, LocalType type) { in AddLocal()
Dmodule-decoder-unittest.cc41 LocalType type;