/external/v8/src/ |
D | machine-type.h | 57 class MachineType { 59 constexpr MachineType() in MachineType() function 62 constexpr MachineType(MachineRepresentation representation, in MachineType() function 66 constexpr bool operator==(MachineType other) const { 71 constexpr bool operator!=(MachineType other) const { 101 constexpr static MachineType UintPtr() { in UintPtr() 104 constexpr static MachineType IntPtr() { in IntPtr() 107 constexpr static MachineType Int8() { in Int8() 108 return MachineType(MachineRepresentation::kWord8, MachineSemantic::kInt32); in Int8() 110 constexpr static MachineType Uint8() { in Uint8() [all …]
|
D | interface-descriptors.h | 106 const MachineType* machine_types, 122 MachineType return_type(int index) const { in return_type() 126 MachineType param_type(int index) const { in param_type() 175 MachineType* machine_types_ = nullptr; 227 MachineType GetReturnType(int index) const { in GetReturnType() 246 MachineType GetParameterType(int index) const { in GetParameterType() 379 MachineType machine_types[] = {__VA_ARGS__}; \ 389 DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::AnyTagged() /* result */, \ 407 DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(), /* kTarget */ \ 408 MachineType::AnyTagged(), /* kNewTarget */ \ [all …]
|
/external/v8/src/compiler/ |
D | access-builder.cc | 26 Type::Any(), MachineType::AnyTagged(), in ForExternalTaggedValue() 35 TypeCache::Get().kUint8, MachineType::Uint8(), in ForExternalUint8Value() 44 Type::OtherInternal(), MachineType::TaggedPointer(), in ForMap() 54 MaybeHandle<Map>(), TypeCache::Get().kFloat64, MachineType::Float64(), in ForHeapNumberValue() 63 MaybeHandle<Map>(), TypeCache::Get().kInt32, MachineType::IntPtr(), in ForBigIntBitfield() 72 Type::Any(), MachineType::AnyTagged(), in ForJSObjectPropertiesOrHash() 82 Type::Internal(), MachineType::TaggedPointer(), in ForJSObjectElements() 94 Type::NonInternal(), MachineType::AnyTagged(), in ForJSObjectInObjectProperty() 104 Type::NonInternal(), MachineType::AnyTagged(), in ForJSObjectOffset() 113 Type::OtherInternal(), MachineType::TaggedPointer(), in ForJSCollectionTable() [all …]
|
D | raw-machine-assembler.cc | 255 Node* RawMachineAssembler::CallCFunction0(MachineType return_type, in CallCFunction0() 266 Node* RawMachineAssembler::CallCFunction1(MachineType return_type, in CallCFunction1() 267 MachineType arg0_type, Node* function, in CallCFunction1() 279 MachineType return_type, MachineType arg0_type, Node* function, Node* arg0, in CallCFunction1WithCallerSavedRegisters() 293 Node* RawMachineAssembler::CallCFunction2(MachineType return_type, in CallCFunction2() 294 MachineType arg0_type, in CallCFunction2() 295 MachineType arg1_type, Node* function, in CallCFunction2() 307 Node* RawMachineAssembler::CallCFunction3(MachineType return_type, in CallCFunction3() 308 MachineType arg0_type, in CallCFunction3() 309 MachineType arg1_type, in CallCFunction3() [all …]
|
D | linkage.cc | 22 inline LinkageLocation regloc(Register reg, MachineType type) { in regloc() 58 MachineType* types = zone->NewArray<MachineType>(param_count + return_count); in GetMachineSignature() 245 locations.AddReturn(regloc(kReturnRegister0, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor() 248 locations.AddReturn(regloc(kReturnRegister1, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor() 251 locations.AddReturn(regloc(kReturnRegister2, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor() 257 i - js_parameter_count, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor() 261 regloc(kRuntimeCallFunctionRegister, MachineType::Pointer())); in GetCEntryStubCallDescriptor() 265 regloc(kRuntimeCallArgCountRegister, MachineType::Int32())); in GetCEntryStubCallDescriptor() 268 locations.AddParam(regloc(kContextRegister, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor() 271 MachineType target_type = MachineType::AnyTagged(); in GetCEntryStubCallDescriptor() [all …]
|
D | linkage.h | 45 MachineType type = MachineType::None()) { 50 MachineType type = MachineType::None()) { 55 static LinkageLocation ForCallerFrameSlot(int32_t slot, MachineType type) { in ForCallerFrameSlot() 60 static LinkageLocation ForCalleeFrameSlot(int32_t slot, MachineType type) { in ForCalleeFrameSlot() 70 MachineType::Pointer()); in ForSavedCallerReturnAddress() 77 MachineType::Pointer()); in ForSavedCallerFramePtr() 85 MachineType::AnyTagged()); in ForSavedCallerConstantPool() 92 MachineType::AnyTagged()); in ForSavedCallerFunction() 105 MachineType GetType() const { return machine_type_; } in GetType() 153 MachineType machine_type) { in LinkageLocation() [all …]
|
D | code-assembler.h | 62 static constexpr MachineType kMachineType = MachineType::Pointer(); 73 static constexpr MachineType kMachineType = MachineType::Int32(); 76 static constexpr MachineType kMachineType = MachineType::Uint32(); 84 static constexpr MachineType kMachineType = MachineType::Int64(); 87 static constexpr MachineType kMachineType = MachineType::Uint64(); 91 static constexpr MachineType kMachineType = MachineType::IntPtr(); 94 static constexpr MachineType kMachineType = MachineType::UintPtr(); 100 static constexpr MachineType kMachineType = MachineType::Float32(); 106 static constexpr MachineType kMachineType = MachineType::Float64(); 116 inline constexpr MachineType CommonMachineType(MachineType type1, in CommonMachineType() [all …]
|
D | raw-machine-assembler.h | 42 MachineRepresentation word = MachineType::PointerRepresentation(), 122 Node* Load(MachineType rep, Node* base, 126 Node* Load(MachineType rep, Node* base, Node* index, 148 Node* UnalignedLoad(MachineType type, Node* base) { in UnalignedLoad() 151 Node* UnalignedLoad(MachineType type, Node* base, Node* index) { in UnalignedLoad() 175 Node* AtomicLoad(MachineType type, Node* base, Node* index) { in AtomicLoad() 183 Node* Atomic##name(MachineType rep, Node* base, Node* index, Node* value) { \ 194 Node* AtomicCompareExchange(MachineType rep, Node* base, Node* index, in AtomicCompareExchange() 749 Node* LoadFromPointer(void* address, MachineType rep, int32_t offset = 0) { 755 Node* UnalignedLoadFromPointer(void* address, MachineType rep, [all …]
|
D | machine-operator.cc | 89 MachineType AtomicOpType(Operator const* op) { in AtomicOpType() 90 return OpParameter<MachineType>(op); in AtomicOpType() 480 "Load", 2, 1, 1, 1, 1, 0, MachineType::Type()) {} \ 488 "PoisonedLoad", 2, 1, 1, 1, 1, 0, MachineType::Type()) {} \ 496 "UnalignedLoad", 2, 1, 1, 1, 1, 0, MachineType::Type()) {} \ 504 1, 1, 1, 0, MachineType::Type()) {} \ 590 "Word32AtomicLoad", 2, 1, 1, 1, 1, 0, MachineType::Type()) {} \ 603 "Word64AtomicLoad", 2, 1, 1, 1, 1, 0, MachineType::Type()) {} \ 638 struct op##type##Operator : public Operator1<MachineType> { \ 640 : Operator1<MachineType>(IrOpcode::k##op, \ [all …]
|
D | machine-operator.h | 47 typedef MachineType LoadRepresentation; 113 MachineType AtomicOpType(Operator const* op) V8_WARN_UNUSED_RESULT; 214 MachineRepresentation word = MachineType::PointerRepresentation(), in NON_EXPORTED_BASE() 624 const Operator* Word32AtomicExchange(MachineType type); in NON_EXPORTED_BASE() 626 const Operator* Word64AtomicExchange(MachineType type); in NON_EXPORTED_BASE() 628 const Operator* Word32AtomicCompareExchange(MachineType type); in NON_EXPORTED_BASE() 630 const Operator* Word64AtomicCompareExchange(MachineType type); in NON_EXPORTED_BASE() 632 const Operator* Word32AtomicAdd(MachineType type); in NON_EXPORTED_BASE() 634 const Operator* Word32AtomicSub(MachineType type); in NON_EXPORTED_BASE() 636 const Operator* Word32AtomicAnd(MachineType type); in NON_EXPORTED_BASE() [all …]
|
D | code-assembler.cc | 30 constexpr MachineType MachineTypeOf<Smi>::value; 31 constexpr MachineType MachineTypeOf<Object>::value; 77 MachineType::PointerRepresentation(), in CodeAssemblerState() 941 Node* CodeAssembler::Load(MachineType rep, Node* base, in CODE_ASSEMBLER_UNARY_OP_LIST() 946 Node* CodeAssembler::Load(MachineType rep, Node* base, Node* offset, in Load() 951 Node* CodeAssembler::AtomicLoad(MachineType rep, Node* base, Node* offset) { in AtomicLoad() 970 return UncheckedCast<Object>(Load(MachineType::AnyTagged(), roots_array_start, in LoadRoot() 1006 Node* CodeAssembler::Atomic##name(MachineType type, Node* base, \ 1018 Node* CodeAssembler::AtomicCompareExchange(MachineType type, Node* base, in AtomicCompareExchange() 1271 Node* CodeAssembler::CallCFunctionN(Signature<MachineType>* signature, in CallCFunctionN() [all …]
|
D | wasm-compiler.cc | 80 mcgraph()->machine()->Load(MachineType::TaggedPointer()), array_node, \ 217 return LOAD_INSTANCE_FIELD(NullValue, MachineType::TaggedPointer()); in RefNull() 255 mcgraph()->machine()->Load(MachineType::Pointer()), instance_node_.get(), in StackCheck() 259 mcgraph()->machine()->Load(MachineType::Pointer()), limit_address, in StackCheck() 574 return BuildAsmjsStoreMem(MachineType::Int8(), left, right); in Binop() 576 return BuildAsmjsStoreMem(MachineType::Int16(), left, right); in Binop() 578 return BuildAsmjsStoreMem(MachineType::Int32(), left, right); in Binop() 580 return BuildAsmjsStoreMem(MachineType::Float32(), left, right); in Binop() 582 return BuildAsmjsStoreMem(MachineType::Float64(), left, right); in Binop() 852 return BuildAsmjsLoadMem(MachineType::Int8(), input); in Unop() [all …]
|
D | common-operator.h | 199 : std::pair<uint32_t, const ZoneVector<MachineType>*> { 201 const ZoneVector<MachineType>* machine_types) in TypedObjectStateInfo() 202 : std::pair<uint32_t, const ZoneVector<MachineType>*>(object_id, in TypedObjectStateInfo() 205 const ZoneVector<MachineType>* machine_types() const { return second; } in machine_types() 334 TypedStateValueInfo(ZoneVector<MachineType> const* machine_types, in TypedStateValueInfo() 338 ZoneVector<MachineType> const* machine_types() const { in machine_types() 344 ZoneVector<MachineType> const* machine_types_; 368 const ZoneVector<MachineType>* types); 376 ZoneVector<MachineType> const* MachineTypesOf(Operator const*) 508 const Operator* TypedStateValues(const ZoneVector<MachineType>* types, in NON_EXPORTED_BASE() [all …]
|
D | machine-graph-verifier.cc | 124 MachineType::PointerRepresentation(); in Run() 188 MachineType::PointerRepresentation(); in Run() 192 MachineType::PointerRepresentation(); in Run() 345 node, 0, MachineType::PointerRepresentation()); in Run() 492 node, 1, MachineType::PointerRepresentation()); in Run() 504 node, 1, MachineType::PointerRepresentation()); in Run() 519 node, 1, MachineType::PointerRepresentation()); in Run() 568 MachineType type = inferrer_->call_descriptor()->GetReturnType(i); in Run() 607 return MachineType::PointerRepresentation() == in Is32() 611 return MachineType::PointerRepresentation() == in Is64() [all …]
|
D | representation-change.h | 286 MachineType TypeForBasePointer(const FieldAccess& access) { in TypeForBasePointer() 287 return access.tag() != 0 ? MachineType::AnyTagged() in TypeForBasePointer() 288 : MachineType::Pointer(); in TypeForBasePointer() 291 MachineType TypeForBasePointer(const ElementAccess& access) { in TypeForBasePointer() 292 return access.tag() != 0 ? MachineType::AnyTagged() in TypeForBasePointer() 293 : MachineType::Pointer(); in TypeForBasePointer()
|
/external/v8/src/builtins/ |
D | builtins-sharedarraybuffer-gen.cc | 22 typedef Node* (CodeAssembler::*AssemblerFunction)(MachineType type, 55 MachineType::Uint32()); in ValidateSharedTypedArray() 166 SmiFromInt32(AtomicLoad(MachineType::Int8(), backing_store, index_word))); in TF_BUILTIN() 170 AtomicLoad(MachineType::Uint8(), backing_store, index_word))); in TF_BUILTIN() 174 AtomicLoad(MachineType::Int16(), backing_store, WordShl(index_word, 1)))); in TF_BUILTIN() 177 Return(SmiFromInt32(AtomicLoad(MachineType::Uint16(), backing_store, in TF_BUILTIN() 182 AtomicLoad(MachineType::Int32(), backing_store, WordShl(index_word, 2)))); in TF_BUILTIN() 185 Return(ChangeUint32ToTagged(AtomicLoad(MachineType::Uint32(), backing_store, in TF_BUILTIN() 289 Return(SmiFromInt32(AtomicExchange(MachineType::Int8(), backing_store, in TF_BUILTIN() 293 Return(SmiFromInt32(AtomicExchange(MachineType::Uint8(), backing_store, in TF_BUILTIN() [all …]
|
D | builtins-internal-gen.cc | 149 CAST(Load(MachineType::AnyTagged(), frame, in TF_BUILTIN() 221 return Load(MachineType::Uint8(), is_marking_addr); in IsMarking() 226 Node* flags = Load(MachineType::Pointer(), page, in IsPageFlagSet() 240 return Word32Equal(Word32And(Load(MachineType::Int32(), cell), mask), in IsWhite() 278 void CallCFunction1WithCallerSavedRegistersMode(MachineType return_type, in CallCFunction1WithCallerSavedRegistersMode() 279 MachineType arg0_type, in CallCFunction1WithCallerSavedRegistersMode() 300 MachineType return_type, MachineType arg0_type, MachineType arg1_type, in CallCFunction3WithCallerSavedRegistersMode() 301 MachineType arg2_type, Node* function, Node* arg0, Node* arg1, Node* arg2, in CallCFunction3WithCallerSavedRegistersMode() 327 Load(MachineType::Pointer(), store_buffer_top_addr); in InsertToStoreBufferAndGoto() 328 StoreNoWriteBarrier(MachineType::PointerRepresentation(), store_buffer_top, in InsertToStoreBufferAndGoto() [all …]
|
D | builtins-intl-gen.cc | 67 VARIABLE(var_cursor, MachineType::PointerRepresentation(), in TF_BUILTIN() 82 Node* c = Load(MachineType::Uint8(), current); in TF_BUILTIN() 84 Load(MachineType::Uint8(), to_lower_table_addr, in TF_BUILTIN() 115 MachineType type_ptr = MachineType::Pointer(); in TF_BUILTIN() 116 MachineType type_tagged = MachineType::AnyTagged(); in TF_BUILTIN()
|
D | builtins-typed-array-gen.cc | 100 MachineType::PointerRepresentation()); in AttachBuffer() 255 MachineType::PointerRepresentation()); in TF_BUILTIN() 265 CallCFunction3(MachineType::AnyTagged(), MachineType::Pointer(), in TF_BUILTIN() 266 MachineType::IntPtr(), MachineType::UintPtr(), memset, in TF_BUILTIN() 621 CallCFunction3(MachineType::AnyTagged(), MachineType::Pointer(), in ConstructByArrayLike() 622 MachineType::Pointer(), MachineType::UintPtr(), memcpy, in ConstructByArrayLike() 1094 CallCFunction3(MachineType::AnyTagged(), MachineType::Pointer(), in CallCMemmove() 1095 MachineType::Pointer(), MachineType::UintPtr(), memmove, in CallCMemmove() 1109 CallCFunction5(MachineType::AnyTagged(), MachineType::AnyTagged(), in CallCCopyFastNumberJSArrayElementsToTypedArray() 1110 MachineType::AnyTagged(), MachineType::AnyTagged(), in CallCCopyFastNumberJSArrayElementsToTypedArray() [all …]
|
/external/v8/src/wasm/ |
D | value-type.h | 64 constexpr MachineType mem_type() const { return kMemType[val_]; } in mem_type() 96 static constexpr MachineType kMemType[] = { 97 #define MEMTYPE(_, __, memtype, ___) MachineType::memtype(), 173 static byte MemSize(MachineType type) { in MemSize() 230 static MachineType MachineTypeFor(ValueType type) { in MachineTypeFor() 233 return MachineType::Int32(); in MachineTypeFor() 235 return MachineType::Int64(); in MachineTypeFor() 237 return MachineType::Float32(); in MachineTypeFor() 239 return MachineType::Float64(); in MachineTypeFor() 242 return MachineType::TaggedPointer(); in MachineTypeFor() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cvtres/ |
D | llvm-cvtres.cpp | 112 COFF::MachineTypes MachineType; in main() local 116 MachineType = StringSwitch<COFF::MachineTypes>(MachineString) in main() 122 if (MachineType == COFF::IMAGE_FILE_MACHINE_UNKNOWN) in main() 127 MachineType = COFF::IMAGE_FILE_MACHINE_AMD64; in main() 147 switch (MachineType) { in main() 194 error(llvm::object::writeWindowsResourceCOFF(MachineType, Parser)); in main()
|
/external/v8/src/interpreter/ |
D | interpreter-assembler.cc | 36 MachineType::PointerRepresentation()), in InterpreterAssembler() 41 bytecode_offset_, MachineType::PointerRepresentation(), in InterpreterAssembler() 44 dispatch_table_, MachineType::PointerRepresentation(), in InterpreterAssembler() 240 return Load(MachineType::AnyTagged(), GetInterpretedFramePointer(), in LoadRegister() 245 return Load(MachineType::AnyTagged(), GetInterpretedFramePointer(), in LoadRegister() 286 return Load(MachineType::AnyTagged(), location); in LoadRegisterFromRegisterList() 363 return Load(MachineType::Uint8(), BytecodeArrayTaggedPointer(), in BytecodeOperandUnsignedByte() 373 return Load(MachineType::Int8(), BytecodeArrayTaggedPointer(), in BytecodeOperandSignedByte() 378 int relative_offset, MachineType result_type, in BytecodeOperandReadUnaligned() 395 MachineType msb_type = in BytecodeOperandReadUnaligned() [all …]
|
/external/v8/src/compiler/ia32/ |
D | instruction-selector-ia32.cc | 1042 if (input.location.GetType() == MachineType::Float32()) { in EmitPrepareArguments() 1044 } else if (input.location.GetType() == MachineType::Float64()) { in EmitPrepareArguments() 1046 } else if (input.location.GetType() == MachineType::Simd128()) { in EmitPrepareArguments() 1067 if (output.location.GetType() == MachineType::Float32()) { in EmitPrepareResults() 1069 } else if (output.location.GetType() == MachineType::Float64()) { in EmitPrepareResults() 1121 MachineType MachineTypeForNarrow(Node* node, Node* hint_node) { in MachineTypeForNarrow() 1123 MachineType hint = LoadRepresentationOf(hint_node->op()); in MachineTypeForNarrow() 1129 if (hint == MachineType::Int8()) { in MachineTypeForNarrow() 1134 } else if (hint == MachineType::Uint8()) { in MachineTypeForNarrow() 1139 } else if (hint == MachineType::Int16()) { in MachineTypeForNarrow() [all …]
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | DbiStreamBuilder.cpp | 23 Flags(0), MachineType(PDB_Machine::x86) {} in DbiStreamBuilder() 37 void DbiStreamBuilder::setMachineType(PDB_Machine M) { MachineType = M; } in setMachineType() 59 H->MachineType = static_cast<uint16_t>(MachineType); in build()
|
/external/v8/src/compiler/x64/ |
D | instruction-selector-x64.cc | 1528 if (output.location.GetType() == MachineType::Float32()) { in EmitPrepareResults() 1530 } else if (output.location.GetType() == MachineType::Float64()) { in EmitPrepareResults() 1580 MachineType MachineTypeForNarrow(Node* node, Node* hint_node) { in MachineTypeForNarrow() 1582 MachineType hint = LoadRepresentationOf(hint_node->op()); in MachineTypeForNarrow() 1588 if (hint == MachineType::Int8()) { in MachineTypeForNarrow() 1593 } else if (hint == MachineType::Uint8()) { in MachineTypeForNarrow() 1598 } else if (hint == MachineType::Int16()) { in MachineTypeForNarrow() 1603 } else if (hint == MachineType::Uint16()) { in MachineTypeForNarrow() 1608 } else if (hint == MachineType::Int32()) { in MachineTypeForNarrow() 1610 } else if (hint == MachineType::Uint32()) { in MachineTypeForNarrow() [all …]
|