V8 Project
v8::internal::CompareAndBranch Class Reference
+ Inheritance diagram for v8::internal::CompareAndBranch:
+ Collaboration diagram for v8::internal::CompareAndBranch:

Public Member Functions

 CompareAndBranch (LCodeGen *codegen, Condition cond, const Register &lhs, const Operand &rhs)
 
virtual void Emit (Label *label) const
 
virtual void EmitInverted (Label *label) const
 

Private Attributes

Condition cond_
 
const Registerlhs_
 
const Operandrhs_
 

Detailed Description

Definition at line 76 of file lithium-codegen-arm64.cc.

Constructor & Destructor Documentation

◆ CompareAndBranch()

v8::internal::CompareAndBranch::CompareAndBranch ( LCodeGen codegen,
Condition  cond,
const Register lhs,
const Operand rhs 
)
inline

Definition at line 78 of file lithium-codegen-arm64.cc.

Referenced by Emit(), and EmitInverted().

+ Here is the caller graph for this function:

Member Function Documentation

◆ Emit()

virtual void v8::internal::CompareAndBranch::Emit ( Label *  label) const
inlinevirtual

Definition at line 87 of file lithium-codegen-arm64.cc.

87  {
88  __ CompareAndBranch(lhs_, rhs_, cond_, label);
89  }
CompareAndBranch(LCodeGen *codegen, Condition cond, const Register &lhs, const Operand &rhs)
#define __

References __, CompareAndBranch(), cond_, lhs_, and rhs_.

+ Here is the call graph for this function:

◆ EmitInverted()

virtual void v8::internal::CompareAndBranch::EmitInverted ( Label *  label) const
inlinevirtual

Definition at line 91 of file lithium-codegen-arm64.cc.

91  {
93  }
Condition NegateCondition(Condition cond)
Definition: constants-arm.h:86

References __, CompareAndBranch(), cond_, lhs_, v8::internal::NegateCondition(), and rhs_.

+ Here is the call graph for this function:

Member Data Documentation

◆ cond_

Condition v8::internal::CompareAndBranch::cond_
private

Definition at line 96 of file lithium-codegen-arm64.cc.

Referenced by Emit(), and EmitInverted().

◆ lhs_

const Register& v8::internal::CompareAndBranch::lhs_
private

Definition at line 97 of file lithium-codegen-arm64.cc.

Referenced by Emit(), and EmitInverted().

◆ rhs_

const Operand& v8::internal::CompareAndBranch::rhs_
private

Definition at line 98 of file lithium-codegen-arm64.cc.

Referenced by Emit(), and EmitInverted().


The documentation for this class was generated from the following file: