/dports/lang/nqc/nqc-3.1.r6_1/rcxlib/ |
H A D | RCX_Cmd.h | 64 RCX_Cmd* MakeVar(RCX_VarCode code, UByte var, RCX_Value value); 65 RCX_Cmd* MakeVarNewSrc(RCX_VarCode code, UByte var, RCX_Value value); 69 RCX_Cmd* MakeOutputPower(UByte outputs, RCX_Value value); 81 RCX_Cmd* MakeTest(RCX_Value v1, RCX_Relation rel, RCX_Value v2, short offset); 83 RCX_Cmd* MakeSetLoop(RCX_Value v) { return MakeValue8(kRCX_SetLoopOp, v); } in MakeSetLoop() 88 RCX_Cmd* MakeDelay(RCX_Value value) { return MakeValue16(kRCX_DelayOp, value); } in MakeDelay() 90 RCX_Cmd* MakeSet(RCX_Value dst, RCX_Value src); 91 RCX_Cmd* MakeSetMath(RCX_Value dst, RCX_Value src, RCX_VarCode op); 95 RCX_Cmd* MakeRead(RCX_Value value) { return MakeValue8(kRCX_ReadOp, value); } in MakeRead() 112 RCX_Cmd* MakeValue16(UByte opcode, RCX_Value value); [all …]
|
H A D | RCX_Cmd.cpp | 191 RCX_Cmd* RCX_Cmd::MakeOutputPower(UByte outputs, RCX_Value value) in MakeOutputPower() 197 RCX_Cmd* RCX_Cmd::MakeValue16(UByte op, RCX_Value value) in MakeValue16() 204 RCX_Cmd* RCX_Cmd::MakeValue8(UByte op, RCX_Value value) in MakeValue8() 209 RCX_Cmd* RCX_Cmd::MakeSet(RCX_Value dst, RCX_Value src) in MakeSet() 226 RCX_Cmd* RCX_Cmd::MakeSetMath(RCX_Value dst, RCX_Value src, RCX_VarCode op) in MakeSetMath() 290 RCX_Cmd* RCX_Cmd::MakeTest(RCX_Value v1, RCX_Relation rel, RCX_Value v2, short offset) in MakeTest() 388 RCX_Cmd* RCX_Cmd::MakeVarNewSrc(RCX_VarCode code, UByte var, RCX_Value value) in MakeVarNewSrc() 450 RCX_Cmd* RCX_Cmd::MakeVar(RCX_VarCode code, UByte var, RCX_Value value) in MakeVar()
|
/dports/lang/nqc/nqc-3.1.r6_1/compiler/ |
H A D | Expr.cpp | 42 RCX_Value Expr::EmitAny(Bytecode &b) const in EmitAny() 72 RCX_Value Expr::EmitConstrained(Bytecode &b, long mask, bool canUseLocals) const in EmitConstrained() 83 RCX_Value ea = EmitAny(b); in EmitConstrained() 128 RCX_Value Expr::EmitMath(Bytecode &b) const in EmitMath() 163 RCX_Value Expr::GetStaticEA() const in GetStaticEA() 176 RCX_Value Expr::GetStaticEA_() const in GetStaticEA_() 184 RCX_Value ea = EmitAny_(b); in EmitTo_() 208 RCX_Value ea = EmitConstrained(b, TEST_MASK); in EmitBranch_() 223 RCX_Value Expr::EmitBoolAny(Bytecode &b) const in EmitBoolAny() 229 RCX_Value dstEA = RCX_VALUE(kRCX_VariableType, dst); in EmitBoolAny()
|
H A D | Expr.h | 88 RCX_Value GetStaticEA() const; 98 RCX_Value EmitAny(Bytecode &b) const; 100 RCX_Value EmitConstrained(Bytecode &b, long mask, bool canUseLocals=true) const; 103 RCX_Value EmitMath(Bytecode &b) const; 107 virtual RCX_Value EmitAny_(Bytecode &b) const = 0; 112 virtual RCX_Value GetStaticEA_() const; 116 RCX_Value EmitBoolAny(Bytecode &b) const;
|
H A D | Bytecode.h | 101 void AddTest(RCX_Value v1, RCX_Relation rel, RCX_Value v2, int label); 102 void AddMove(int dst, RCX_Value ea); 120 void ReleaseTempEA(RCX_Value ea); 121 bool IsTempEA(RCX_Value ea) const; 122 bool IsLocalEA(RCX_Value ea) const;
|
H A D | AssignMathStmt.cpp | 37 RCX_Value dst = fLval->EmitAny(b); in EmitActual() 58 RCX_Value ea = fValue->EmitMath(b); in EmitOperation() 68 void AssignMathStmt::EmitValueOperation(Bytecode &b, RCX_Value dst) in EmitValueOperation() 70 RCX_Value ea = fValue->EmitMath(b); in EmitValueOperation()
|
H A D | ValueExpr.cpp | 31 RCX_Value ValueExpr::EmitAny_(Bytecode &) const in EmitAny_() 37 return (RCX_Value)v; in EmitAny_() 41 RCX_Value ValueExpr::GetStaticEA_() const in GetStaticEA_()
|
H A D | ModExpr.cpp | 48 RCX_Value ModExpr::EmitAny_(Bytecode &b) const in EmitAny_() 56 RCX_Value ea = RCX_VALUE(kRCX_VariableType, dst); in EmitAny_() 74 RCX_Value ea; in EmitTo_() 92 RCX_Value m, n; in EmitCalculation()
|
H A D | SwitchStmt.h | 55 SwitchState(RCX_Value selector, int defaultLabel) : in SwitchState() 63 RCX_Value GetSelector() const { return fSelector; } in GetSelector() 67 RCX_Value fSelector;
|
H A D | BinaryExpr.cpp | 133 RCX_Value BinaryExpr::EmitAny_(Bytecode &b) const in EmitAny_() 136 RCX_Value ea; in EmitAny_() 137 RCX_Value dstEA; in EmitAny_() 182 RCX_Value ea = Get(1)->EmitMath(b); in EmitTo_()
|
H A D | UnaryExpr.cpp | 85 RCX_Value UnaryExpr::EmitAny_(Bytecode &b) const in EmitAny_() 88 RCX_Value ea; in EmitAny_() 117 RCX_Value ea; in EmitTo_()
|
H A D | Bytecode.cpp | 134 void Bytecode::AddTest(RCX_Value v1, RCX_Relation rel, RCX_Value v2, int label) in AddTest() 144 void Bytecode::AddMove(int dst, RCX_Value ea) in AddMove() 414 void Bytecode::ReleaseTempEA(RCX_Value ea) in ReleaseTempEA() 424 bool Bytecode::IsTempEA(RCX_Value ea) const in IsTempEA() 432 bool Bytecode::IsLocalEA(RCX_Value ea) const in IsLocalEA()
|
H A D | ValueExpr.h | 37 virtual RCX_Value EmitAny_(Bytecode &b) const; 38 virtual RCX_Value GetStaticEA_() const;
|
H A D | SensorExpr.cpp | 32 RCX_Value SensorExpr::EmitAny_(Bytecode &) const in EmitAny_() 45 RCX_Value ea; in Evaluate()
|
H A D | AddrOfExpr.h | 41 virtual RCX_Value EmitAny_(Bytecode &b) const; 42 virtual RCX_Value GetStaticEA_() const;
|
H A D | DerefExpr.h | 47 virtual RCX_Value EmitAny_(Bytecode &b) const; 48 virtual RCX_Value GetStaticEA_() const;
|
H A D | RelExpr.cpp | 100 RCX_Value ea1 = Get(0)->EmitConstrained(b, TEST_MASK); in EmitBranch_() 101 RCX_Value ea2 = Get(1)->EmitConstrained(b, TEST_MASK); in EmitBranch_() 106 RCX_Value t = ea1; in EmitBranch_()
|
H A D | AtomExpr.h | 49 virtual RCX_Value EmitAny_(Bytecode &b) const; 50 virtual RCX_Value GetStaticEA_() const;
|
H A D | AddrOfExpr.cpp | 53 RCX_Value AddrOfExpr::EmitAny_(Bytecode &) const in EmitAny_() 89 RCX_Value AddrOfExpr::GetStaticEA_() const in GetStaticEA_()
|
H A D | AssignStmt.cpp | 45 RCX_Value dst = fLval->EmitAny(b); in EmitActual() 57 RCX_Value ea = fValue->EmitAny(b); in EmitActual()
|
H A D | EventSrcExpr.cpp | 35 RCX_Value EventSrcExpr::EmitAny_(Bytecode &) const in EmitAny_() 45 RCX_Value ea; in Evaluate()
|
H A D | DerefExpr.cpp | 73 RCX_Value DerefExpr::EmitAny_(Bytecode &) const in EmitAny_() 116 RCX_Value DerefExpr::GetStaticEA_() const in GetStaticEA_()
|
H A D | AtomExpr.cpp | 88 RCX_Value AtomExpr::EmitAny_(Bytecode &) const in EmitAny_() 128 RCX_Value AtomExpr::GetStaticEA_() const in GetStaticEA_()
|
H A D | IncDecExpr.cpp | 54 RCX_Value IncDecExpr::EmitAny_(Bytecode &b) const in EmitAny_() 56 RCX_Value src; in EmitAny_()
|
H A D | TypeExpr.cpp | 31 RCX_Value TypeExpr::EmitAny_(Bytecode &) const in EmitAny_()
|