annotate python/ppci/core/instruction.py @ 95:4a37d6992bd3

movage
author windel
date Mon, 24 Dec 2012 13:24:59 +0100
parents python/libs/compiler/core/instruction.py@5351594349b0
children 6efbeb903777
rev   line source
71
5351594349b0 Moved error to core
windel
parents: 70
diff changeset
1 from .value import Value
70
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
2
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
3 class Instruction(Value):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
4 pass
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
5
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
6 class CallInstruction(Instruction):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
7 pass
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
8
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
9 class BinaryOperator(Instruction):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
10 pass
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
11
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
12 class LoadInstruction(Instruction):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
13 def __init__(self, ptr, name, insertBefore):
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
14 self.setName(name)
35286e8abd03 Added some llvm classes
windel
parents:
diff changeset
15