Searched refs:Opcode (Results 1 - 25 of 270) sorted by relevance

1234567891011

/freebsd-10.0-release/contrib/llvm/include/llvm/MC/
H A DMCInstrInfo.h48 const MCInstrDesc &get(unsigned Opcode) const {
49 assert(Opcode < NumOpcodes && "Invalid opcode!");
50 return Desc[Opcode];
54 const char *getName(unsigned Opcode) const {
55 assert(Opcode < NumOpcodes && "Invalid opcode!");
56 return &InstrNameData[InstrNameIndices[Opcode]];
H A DMCInstBuilder.h27 MCInstBuilder(unsigned Opcode) { argument
28 Inst.setOpcode(Opcode);
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Core/
H A DOpcode.cpp1 //===-- Opcode.cpp ----------------------------------------------*- C++ -*-===//
10 #include "lldb/Core/Opcode.h"
29 Opcode::Dump (Stream *s, uint32_t min_byte_width)
34 case Opcode::eTypeInvalid:
37 case Opcode::eType8:
40 case Opcode::eType16:
43 case Opcode::eType16_2:
44 case Opcode::eType32:
48 case Opcode::eType64:
52 case Opcode
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DOpcode.h1 //===-- Opcode.h ------------------------------------------------*- C++ -*-===//
28 class Opcode class in namespace:lldb_private
42 Opcode () : m_type (eTypeInvalid) function in class:lldb_private::Opcode
46 Opcode (uint8_t inst) : m_type (eType8) function in class:lldb_private::Opcode
51 Opcode (uint16_t inst) : m_type (eType16) function in class:lldb_private::Opcode
56 Opcode (uint32_t inst) : m_type (eType32) function in class:lldb_private::Opcode
61 Opcode (uint64_t inst) : m_type (eType64) function in class:lldb_private::Opcode
66 Opcode (uint8_t *bytes, size_t length) function in class:lldb_private::Opcode
74 m_type = Opcode::eTypeInvalid;
76 Opcode
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp224 unsigned Opcode; local
230 Opcode = NVPTX::LD_i8_avar;
233 Opcode = NVPTX::LD_i16_avar;
236 Opcode = NVPTX::LD_i32_avar;
239 Opcode = NVPTX::LD_i64_avar;
242 Opcode = NVPTX::LD_f32_avar;
245 Opcode = NVPTX::LD_f64_avar;
253 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops);
259 Opcode = NVPTX::LD_i8_asi;
262 Opcode
405 unsigned Opcode; local
786 unsigned Opcode; local
1037 unsigned Opcode; local
1218 unsigned Opcode; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h39 Predicate InvertPredicate(Predicate Opcode);
43 Predicate getSwappedPredicate(Predicate Opcode);
H A DPPCPredicates.cpp19 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) { argument
20 switch (Opcode) {
33 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) { argument
34 switch (Opcode) {
/freebsd-10.0-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp89 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
94 virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
96 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
98 virtual unsigned getVectorInstrCost(unsigned Opcode, Type *Val,
100 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,
171 unsigned PPCTTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, argument
174 assert(TLI->InstructionOpcodeToISD(Opcode) && "Invalid opcode");
177 return TargetTransformInfo::getArithmeticInstrCost(Opcode, Ty, Op1Info,
186 unsigned PPCTTI::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src) const { argument
187 assert(TLI->InstructionOpcodeToISD(Opcode)
192 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) const argument
197 getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index) const argument
222 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) const argument
[all...]
H A DPPCHazardRecognizers.cpp90 PPCHazardRecognizer970::GetInstrType(unsigned Opcode, argument
94 const MCInstrDesc &MCID = TII.get(Opcode);
145 unsigned Opcode = MI->getOpcode(); local
148 GetInstrType(Opcode, isFirst, isSingle, isCracked,
182 if (HasCTRSet && Opcode == PPC::BCTRL)
203 unsigned Opcode = MI->getOpcode(); local
206 GetInstrType(Opcode, isFirst, isSingle, isCracked,
211 if (Opcode == PPC::MTCTR || Opcode == PPC::MTCTR8) HasCTRSet = true;
/freebsd-10.0-release/contrib/llvm/lib/Target/R600/
H A DSIInstrInfo.h38 unsigned commuteOpcode(unsigned Opcode) const;
47 virtual bool isMov(unsigned Opcode) const;
80 int getVOPe64(uint16_t Opcode);
81 int getCommuteRev(uint16_t Opcode);
82 int getCommuteOrig(uint16_t Opcode);
83 int isMIMG(uint16_t Opcode);
H A DSIInstrInfo.cpp69 unsigned Opcode; local
106 Opcode = AMDGPU::S_MOV_B32;
111 Opcode = AMDGPU::S_MOV_B32;
116 Opcode = AMDGPU::S_MOV_B32;
129 Opcode = AMDGPU::V_MOV_B32_e32;
134 Opcode = AMDGPU::V_MOV_B32_e32;
140 Opcode = AMDGPU::V_MOV_B32_e32;
146 Opcode = AMDGPU::V_MOV_B32_e32;
152 Opcode = AMDGPU::V_MOV_B32_e32;
161 get(Opcode), R
[all...]
H A DR600InstrInfo.h54 /// \returns true if this \p Opcode represents an ALU instruction.
55 bool isALUInstr(unsigned Opcode) const;
57 bool isTransOnly(unsigned Opcode) const;
60 bool usesVertexCache(unsigned Opcode) const;
62 bool usesTextureCache(unsigned Opcode) const;
76 virtual bool isMov(unsigned Opcode) const;
168 unsigned Opcode,
183 /// \brief Get the index of \p Op for the given Opcode.
186 int getOperandIdx(unsigned Opcode, R600Operands::Ops Op) const;
/freebsd-10.0-release/contrib/llvm/lib/DebugInfo/
H A DDWARFDebugFrame.cpp67 Instruction(uint8_t Opcode) argument
68 : Opcode(Opcode)
71 uint8_t Opcode; member in struct:llvm::FrameEntry::Instruction
79 void addInstruction(uint8_t Opcode) { argument
80 Instructions.push_back(Instruction(Opcode));
83 void addInstruction(uint8_t Opcode, uint64_t Operand1) { argument
84 Instructions.push_back(Instruction(Opcode));
88 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) { argument
89 Instructions.push_back(Instruction(Opcode));
103 uint8_t Opcode = Data.getU8(Offset); local
191 uint8_t Opcode = I->Opcode; local
[all...]
/freebsd-10.0-release/sys/contrib/dev/acpica/components/parser/
H A Dpsutils.c89 * Opcode - Opcode to store in the Op
100 UINT16 Opcode)
106 Op->Common.AmlOpcode = Opcode;
109 (AcpiPsGetOpcodeInfo (Opcode))->Name,
118 * PARAMETERS: Opcode - Opcode that will be stored in the new Op
130 UINT16 Opcode)
140 OpInfo = AcpiPsGetOpcodeInfo (Opcode);
152 else if (Opcode
98 AcpiPsInitOp( ACPI_PARSE_OBJECT *Op, UINT16 Opcode) argument
129 AcpiPsAllocOp( UINT16 Opcode) argument
[all...]
H A Dpsargs.c303 if (WalkState->Opcode == AML_UNLOAD_OP)
432 UINT16 Opcode; local
445 Opcode = AML_BYTE_OP;
454 Opcode = AML_WORD_OP;
463 Opcode = AML_DWORD_OP;
472 Opcode = AML_QWORD_OP;
481 Opcode = AML_STRING_OP;
507 AcpiPsInitOp (Arg, Opcode);
532 UINT16 Opcode; local
554 Opcode
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsDirectObjLower.cpp54 int Opcode = InstIn.getOpcode(); local
56 if (Opcode == Mips::DEXT)
73 InstIn.setOpcode((Opcode == Mips::DEXT) ? Mips::DEXTU : Mips::DINSU);
79 InstIn.setOpcode((Opcode == Mips::DEXT) ? Mips::DEXTM : Mips::DINSM);
/freebsd-10.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp21 // If Opcode is one such instruction, return the opcode for the
22 // shortest possible form instead, otherwise return Opcode itself.
23 static unsigned getShortenedInstr(unsigned Opcode) { argument
24 switch (Opcode) {
29 return Opcode;
104 unsigned Opcode = MI->getOpcode(); local
108 Opcode = getShortenedInstr(Opcode);
109 OutMI.setOpcode(Opcode);
H A DSystemZInstrInfo.cpp265 unsigned Opcode; local
267 Opcode = SystemZ::LR;
269 Opcode = SystemZ::LGR;
271 Opcode = SystemZ::LER;
273 Opcode = SystemZ::LDR;
275 Opcode = SystemZ::LXR;
279 BuildMI(MBB, MBBI, DL, get(Opcode), DestReg)
400 unsigned SystemZInstrInfo::getOpcodeForOffset(unsigned Opcode, argument
402 const MCInstrDesc &MCID = get(Opcode);
406 int Disp12Opcode = SystemZ::getDisp12Opcode(Opcode);
431 unsigned Opcode; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp88 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
93 virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
95 virtual unsigned getCFInstrCost(unsigned Opcode) const;
96 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
98 virtual unsigned getVectorInstrCost(unsigned Opcode, Type *Val,
100 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,
198 unsigned BasicTTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, argument
202 int ISD = TLI->InstructionOpcodeToISD(Opcode);
231 unsigned Cost = TopTTI->getArithmeticInstrCost(Opcode, Ty->getScalarType());
246 unsigned BasicTTI::getCastInstrCost(unsigned Opcode, Typ argument
339 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) const argument
376 getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index) const argument
381 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) const argument
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.cpp44 const char *x86DisassemblerGetInstrName(unsigned Opcode, const void *mii) { argument
46 return MII->getName(Opcode);
344 uint32_t Opcode = mcInst.getOpcode(); local
351 if (Opcode != X86::BLENDPSrri && Opcode != X86::BLENDPDrri &&
352 Opcode != X86::PBLENDWrri && Opcode != X86::MPSADBWrri &&
353 Opcode != X86::DPPSrri && Opcode != X86::DPPDrri &&
354 Opcode !
503 uint32_t Opcode = mcInst.getOpcode(); local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.h23 static inline ShiftOpc getShiftOpcForNode(unsigned Opcode) { argument
24 switch (Opcode) {
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp52 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, argument
54 return PrevTTI->getOperationCost(Opcode, Ty, OpTy);
152 unsigned TargetTransformInfo::getArithmeticInstrCost(unsigned Opcode, argument
156 return PrevTTI->getArithmeticInstrCost(Opcode, Ty, Op1Info, Op2Info);
164 unsigned TargetTransformInfo::getCastInstrCost(unsigned Opcode, Type *Dst, argument
166 return PrevTTI->getCastInstrCost(Opcode, Dst, Src);
169 unsigned TargetTransformInfo::getCFInstrCost(unsigned Opcode) const {
170 return PrevTTI->getCFInstrCost(Opcode);
173 unsigned TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
175 return PrevTTI->getCmpSelInstrCost(Opcode, ValT
178 getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index) const argument
183 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) const argument
237 getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) const argument
500 getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind, OperandValueKind) const argument
510 getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src) const argument
519 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy = 0) const argument
524 getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index = -1) const argument
529 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) const argument
[all...]
/freebsd-10.0-release/sys/contrib/dev/acpica/components/executer/
H A Dexoparg2.c108 AcpiPsGetOpcodeName (WalkState->Opcode));
113 switch (WalkState->Opcode)
150 WalkState->Opcode));
182 AcpiPsGetOpcodeName (WalkState->Opcode));
187 switch (WalkState->Opcode)
222 WalkState->Opcode));
291 AcpiPsGetOpcodeName (WalkState->Opcode));
307 ReturnDesc->Integer.Value = AcpiExDoMathOp (WalkState->Opcode,
313 switch (WalkState->Opcode)
478 WalkState->Opcode));
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/CodeGen/
H A DFastISel.h110 bool SelectOperator(const User *I, unsigned Opcode);
195 unsigned Opcode);
203 unsigned Opcode,
212 unsigned Opcode,
222 unsigned Opcode,
232 unsigned Opcode,
242 unsigned Opcode,
252 unsigned Opcode,
261 unsigned Opcode,
269 unsigned Opcode,
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h111 virtual unsigned getOperationCost(unsigned Opcode, Type *Ty,
287 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
299 virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
304 virtual unsigned getCFInstrCost(unsigned Opcode) const;
307 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
312 virtual unsigned getVectorInstrCost(unsigned Opcode, Type *Val,
316 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,

Completed in 385 milliseconds

1234567891011