/external/v8/src/builtins/ |
D | builtins-conversion.cc | 30 void Generate_NonPrimitiveToPrimitive(CodeStubAssembler* assembler, in Generate_NonPrimitiveToPrimitive() argument 36 Node* input = assembler->Parameter(Descriptor::kArgument); in Generate_NonPrimitiveToPrimitive() 37 Node* context = assembler->Parameter(Descriptor::kContext); in Generate_NonPrimitiveToPrimitive() 40 Callable callable = CodeFactory::GetProperty(assembler->isolate()); in Generate_NonPrimitiveToPrimitive() 42 assembler->HeapConstant(assembler->factory()->to_primitive_symbol()); in Generate_NonPrimitiveToPrimitive() 44 assembler->CallStub(callable, context, input, to_primitive_symbol); in Generate_NonPrimitiveToPrimitive() 47 Label ordinary_to_primitive(assembler); in Generate_NonPrimitiveToPrimitive() 48 assembler->GotoIf( in Generate_NonPrimitiveToPrimitive() 49 assembler->WordEqual(exotic_to_prim, assembler->NullConstant()), in Generate_NonPrimitiveToPrimitive() 51 assembler->GotoIf( in Generate_NonPrimitiveToPrimitive() [all …]
|
D | builtins-internal.cc | 64 CodeStubAssembler assembler(state); in Generate_CopyFastSmiOrObjectElements() local 66 Node* object = assembler.Parameter(Descriptor::kObject); in Generate_CopyFastSmiOrObjectElements() 69 Node* source = assembler.LoadObjectField(object, JSObject::kElementsOffset); in Generate_CopyFastSmiOrObjectElements() 71 CodeStubAssembler::ParameterMode mode = assembler.OptimalParameterMode(); in Generate_CopyFastSmiOrObjectElements() 72 Node* length = assembler.TaggedToParameter( in Generate_CopyFastSmiOrObjectElements() 73 assembler.LoadFixedArrayBaseLength(source), mode); in Generate_CopyFastSmiOrObjectElements() 78 Label if_newspace(&assembler), if_oldspace(&assembler); in Generate_CopyFastSmiOrObjectElements() 79 assembler.Branch( in Generate_CopyFastSmiOrObjectElements() 80 assembler.UintPtrOrSmiLessThan( in Generate_CopyFastSmiOrObjectElements() 81 length, assembler.IntPtrOrSmiConstant(max_elements, mode), mode), in Generate_CopyFastSmiOrObjectElements() [all …]
|
D | builtins-array.cc | 195 CodeStubAssembler assembler(state); in Generate_FastArrayPush() local 196 Variable arg_index(&assembler, MachineType::PointerRepresentation()); in Generate_FastArrayPush() 197 Label default_label(&assembler, &arg_index); in Generate_FastArrayPush() 198 Label smi_transition(&assembler); in Generate_FastArrayPush() 199 Label object_push_pre(&assembler); in Generate_FastArrayPush() 200 Label object_push(&assembler, &arg_index); in Generate_FastArrayPush() 201 Label double_push(&assembler, &arg_index); in Generate_FastArrayPush() 202 Label double_transition(&assembler); in Generate_FastArrayPush() 203 Label runtime(&assembler, Label::kDeferred); in Generate_FastArrayPush() 205 Node* argc = assembler.Parameter(BuiltinDescriptor::kArgumentsCount); in Generate_FastArrayPush() [all …]
|
D | builtins-function.cc | 281 CodeStubAssembler assembler(state); in Generate_FastFunctionPrototypeBind() local 282 Label slow(&assembler); in Generate_FastFunctionPrototypeBind() 284 Node* argc = assembler.Parameter(BuiltinDescriptor::kArgumentsCount); in Generate_FastFunctionPrototypeBind() 285 Node* context = assembler.Parameter(BuiltinDescriptor::kContext); in Generate_FastFunctionPrototypeBind() 286 Node* new_target = assembler.Parameter(BuiltinDescriptor::kNewTarget); in Generate_FastFunctionPrototypeBind() 288 CodeStubArguments args(&assembler, assembler.ChangeInt32ToIntPtr(argc)); in Generate_FastFunctionPrototypeBind() 292 assembler.GotoIf(assembler.TaggedIsSmi(receiver), &slow); in Generate_FastFunctionPrototypeBind() 294 Node* receiver_map = assembler.LoadMap(receiver); in Generate_FastFunctionPrototypeBind() 295 Node* instance_type = assembler.LoadMapInstanceType(receiver_map); in Generate_FastFunctionPrototypeBind() 296 assembler.GotoIf( in Generate_FastFunctionPrototypeBind() [all …]
|
D | builtins-global.cc | 111 CodeStubAssembler assembler(state); in Generate_GlobalIsFinite() local 113 Node* context = assembler.Parameter(4); in Generate_GlobalIsFinite() 115 Label return_true(&assembler), return_false(&assembler); in Generate_GlobalIsFinite() 118 Variable var_num(&assembler, MachineRepresentation::kTagged); in Generate_GlobalIsFinite() 119 Label loop(&assembler, &var_num); in Generate_GlobalIsFinite() 120 var_num.Bind(assembler.Parameter(1)); in Generate_GlobalIsFinite() 121 assembler.Goto(&loop); in Generate_GlobalIsFinite() 122 assembler.Bind(&loop); in Generate_GlobalIsFinite() 128 assembler.GotoIf(assembler.TaggedIsSmi(num), &return_true); in Generate_GlobalIsFinite() 131 Label if_numisheapnumber(&assembler), in Generate_GlobalIsFinite() [all …]
|
D | builtins-date.cc | 900 void Generate_DatePrototype_GetField(CodeStubAssembler* assembler, in Generate_DatePrototype_GetField() argument 905 Node* receiver = assembler->Parameter(0); in Generate_DatePrototype_GetField() 906 Node* context = assembler->Parameter(3); in Generate_DatePrototype_GetField() 908 Label receiver_not_date(assembler, Label::kDeferred); in Generate_DatePrototype_GetField() 910 assembler->GotoIf(assembler->TaggedIsSmi(receiver), &receiver_not_date); in Generate_DatePrototype_GetField() 911 Node* receiver_instance_type = assembler->LoadInstanceType(receiver); in Generate_DatePrototype_GetField() 912 assembler->GotoIf( in Generate_DatePrototype_GetField() 913 assembler->Word32NotEqual(receiver_instance_type, in Generate_DatePrototype_GetField() 914 assembler->Int32Constant(JS_DATE_TYPE)), in Generate_DatePrototype_GetField() 919 assembler->Return( in Generate_DatePrototype_GetField() [all …]
|
D | builtins-symbol.cc | 74 CodeStubAssembler assembler(state); in Generate_SymbolPrototypeToPrimitive() local 76 Node* receiver = assembler.Parameter(0); in Generate_SymbolPrototypeToPrimitive() 77 Node* context = assembler.Parameter(4); in Generate_SymbolPrototypeToPrimitive() 80 assembler.ToThisValue(context, receiver, PrimitiveType::kSymbol, in Generate_SymbolPrototypeToPrimitive() 82 assembler.Return(result); in Generate_SymbolPrototypeToPrimitive() 89 CodeStubAssembler assembler(state); in Generate_SymbolPrototypeToString() local 91 Node* receiver = assembler.Parameter(0); in Generate_SymbolPrototypeToString() 92 Node* context = assembler.Parameter(3); in Generate_SymbolPrototypeToString() 94 Node* value = assembler.ToThisValue(context, receiver, PrimitiveType::kSymbol, in Generate_SymbolPrototypeToString() 97 assembler.CallRuntime(Runtime::kSymbolDescriptiveString, context, value); in Generate_SymbolPrototypeToString() [all …]
|
D | builtins-boolean.cc | 43 CodeStubAssembler assembler(state); in Generate_BooleanPrototypeToString() local 45 Node* receiver = assembler.Parameter(0); in Generate_BooleanPrototypeToString() 46 Node* context = assembler.Parameter(3); in Generate_BooleanPrototypeToString() 48 Node* value = assembler.ToThisValue( in Generate_BooleanPrototypeToString() 50 Node* result = assembler.LoadObjectField(value, Oddball::kToStringOffset); in Generate_BooleanPrototypeToString() 51 assembler.Return(result); in Generate_BooleanPrototypeToString() 58 CodeStubAssembler assembler(state); in Generate_BooleanPrototypeValueOf() local 60 Node* receiver = assembler.Parameter(0); in Generate_BooleanPrototypeValueOf() 61 Node* context = assembler.Parameter(3); in Generate_BooleanPrototypeValueOf() 63 Node* result = assembler.ToThisValue( in Generate_BooleanPrototypeValueOf() [all …]
|
D | builtins-ic.cc | 15 AccessorAssembler assembler(state); \ 16 assembler.Generate##Name(); \ 21 AccessorAssembler assembler(state); \ 22 assembler.Generate##GeneratorName(parameter); \
|
/external/v8/src/ |
D | code-stubs.cc | 338 CodeStubAssembler assembler(state); in GenerateAssembly() local 339 Node* left = assembler.Parameter(Descriptor::kLeft); in GenerateAssembly() 340 Node* right = assembler.Parameter(Descriptor::kRight); in GenerateAssembly() 341 Node* context = assembler.Parameter(Descriptor::kContext); in GenerateAssembly() 347 left = assembler.ToString(context, in GenerateAssembly() 348 assembler.JSReceiverToPrimitive(context, left)); in GenerateAssembly() 354 right = assembler.ToString(context, in GenerateAssembly() 355 assembler.JSReceiverToPrimitive(context, right)); in GenerateAssembly() 362 assembler.Return(assembler.StringAdd(context, left, right, flags)); in GenerateAssembly() 366 assembler.TailCallStub(callable, context, left, right); in GenerateAssembly() [all …]
|
D | code-stubs-hydrogen.cc | 247 CodeStubAssembler assembler(&state); in GenerateRuntimeTailCall() local 252 assembler.TailCallRuntime(descriptor->miss_handler_id(), in GenerateRuntimeTailCall() 253 assembler.Parameter(0)); in GenerateRuntimeTailCall() 256 assembler.TailCallRuntime(descriptor->miss_handler_id(), in GenerateRuntimeTailCall() 257 assembler.Parameter(1), assembler.Parameter(0)); in GenerateRuntimeTailCall() 260 assembler.TailCallRuntime(descriptor->miss_handler_id(), in GenerateRuntimeTailCall() 261 assembler.Parameter(2), assembler.Parameter(0), in GenerateRuntimeTailCall() 262 assembler.Parameter(1)); in GenerateRuntimeTailCall() 265 assembler.TailCallRuntime(descriptor->miss_handler_id(), in GenerateRuntimeTailCall() 266 assembler.Parameter(3), assembler.Parameter(0), in GenerateRuntimeTailCall() [all …]
|
D | safepoint-table.cc | 103 Assembler* assembler, in DefineSafepoint() argument 109 info.pc = assembler->pc_offset(); in DefineSafepoint() 138 void SafepointTableBuilder::Emit(Assembler* assembler, int bits_per_entry) { in Emit() argument 140 assembler->Align(kIntSize); in Emit() 141 assembler->RecordComment(";;; Safepoint table."); in Emit() 142 offset_ = assembler->pc_offset(); in Emit() 153 assembler->dd(length); in Emit() 154 assembler->dd(bytes_per_entry); in Emit() 158 assembler->dd(deoptimization_info_[i].pc); in Emit() 159 assembler->dd(EncodeExceptPC(deoptimization_info_[i], in Emit() [all …]
|
D | v8.gyp | 433 'assembler.cc', 434 'assembler.h', 435 'assembler-inl.h', 534 'code-stub-assembler.cc', 535 'code-stub-assembler.h', 576 'compiler/code-assembler.cc', 577 'compiler/code-assembler.h', 607 'compiler/graph-assembler.cc', 608 'compiler/graph-assembler.h', 708 'compiler/raw-machine-assembler.cc', [all …]
|
/external/v8/src/interpreter/ |
D | interpreter.cc | 38 #define __ assembler-> 144 InterpreterAssembler assembler(&state, bytecode, operand_scale); in InstallBytecodeHandler() local 146 assembler.SaveBytecodeOffset(); in InstallBytecodeHandler() 148 (this->*generator)(&assembler); in InstallBytecodeHandler() 386 void Interpreter::DoLdaZero(InterpreterAssembler* assembler) { in DoLdaZero() argument 395 void Interpreter::DoLdaSmi(InterpreterAssembler* assembler) { in DoLdaSmi() argument 404 void Interpreter::DoLdaConstant(InterpreterAssembler* assembler) { in DoLdaConstant() argument 414 void Interpreter::DoLdaUndefined(InterpreterAssembler* assembler) { in DoLdaUndefined() argument 424 void Interpreter::DoLdaNull(InterpreterAssembler* assembler) { in DoLdaNull() argument 433 void Interpreter::DoLdaTheHole(InterpreterAssembler* assembler) { in DoLdaTheHole() argument [all …]
|
D | interpreter.h | 75 void Do##Name(InterpreterAssembler* assembler); 89 void DoBinaryOpWithFeedback(InterpreterAssembler* assembler); 94 InterpreterAssembler* assembler); 99 InterpreterAssembler* assembler); 104 void DoBinaryOpWithImmediate(InterpreterAssembler* assembler); 109 void DoUnaryOpWithFeedback(InterpreterAssembler* assembler); 113 void DoCompareOp(Token::Value compare_op, InterpreterAssembler* assembler); 116 void DoStaGlobal(Callable ic, InterpreterAssembler* assembler); 119 void DoStoreIC(Callable ic, InterpreterAssembler* assembler); 122 void DoKeyedStoreIC(Callable ic, InterpreterAssembler* assembler); [all …]
|
/external/vixl/doc/aarch32/design/ |
D | literal-pool-aarch32.md | 2 * Avoid any new API at the assembler level 4 * Keep the literal pool at the macro-assembler level 6 * The macro-assembler will have its own literal pool, and will manage 8 * The macro-assembler is responsible for emitting its managed literal 10 * The assembler does not manage literals, but can place a literal in the 19 So, the macro-assembler will have to wait for the instruction to be emitted 20 at the assembler level, as the assembler may choose the variant to emit, to 33 The macro assembler then manages the checkpoint which defines when the 34 macro-assembler’s internal pool has to be emitted. 49 via the macro-assembler because the assembler has no knowledge of the literal [all …]
|
/external/v8/ |
D | LICENSE | 15 - Strongtalk assembler, the basis of the files assembler-arm-inl.h, 16 assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, 17 assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, 18 assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, 19 assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h.
|
D | NOTICE | 15 - Strongtalk assembler, the basis of the files assembler-arm-inl.h, 16 assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, 17 assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, 18 assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, 19 assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h.
|
/external/vixl/src/aarch32/ |
D | location-aarch32.cc | 44 void Location::ResolveReferences(internal::AssemblerBase* assembler) { in ResolveReferences() argument 50 EncodeLocationFor(assembler, from, reference.op()); in ResolveReferences() 59 void Location::EncodeLocationFor(internal::AssemblerBase* assembler, in EncodeLocationFor() argument 64 assembler->GetBuffer()->GetOffsetAddress<uint16_t*>(from); in EncodeLocationFor() 82 assembler->GetBuffer()->GetOffsetAddress<uint32_t*>(from); in EncodeLocationFor() 146 Assembler* assembler = static_cast<Assembler*>(masm->AsAssemblerBase()); in EmitPoolObject() local 148 assembler->GetBuffer()->EnsureSpaceFor(GetSize()); in EmitPoolObject() 149 assembler->GetBuffer()->EmitData(GetDataAddress(), GetSize()); in EmitPoolObject()
|
/external/vulkan-validation-layers/loader/ |
D | asm_offset.c | 40 const char *assembler = NULL; in main() local 43 assembler = "MASM"; in main() 45 assembler = "GAS"; in main() 48 if (assembler == NULL) { in main() 104 if (!strcmp(assembler, "MASM")) { in main() 108 } else if (!strcmp(assembler, "GAS")) { in main()
|
/external/llvm/test/MC/ARM/ |
D | eh-directive-setfp.s | 43 @ The assembler should emit 0x9B to copy stack pointer from r11. 85 @ The assembler should emit 0x9B to copy stack pointer from r11. 86 @ The assembler should emit ((-offset - 4) >> 2) for offset. 128 @ The assembler should emit 0x9B to copy stack pointer from r11. 129 @ The assembler should emit 0x3F and ((-offset - 0x104) >> 2) for offset. 171 @ The assembler should emit 0x9B to copy stack pointer from r11. 172 @ The assembler should emit 0xB2 and the ULEB128 encoding of 229 @ The assembler should emit 0x9B to copy stack pointer from r11. 230 @ The assembler should emit (0x40 | (offset - 4)) >> 2 for offset.
|
/external/libopus/m4/ |
D | as-gcc-inline-assembly.m4 | 36 AC_MSG_CHECKING([if assembler supports NEON instructions on ARM]) 47 AC_MSG_CHECKING([if assembler supports NEON instructions on ARM]) 58 AC_MSG_CHECKING([if assembler supports ARMv6 media instructions on ARM]) 69 AC_MSG_CHECKING([if assembler supports ARMv6 media instructions on ARM]) 80 AC_MSG_CHECKING([if assembler supports EDSP instructions on ARM]) 91 AC_MSG_CHECKING([if assembler supports EDSP instructions on ARM])
|
/external/vixl/src/ |
D | code-generation-scopes-vixl.h | 67 CodeBufferCheckScope(internal::AssemblerBase* assembler, 72 Open(assembler, size, check_policy, size_policy); in assembler_() 85 void Open(internal::AssemblerBase* assembler, 90 VIXL_ASSERT(assembler != NULL); 91 assembler_ = assembler; 93 assembler->GetBuffer()->EnsureSpaceFor(size);
|
/external/vixl/doc/aarch64/ |
D | getting-started-aarch64.md | 6 how to set up the VIXL assembler and generate some code. We will also go into 14 Creating the macro assembler and the simulator. 17 First of all you need to make sure that the header files for the assembler and 22 #include "aarch64/macro-assembler-aarch64.h" 29 Creating a macro assembler is as simple as 33 VIXL's assembler will generate some code at run-time, and this code needs to 34 be stored in a buffer. By default the assembler will automatically manage 49 We are now ready to generate some code. The macro assembler provides methods 50 for all the instructions that you can use. As it's a macro assembler, 56 optionally shifted by 12, but the macro assembler can generate one or more [all …]
|
/external/vixl/doc/aarch32/ |
D | getting-started-aarch32.md | 6 how to set up the VIXL assembler and generate some code. We will also go into 14 Creating the macro assembler. 17 First of all you need to make sure that the header files for the assembler are 30 #include "aarch32/macro-assembler-aarch32.h" 42 First of all we need to create a macro assembler object. 50 We are now ready to generate some code. The macro assembler provides methods 51 for all the instructions that you can use. As it's a macro assembler, 96 VIXL's assembler provides a mechanism to represent labels with `Label` objects. 101 to a location using the macro assembler. 139 big. However, VIXL's macro assembler will automatically rewrite this line into [all …]
|