Home
last modified time | relevance | path

Searched refs:LinkageLocation (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/compiler/
Dlinkage.h43 class LinkageLocation {
45 bool operator==(const LinkageLocation& other) const {
50 bool operator!=(const LinkageLocation& other) const {
54 static bool IsSameLocation(const LinkageLocation& a, in IsSameLocation()
55 const LinkageLocation& b) { in IsSameLocation()
67 static LinkageLocation ForAnyRegister(
69 return LinkageLocation(REGISTER, ANY_REGISTER, type);
72 static LinkageLocation ForRegister(int32_t reg,
75 return LinkageLocation(REGISTER, reg, type);
78 static LinkageLocation ForCallerFrameSlot(int32_t slot, MachineType type) { in ForCallerFrameSlot()
[all …]
Dlinkage.cc20 inline LinkageLocation regloc(Register reg, MachineType type) { in regloc()
21 return LinkageLocation::ForRegister(reg.code(), type); in regloc()
24 inline LinkageLocation regloc(DoubleRegister reg, MachineType type) { in regloc()
25 return LinkageLocation::ForRegister(reg.code(), type); in regloc()
83 LinkageLocation operand = GetInputLocation(i); in GetFirstUnusedStackSlot()
125 LinkageLocation operand = GetInputLocation(i); in GetTaggedParameterSlots()
143 } else if (!LinkageLocation::IsSameLocation(GetReturnLocation(i), in CanTailCall()
293 locations.AddParam(LinkageLocation::ForCallerFrameSlot( in GetCEntryStubCallDescriptor()
309 LinkageLocation target_loc = in GetCEntryStubCallDescriptor()
310 LinkageLocation::ForAnyRegister(MachineType::AnyTagged()); in GetCEntryStubCallDescriptor()
[all …]
Dc-linkage.cc165 LinkageLocation::ForCallerFrameSlot(-1 - stack_offset, type)); in BuildParameterLocations()
170 LinkageLocation::ForRegister(kFPParamRegisters[i].code(), type)); in BuildParameterLocations()
173 LinkageLocation::ForRegister(kParamRegisters[i].code(), type)); in BuildParameterLocations()
204 LinkageLocation::ForCallerFrameSlot(-1 - stack_offset, type)); in BuildParameterLocations()
208 out_locations->AddParam(LinkageLocation::ForRegister( in BuildParameterLocations()
212 out_locations->AddParam(LinkageLocation::ForRegister( in BuildParameterLocations()
253 locations.AddReturn(LinkageLocation::ForRegister(kReturnRegister0.code(), in GetSimplifiedCDescriptor()
257 locations.AddReturn(LinkageLocation::ForRegister(kReturnRegister1.code(), in GetSimplifiedCDescriptor()
295 LinkageLocation target_loc = LinkageLocation::ForAnyRegister(target_type); in GetSimplifiedCDescriptor()
Dwasm-compiler.cc7903 LinkageLocation Next(MachineRepresentation rep) { in Next()
7908 return LinkageLocation::ForRegister(reg_code, type); in Next()
7912 return LinkageLocation::ForRegister(reg_code, type); in Next()
7916 return LinkageLocation::ForCallerFrameSlot(index, type); in Next()
7969 locations.AddParam(LinkageLocation::ForRegister( in GetWasmCallDescriptor()
7994 LinkageLocation target_loc = LinkageLocation::ForAnyRegister(target_type); in GetWasmCallDescriptor()
8052 LinkageLocation::ForRegister(kJSFunctionRegister.code(), in ReplaceTypeInCallDescriptorWith()
8069 locations.AddParam(LinkageLocation::ForRegister( in ReplaceTypeInCallDescriptorWith()
/external/v8/src/compiler/backend/
Dinstruction-selector-impl.h113 InstructionOperand DefineAsLocation(Node* node, LinkageLocation location) { in DefineAsLocation()
118 LinkageLocation primary_location, in DefineAsDualLocation()
119 LinkageLocation secondary_location) { in DefineAsDualLocation()
203 InstructionOperand UseLocation(Node* node, LinkageLocation location) { in UseLocation()
209 InstructionOperand UsePointerLocation(LinkageLocation to_location, in UsePointerLocation()
210 LinkageLocation from_location) { in UsePointerLocation()
289 InstructionOperand TempLocation(LinkageLocation location) { in TempLocation()
403 LinkageLocation primary_location, LinkageLocation secondary_location, in ToDualLocationUnallocatedOperand()
414 UnallocatedOperand ToUnallocatedOperand(LinkageLocation location, in ToUnallocatedOperand()
Dinstruction-selector.h243 LinkageLocation l = LinkageLocation::ForAnyRegister())
247 LinkageLocation location;
Dinstruction-selector.cc887 LinkageLocation location = buffer->descriptor->GetReturnLocation(i); in InitializeCallBuffer()
916 LinkageLocation location = buffer->output_nodes[i].location; in InitializeCallBuffer()
1053 LinkageLocation location = buffer->descriptor->GetInputLocation(index); in InitializeCallBuffer()
1055 location = LinkageLocation::ConvertToTailCallerLocation( in InitializeCallBuffer()
1097 LinkageLocation saved_return_location = in InitializeCallBuffer()
1098 LinkageLocation::ForSavedCallerReturnAddress(); in InitializeCallBuffer()
1100 g.UsePointerLocation(LinkageLocation::ConvertToTailCallerLocation( in InitializeCallBuffer()
2831 LinkageLocation ExceptionLocation() { in ExceptionLocation()
2832 return LinkageLocation::ForRegister(kReturnRegister0.code(), in ExceptionLocation()
/external/v8/src/wasm/baseline/
Dliftoff-assembler.cc746 compiler::LinkageLocation loc = in PrepareStackTransfers()
815 compiler::LinkageLocation instance_loc = in PrepareCall()
882 compiler::LinkageLocation loc = in FinishCall()
973 compiler::LinkageLocation loc = in MoveToReturnLocations()
994 compiler::LinkageLocation loc = in MoveToReturnLocations()
Dliftoff-compiler.cc480 auto LoadToReg = [this, reg_type, rc](compiler::LinkageLocation location, in ProcessParameter()
570 compiler::LinkageLocation instance_loc = in StartFunctionBody()