Lines Matching refs:CodeAssembler
95 CodeAssembler::~CodeAssembler() = default;
129 void CodeAssembler::BreakOnNode(int node_id) { in BreakOnNode()
137 void CodeAssembler::RegisterCallGenerationCallbacks( in RegisterCallGenerationCallbacks()
147 void CodeAssembler::UnregisterCallGenerationCallbacks() { in UnregisterCallGenerationCallbacks()
152 void CodeAssembler::CallPrologue() { in CallPrologue()
158 void CodeAssembler::CallEpilogue() { in CallEpilogue()
164 bool CodeAssembler::Word32ShiftIsSafe() const { in Word32ShiftIsSafe()
169 Handle<Code> CodeAssembler::GenerateCode( in GenerateCode()
189 bool CodeAssembler::Is64() const { return raw_assembler()->machine()->Is64(); } in Is64()
190 bool CodeAssembler::Is32() const { return raw_assembler()->machine()->Is32(); } in Is32()
192 bool CodeAssembler::IsFloat64RoundUpSupported() const { in IsFloat64RoundUpSupported()
196 bool CodeAssembler::IsFloat64RoundDownSupported() const { in IsFloat64RoundDownSupported()
200 bool CodeAssembler::IsFloat64RoundTiesEvenSupported() const { in IsFloat64RoundTiesEvenSupported()
204 bool CodeAssembler::IsFloat64RoundTruncateSupported() const { in IsFloat64RoundTruncateSupported()
208 bool CodeAssembler::IsInt32AbsWithOverflowSupported() const { in IsInt32AbsWithOverflowSupported()
212 bool CodeAssembler::IsInt64AbsWithOverflowSupported() const { in IsInt64AbsWithOverflowSupported()
216 bool CodeAssembler::IsIntPtrAbsWithOverflowSupported() const { in IsIntPtrAbsWithOverflowSupported()
221 bool CodeAssembler::IsWord32PopcntSupported() const { in IsWord32PopcntSupported()
225 bool CodeAssembler::IsWord64PopcntSupported() const { in IsWord64PopcntSupported()
229 bool CodeAssembler::IsWord32CtzSupported() const { in IsWord32CtzSupported()
233 bool CodeAssembler::IsWord64CtzSupported() const { in IsWord64CtzSupported()
238 void CodeAssembler::GenerateCheckMaybeObjectIsObject(TNode<MaybeObject> node, in GenerateCheckMaybeObjectIsObject()
256 TNode<Int32T> CodeAssembler::Int32Constant(int32_t value) { in Int32Constant()
260 TNode<Int64T> CodeAssembler::Int64Constant(int64_t value) { in Int64Constant()
264 TNode<IntPtrT> CodeAssembler::IntPtrConstant(intptr_t value) { in IntPtrConstant()
268 TNode<TaggedIndex> CodeAssembler::TaggedIndexConstant(intptr_t value) { in TaggedIndexConstant()
273 TNode<Number> CodeAssembler::NumberConstant(double value) { in NumberConstant()
287 TNode<Smi> CodeAssembler::SmiConstant(Smi value) { in SmiConstant()
292 TNode<Smi> CodeAssembler::SmiConstant(int value) { in SmiConstant()
296 TNode<HeapObject> CodeAssembler::UntypedHeapConstant( in UntypedHeapConstant()
301 TNode<String> CodeAssembler::StringConstant(const char* str) { in StringConstant()
307 TNode<Oddball> CodeAssembler::BooleanConstant(bool value) { in BooleanConstant()
313 TNode<ExternalReference> CodeAssembler::ExternalConstant( in ExternalConstant()
319 TNode<Float32T> CodeAssembler::Float32Constant(double value) { in Float32Constant()
323 TNode<Float64T> CodeAssembler::Float64Constant(double value) { in Float64Constant()
327 bool CodeAssembler::IsMapOffsetConstant(Node* node) { in IsMapOffsetConstant()
331 bool CodeAssembler::TryToInt32Constant(TNode<IntegralT> node, in TryToInt32Constant()
354 bool CodeAssembler::TryToInt64Constant(TNode<IntegralT> node, in TryToInt64Constant()
361 bool CodeAssembler::TryToSmiConstant(TNode<Smi> tnode, Smi* out_value) { in TryToSmiConstant()
369 bool CodeAssembler::TryToSmiConstant(TNode<IntegralT> node, Smi* out_value) { in TryToSmiConstant()
381 bool CodeAssembler::TryToIntPtrConstant(TNode<Smi> tnode, intptr_t* out_value) { in TryToIntPtrConstant()
390 bool CodeAssembler::TryToIntPtrConstant(TNode<IntegralT> node, in TryToIntPtrConstant()
397 bool CodeAssembler::IsUndefinedConstant(TNode<Object> node) { in IsUndefinedConstant()
402 bool CodeAssembler::IsNullConstant(TNode<Object> node) { in IsNullConstant()
407 Node* CodeAssembler::UntypedParameter(int index) { in UntypedParameter()
412 bool CodeAssembler::IsJSFunctionCall() const { in IsJSFunctionCall()
417 TNode<Context> CodeAssembler::GetJSContextParameter() { in GetJSContextParameter()
424 void CodeAssembler::Return(TNode<Object> value) { in Return()
430 void CodeAssembler::Return(TNode<Object> value1, TNode<Object> value2) { in Return()
437 void CodeAssembler::Return(TNode<Object> value1, TNode<Object> value2, in Return()
446 void CodeAssembler::Return(TNode<Int32T> value) { in Return()
453 void CodeAssembler::Return(TNode<Uint32T> value) { in Return()
460 void CodeAssembler::Return(TNode<WordT> value) { in Return()
468 void CodeAssembler::Return(TNode<Float32T> value) { in Return()
475 void CodeAssembler::Return(TNode<Float64T> value) { in Return()
482 void CodeAssembler::Return(TNode<WordT> value1, TNode<WordT> value2) { in Return()
493 void CodeAssembler::Return(TNode<WordT> value1, TNode<Object> value2) { in Return()
502 void CodeAssembler::PopAndReturn(Node* pop, Node* value) { in PopAndReturn()
507 void CodeAssembler::ReturnIf(TNode<BoolT> condition, TNode<Object> value) { in ReturnIf()
515 void CodeAssembler::AbortCSADcheck(Node* message) { in AbortCSADcheck()
519 void CodeAssembler::DebugBreak() { raw_assembler()->DebugBreak(); } in DebugBreak()
521 void CodeAssembler::Unreachable() { in Unreachable()
526 void CodeAssembler::Comment(std::string str) { in Comment()
531 void CodeAssembler::StaticAssert(TNode<BoolT> value, const char* source) { in StaticAssert()
535 void CodeAssembler::SetSourcePosition(const char* file, int line) { in SetSourcePosition()
539 void CodeAssembler::PushSourcePosition() { in PushSourcePosition()
544 void CodeAssembler::PopSourcePosition() { in PopSourcePosition()
548 const std::vector<FileAndLine>& CodeAssembler::GetMacroSourcePositionStack() in GetMacroSourcePositionStack()
553 void CodeAssembler::Bind(Label* label) { return label->Bind(); } in Bind()
556 void CodeAssembler::Bind(Label* label, AssemblerDebugInfo debug_info) { in Bind()
561 TNode<RawPtrT> CodeAssembler::LoadFramePointer() { in LoadFramePointer()
565 TNode<RawPtrT> CodeAssembler::LoadParentFramePointer() { in LoadParentFramePointer()
570 TNode<ResType> CodeAssembler::name(TNode<Arg1Type> a, TNode<Arg2Type> b) { \
576 TNode<WordT> CodeAssembler::WordShl(TNode<WordT> value, int shift) { in CODE_ASSEMBLER_BINARY_OP_LIST()
580 TNode<WordT> CodeAssembler::WordShr(TNode<WordT> value, int shift) { in WordShr()
584 TNode<WordT> CodeAssembler::WordSar(TNode<WordT> value, int shift) { in WordSar()
588 TNode<Word32T> CodeAssembler::Word32Shr(TNode<Word32T> value, int shift) { in Word32Shr()
592 TNode<Word32T> CodeAssembler::Word32Sar(TNode<Word32T> value, int shift) { in Word32Sar()
597 TNode<BoolT> CodeAssembler::Name(TNode<ArgT> left, TNode<ArgT> right) { \
614 TNode<UintPtrT> CodeAssembler::ChangeUint32ToWord(TNode<Word32T> value) { in ChangeUint32ToWord()
622 TNode<IntPtrT> CodeAssembler::ChangeInt32ToIntPtr(TNode<Word32T> value) { in ChangeInt32ToIntPtr()
629 TNode<IntPtrT> CodeAssembler::ChangeFloat64ToIntPtr(TNode<Float64T> value) { in ChangeFloat64ToIntPtr()
636 TNode<UintPtrT> CodeAssembler::ChangeFloat64ToUintPtr(TNode<Float64T> value) { in ChangeFloat64ToUintPtr()
644 TNode<Float64T> CodeAssembler::ChangeUintPtrToFloat64(TNode<UintPtrT> value) { in ChangeUintPtrToFloat64()
654 TNode<Float64T> CodeAssembler::RoundIntPtrToFloat64(Node* value) { in RoundIntPtrToFloat64()
661 TNode<Int32T> CodeAssembler::TruncateFloat32ToInt32(TNode<Float32T> value) { in TruncateFloat32ToInt32()
666 TNode<ResType> CodeAssembler::name(TNode<ArgType> a) { \
672 Node* CodeAssembler::Load(MachineType type, Node* base) { in CODE_ASSEMBLER_UNARY_OP_LIST()
676 Node* CodeAssembler::Load(MachineType type, Node* base, Node* offset) { in Load()
680 TNode<Object> CodeAssembler::LoadFullTagged(Node* base) { in LoadFullTagged()
684 TNode<Object> CodeAssembler::LoadFullTagged(Node* base, TNode<IntPtrT> offset) { in LoadFullTagged()
691 Node* CodeAssembler::AtomicLoad(MachineType type, AtomicMemoryOrder order, in AtomicLoad()
699 TNode<Type> CodeAssembler::AtomicLoad64(AtomicMemoryOrder order, in AtomicLoad64()
706 template TNode<AtomicInt64> CodeAssembler::AtomicLoad64<AtomicInt64>(
708 template TNode<AtomicUint64> CodeAssembler::AtomicLoad64<AtomicUint64>(
711 Node* CodeAssembler::LoadFromObject(MachineType type, TNode<Object> object, in LoadFromObject()
717 Node* CodeAssembler::PackMapWord(Node* value) { in PackMapWord()
726 TNode<AnyTaggedT> CodeAssembler::LoadRootMapWord(RootIndex root_index) { in LoadRootMapWord()
737 TNode<Object> CodeAssembler::LoadRoot(RootIndex root_index) { in LoadRoot()
757 Node* CodeAssembler::UnalignedLoad(MachineType type, TNode<RawPtrT> base, in UnalignedLoad()
762 void CodeAssembler::Store(Node* base, Node* value) { in Store()
767 void CodeAssembler::StoreToObject(MachineRepresentation rep, in StoreToObject()
791 void CodeAssembler::OptimizedStoreField(MachineRepresentation rep, in OptimizedStoreField()
798 void CodeAssembler::OptimizedStoreFieldAssertNoWriteBarrier( in OptimizedStoreFieldAssertNoWriteBarrier()
805 void CodeAssembler::OptimizedStoreFieldUnsafeNoWriteBarrier( in OptimizedStoreFieldUnsafeNoWriteBarrier()
812 void CodeAssembler::OptimizedStoreMap(TNode<HeapObject> object, in OptimizedStoreMap()
817 void CodeAssembler::Store(Node* base, Node* offset, Node* value) { in Store()
824 void CodeAssembler::StoreEphemeronKey(Node* base, Node* offset, Node* value) { in StoreEphemeronKey()
830 void CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base, in StoreNoWriteBarrier()
837 void CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base, in StoreNoWriteBarrier()
846 void CodeAssembler::UnsafeStoreNoWriteBarrier(MachineRepresentation rep, in UnsafeStoreNoWriteBarrier()
851 void CodeAssembler::UnsafeStoreNoWriteBarrier(MachineRepresentation rep, in UnsafeStoreNoWriteBarrier()
859 void CodeAssembler::StoreFullTaggedNoWriteBarrier(TNode<RawPtrT> base, in StoreFullTaggedNoWriteBarrier()
865 void CodeAssembler::StoreFullTaggedNoWriteBarrier(TNode<RawPtrT> base, in StoreFullTaggedNoWriteBarrier()
874 void CodeAssembler::AtomicStore(MachineRepresentation rep, in AtomicStore()
883 void CodeAssembler::AtomicStore64(AtomicMemoryOrder order, TNode<RawPtrT> base, in AtomicStore64()
893 TNode<Word32T> CodeAssembler::Atomic##name( \
900 TNode<Type> CodeAssembler::Atomic##name##64( \
906 template TNode<AtomicInt64> CodeAssembler::Atomic##name##64 < AtomicInt64 > \
909 template TNode<AtomicUint64> CodeAssembler::Atomic##name##64 < \
920 TNode<Word32T> CodeAssembler::AtomicCompareExchange(MachineType type, in ATOMIC_FUNCTION()
930 TNode<Type> CodeAssembler::AtomicCompareExchange64( in AtomicCompareExchange64()
941 template TNode<AtomicInt64> CodeAssembler::AtomicCompareExchange64<AtomicInt64>(
946 CodeAssembler::AtomicCompareExchange64<AtomicUint64>(
951 void CodeAssembler::StoreRoot(RootIndex root_index, TNode<Object> value) { in StoreRoot()
959 Node* CodeAssembler::Projection(int index, Node* value) { in Projection()
964 TNode<HeapObject> CodeAssembler::OptimizedAllocate( in OptimizedAllocate()
971 void CodeAssembler::HandleException(Node* node) { in HandleException()
1014 Node* CodeAssembler::CallRuntimeImpl( in CallRuntimeImpl()
1047 void CodeAssembler::TailCallRuntimeImpl( in TailCallRuntimeImpl()
1073 Node* CodeAssembler::CallStubN(StubCallMode call_mode, in CallStubN()
1106 void CodeAssembler::TailCallStubImpl(const CallInterfaceDescriptor& descriptor, in TailCallStubImpl()
1126 Node* CodeAssembler::CallStubRImpl(StubCallMode call_mode, in CallStubRImpl()
1146 Node* CodeAssembler::CallJSStubImpl(const CallInterfaceDescriptor& descriptor, in CallJSStubImpl()
1169 void CodeAssembler::TailCallStubThenBytecodeDispatchImpl( in TailCallStubThenBytecodeDispatchImpl()
1193 void CodeAssembler::TailCallBytecodeDispatch( in TailCallBytecodeDispatch()
1207 template V8_EXPORT_PRIVATE void CodeAssembler::TailCallBytecodeDispatch(
1212 void CodeAssembler::TailCallJSCode(TNode<CodeT> code, TNode<Context> context, in TailCallJSCode()
1226 Node* CodeAssembler::CallCFunctionN(Signature<MachineType>* signature, in CallCFunctionN()
1232 Node* CodeAssembler::CallCFunction( in CallCFunction()
1234 std::initializer_list<CodeAssembler::CFunctionArg> args) { in CallCFunction()
1238 Node* CodeAssembler::CallCFunctionWithoutFunctionDescriptor( in CallCFunctionWithoutFunctionDescriptor()
1240 std::initializer_list<CodeAssembler::CFunctionArg> args) { in CallCFunctionWithoutFunctionDescriptor()
1245 Node* CodeAssembler::CallCFunctionWithCallerSavedRegisters( in CallCFunctionWithCallerSavedRegisters()
1247 std::initializer_list<CodeAssembler::CFunctionArg> args) { in CallCFunctionWithCallerSavedRegisters()
1253 void CodeAssembler::Goto(Label* label) { in Goto()
1258 void CodeAssembler::GotoIf(TNode<IntegralT> condition, Label* true_label) { in GotoIf()
1264 void CodeAssembler::GotoIfNot(TNode<IntegralT> condition, Label* false_label) { in GotoIfNot()
1270 void CodeAssembler::Branch(TNode<IntegralT> condition, Label* true_label, in Branch()
1285 void CodeAssembler::Branch(TNode<BoolT> condition, in Branch()
1303 void CodeAssembler::Branch(TNode<BoolT> condition, Label* true_label, in Branch()
1316 void CodeAssembler::Branch(TNode<BoolT> condition, in Branch()
1330 void CodeAssembler::Switch(Node* index, Label* default_label, in Switch()
1343 bool CodeAssembler::UnalignedLoadSupported(MachineRepresentation rep) const { in UnalignedLoadSupported()
1346 bool CodeAssembler::UnalignedStoreSupported(MachineRepresentation rep) const { in UnalignedStoreSupported()
1351 Isolate* CodeAssembler::isolate() const { return raw_assembler()->isolate(); } in isolate()
1353 Factory* CodeAssembler::factory() const { return isolate()->factory(); } in factory()
1355 Zone* CodeAssembler::zone() const { return raw_assembler()->zone(); } in zone()
1357 bool CodeAssembler::IsExceptionHandlerActive() const { in IsExceptionHandlerActive()
1361 RawMachineAssembler* CodeAssembler::raw_assembler() const { in raw_assembler()
1365 JSGraph* CodeAssembler::jsgraph() const { return state_->jsgraph_; } in jsgraph()
1405 CodeAssemblerVariable::CodeAssemblerVariable(CodeAssembler* assembler, in CodeAssemblerVariable()
1413 CodeAssemblerVariable::CodeAssemblerVariable(CodeAssembler* assembler, in CodeAssemblerVariable()
1421 CodeAssemblerVariable::CodeAssemblerVariable(CodeAssembler* assembler, in CodeAssemblerVariable()
1431 CodeAssemblerVariable::CodeAssemblerVariable(CodeAssembler* assembler, in CodeAssemblerVariable()
1485 CodeAssemblerLabel::CodeAssemblerLabel(CodeAssembler* assembler, in CodeAssemblerLabel()
1701 CodeAssembler* assembler, CodeAssemblerExceptionHandlerLabel* label) in ScopedExceptionHandler()
1712 CodeAssembler* assembler, CodeAssemblerLabel* label, in ScopedExceptionHandler()
1730 CodeAssembler::Label skip(assembler_); in ~ScopedExceptionHandler()