summaryrefslogtreecommitdiff
path: root/PCodeInfo.c
blob: 9d469bcf9016e1c5eb6a40df23bdf470785f7880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#include "PCodeInfo.h"

void pcode_get_hi_lo(int a1, char a2, int *pA, int *pB) {

}

int pcode_check_imm_bits(int a1, int a2, int a3) {

}

int pcode_const_from_format(char *buf, int *pResult) {

}

PCode *vformatpcode(short opcode, va_list argList) {

}

int expectandformatoperand(PCodeArg *operand, unsigned char expectedKind, char a3, int bitCount, char *buf) {
}

int formatoperand(PCodeArg *operand, char *buf) {

}

void formatoperands(PCode *pcode, char *buf, int showBasicBlocks) {

}

PCode *makecopyinstruction(PCodeArg *a, PCodeArg *b) {

}

int is_location_independent(PCode *pcode) {

}

int can_reuse_stored_value(PCode *a, PCode *b) {

}

int nbytes_loaded_or_stored_by(PCode *pcode) {

}

void change_num_operands(PCode *pcode, int newNum) {

}

void change_opcode(PCode *pcode, short opcode) {
    pcode->flags = (pcode->flags & ~(opcodeinfo[pcode->op].flags & ~fIsPtrOp)) | opcodeinfo[opcode].flags;
    if ((pcode->flags & fPCodeFlag10) && (pcode->flags & (fPCodeFlag1 | fPCodeFlag8)))
        pcode->flags &= ~fPCodeFlag10;
    pcode->op = opcode;
}