Home
last modified time | relevance | path

Searched refs:OpCode (Results 1 – 8 of 8) sorted by relevance

/external/llvm/bindings/python/llvm/tests/
Dtest_core.py2 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/lib/Target/PTX/
DPTXISelDAGToDAG.cpp110 int OpCode; in SelectREADPARAM() local
119 OpCode = PTX::READPARAMPRED; in SelectREADPARAM()
121 OpCode = PTX::READPARAMI16; in SelectREADPARAM()
123 OpCode = PTX::READPARAMI32; in SelectREADPARAM()
125 OpCode = PTX::READPARAMI64; in SelectREADPARAM()
127 OpCode = PTX::READPARAMF32; in SelectREADPARAM()
130 OpCode = PTX::READPARAMF64; in SelectREADPARAM()
138 return CurDAG->getMachineNode(OpCode, dl, VT, Ops, 4); in SelectREADPARAM()
146 int OpCode; in SelectWRITEPARAM() local
157 OpCode = PTX::WRITEPARAMPRED; in SelectWRITEPARAM()
[all …]
/external/llvm/bindings/python/llvm/
Dcore.py27 class OpCode(object): class
42 result = OpCode._value_map.get(value, None)
56 if value in OpCode._value_map:
59 opcode = OpCode(name, value)
60 OpCode._value_map[value] = opcode
61 setattr(OpCode, name, opcode)
95 OpCode.register(name, value)
/external/llvm/include/llvm/
DInstruction.h90 static const char* getOpcodeName(unsigned OpCode);
92 static inline bool isTerminator(unsigned OpCode) { in isTerminator() argument
93 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd; in isTerminator()
117 static inline bool isCast(unsigned OpCode) { in isCast() argument
118 return OpCode >= CastOpsBegin && OpCode < CastOpsEnd; in isCast()
/external/llvm/lib/VMCore/
DInstruction.cpp96 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName() argument
97 switch (OpCode) { in getOpcodeName()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h478 void visitBinary(const User &I, unsigned OpCode);
DSelectionDAGBuilder.cpp2579 void SelectionDAGBuilder::visitBinary(const User &I, unsigned OpCode) { in visitBinary() argument
2582 setValue(&I, DAG.getNode(OpCode, getCurDebugLoc(), in visitBinary()
2673 ISD::NodeType OpCode = Cond.getValueType().isVector() ? in visitSelect() local
2677 Values[i] = DAG.getNode(OpCode, getCurDebugLoc(), in visitSelect()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp9872 unsigned OpCode = ((MOV64ri | N86R11) << 8) | REX_WB; // movabsq r11 in LowerINIT_TRAMPOLINE() local
9874 OutChains[0] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()
9886 OpCode = ((MOV64ri | N86R10) << 8) | REX_WB; // movabsq r10 in LowerINIT_TRAMPOLINE()
9889 OutChains[2] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()
9900 OpCode = (JMP64r << 8) | REX_WB; // jmpq *... in LowerINIT_TRAMPOLINE()
9903 OutChains[4] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()