OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OpCode
(Results
1 - 8
of
8
) sorted by null
/external/llvm/bindings/python/llvm/tests/
test_core.py
2
from ..core import
OpCode
7
self.assertTrue(hasattr(
OpCode
, 'Ret'))
8
self.assertTrue(isinstance(
OpCode
.Ret,
OpCode
))
9
self.assertEqual(
OpCode
.Ret.value, 1)
11
op =
OpCode
.from_value(1)
12
self.assertTrue(isinstance(op,
OpCode
))
13
self.assertEqual(op,
OpCode
.Ret)
/external/llvm/bindings/python/llvm/
core.py
27
class
OpCode
(object):
28
"""Represents an individual
OpCode
enumeration."""
37
return '
OpCode
.%s' % self.name
41
"""Obtain an
OpCode
instance from a numeric value."""
42
result =
OpCode
._value_map.get(value, None)
45
raise ValueError('Unknown
OpCode
: %d' % value)
51
"""Registers a new
OpCode
enumeration.
56
if value in
OpCode
._value_map:
57
raise ValueError('
OpCode
value already registered: %d' % value)
59
opcode
= OpCode(name, value
[
all
...]
/external/llvm/lib/Target/PTX/
PTXISelDAGToDAG.cpp
110
int
OpCode
;
119
OpCode
= PTX::READPARAMPRED;
121
OpCode
= PTX::READPARAMI16;
123
OpCode
= PTX::READPARAMI32;
125
OpCode
= PTX::READPARAMI64;
127
OpCode
= PTX::READPARAMF32;
130
OpCode
= PTX::READPARAMF64;
138
return CurDAG->getMachineNode(
OpCode
, dl, VT, Ops, 4);
146
int
OpCode
;
157
OpCode
= PTX::WRITEPARAMPRED
[
all
...]
/external/llvm/include/llvm/
Instruction.h
90
static const char* getOpcodeName(unsigned
OpCode
);
92
static inline bool isTerminator(unsigned
OpCode
) {
93
return
OpCode
>= TermOpsBegin &&
OpCode
< TermOpsEnd;
96
static inline bool isBinaryOp(unsigned
Opcode
) {
97
return
Opcode
>= BinaryOpsBegin &&
Opcode
< BinaryOpsEnd;
100
/// @brief Determine if the
Opcode
is one of the shift instructions.
101
static inline bool isShift(unsigned
Opcode
) {
102
return
Opcode
>= Shl && Opcode <= AShr
[
all
...]
/external/llvm/lib/VMCore/
Instruction.cpp
96
const char *Instruction::getOpcodeName(unsigned
OpCode
) {
97
switch (
OpCode
) {
187
// We have two instructions of identical
opcode
and #operands. Check to see
242
// We have two instructions of identical
opcode
and #operands. Check to see
364
bool Instruction::isAssociative(unsigned
Opcode
) {
365
return
Opcode
== And ||
Opcode
== Or ||
Opcode
== Xor ||
366
Opcode
== Add ||
Opcode
== Mul
[
all
...]
/external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.h
387
void visit(unsigned
Opcode
, const User &I);
478
void visitBinary(const User &I, unsigned
OpCode
);
479
void visitShift(const User &I, unsigned
Opcode
);
SelectionDAGBuilder.cpp
[
all
...]
/external/llvm/lib/Target/X86/
X86ISelLowering.cpp
13939
unsigned
opcode
;
local
[
all
...]
Completed in 117 milliseconds