Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstruction.h177 static const char* getOpcodeName(unsigned OpCode);
179 static inline bool isTerminator(unsigned OpCode) {
180 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd;
220 static inline bool isCast(unsigned OpCode) {
221 return OpCode >= CastOpsBegin && OpCode < CastOpsEnd;
225 static inline bool isFuncletPad(unsigned OpCode) {
226 return OpCode >= FuncletPadOpsBegin && OpCode < FuncletPadOpsEnd;
230 static inline bool isExceptionalTerminator(unsigned OpCode) {
231 switch (OpCode) {
244 static inline bool isIndirectTerminator(unsigned OpCode) {
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp348 for (auto OpCode = RebaseOpcodes.begin(); OpCode != RebaseOpcodes.end(); in dumpRebaseOpcodes() local
349 ++OpCode) { in dumpRebaseOpcodes()
352 static_cast<MachO::RebaseOpcode>(*OpCode & MachO::REBASE_OPCODE_MASK); in dumpRebaseOpcodes()
353 RebaseOp.Imm = *OpCode & MachO::REBASE_IMMEDIATE_MASK; in dumpRebaseOpcodes()
361 ULEB = decodeULEB128(OpCode + 1, &Count); in dumpRebaseOpcodes()
363 OpCode += Count; in dumpRebaseOpcodes()
371 ULEB = decodeULEB128(OpCode + 1, &Count); in dumpRebaseOpcodes()
373 OpCode += Count; in dumpRebaseOpcodes()
396 for (auto OpCode = OpcodeBuffer.begin(); OpCode != OpcodeBuffer.end(); in dumpBindOpcodes() local
397 ++OpCode) { in dumpBindOpcodes()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DReplaceConstant.cpp24 unsigned OpCode = CE->getOpcode(); in createReplacementInstr() local
25 switch (OpCode) { in createReplacementInstr()
49 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, CE->getOperand(0), in createReplacementInstr()
65 Builder.CreateCast((Instruction::CastOps)OpCode, CE->getOperand(0), in createReplacementInstr()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/python/llvm/tests/
H A Dtest_core.py9 from ..core import OpCode
119 inst_list = [('arg1', OpCode.ExtractValue),
120 ('arg2', OpCode.ExtractValue),
121 ('', OpCode.Call),
122 ('', OpCode.Ret)]
H A Dtest_bitreader.py4 from ..core import OpCode
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DExpression.h62 enum OpCode enum
117 Expression (OpCode, const Expression*, const Expression* = 0);
118 Expression (OpCode, uint64_t);
171 OpCode op;
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DExpression.h62 enum OpCode enum
117 Expression (OpCode, const Expression*, const Expression* = 0);
118 Expression (OpCode, uint64_t);
171 OpCode op;
/netbsd-src/external/gpl3/binutils/dist/gas/doc/
H A Dc-s390.texi326 @multitable {OpCode / OpCd} {Displacement lower 12 bits for operand x.}
327 @item OpCode / OpCd @tab Part of the op code.
351 | OpCode |
359 | OpCode | R1 |OpCd| I2 |
367 | OpCode | R1 | R3 | I2 |////////| OpCode |
375 | OpCode | R1 |OpCd| I2 |
383 | OpCode | R1 |OpCd| U2 |
391 | OpCode | R1 | M3 | B4 | D4 | I2 | Opcode |
399 | OpCode | R1 | R2 |
407 | OpCode |////////| R1 | R2 |
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gas/doc/
H A Dc-s390.texi326 @multitable {OpCode / OpCd} {Displacement lower 12 bits for operand x.}
327 @item OpCode / OpCd @tab Part of the op code.
351 | OpCode |
359 | OpCode | R1 |OpCd| I2 |
367 | OpCode | R1 | R3 | I2 |////////| OpCode |
375 | OpCode | R1 |OpCd| I2 |
383 | OpCode | R1 |OpCd| U2 |
391 | OpCode | R1 | M3 | B4 | D4 | I2 | Opcode |
399 | OpCode | R1 | R2 |
407 | OpCode |////////| R1 | R2 |
[all …]
/netbsd-src/external/mit/lua/dist/src/
H A Dlcode.c45 static int codesJ (FuncState *fs, OpCode o, int sj, int k);
214 OpCode op; in luaK_ret()
228 static int condjump (FuncState *fs, OpCode op, int A, int B, int C, int k) { in condjump()
403 int luaK_codeABCk (FuncState *fs, OpCode o, int a, int b, int c, int k) { in luaK_codeABCk()
414 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
424 int luaK_codeAsBx (FuncState *fs, OpCode o, int a, int bc) { in luaK_codeAsBx()
435 static int codesJ (FuncState *fs, OpCode o, int sj, int k) { in codesJ()
903 static int code_loadbool (FuncState *fs, int A, OpCode op) { in code_loadbool()
1055 static void codeABRK (FuncState *fs, OpCode o, int a, int b, in codeABRK()
1392 l_sinline OpCode binopr2op (BinOpr opr, BinOpr baser, OpCode base) {
[all …]
H A Dlcode.h70 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
71 LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx);
72 LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A,
H A Dlopcodes.h116 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
318 } OpCode; typedef
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/Disassembler/
H A DM68kDisassembler.cpp79 unsigned OpCode; member
107 M68kInstructionLookup build(unsigned OpCode);
227 dbgs() << "M68kInstructionLookup " << OpCode << " "; in dump()
260 M68kInstructionLookup M68kInstructionLookupBuilder::build(unsigned OpCode) { in build() argument
265 Ret.OpCode = OpCode; in build()
476 Instr.setOpcode(Lookup.OpCode); in getInstruction()
477 LLVM_DEBUG(errs() << "decoding instruction " << MCII->getName(Lookup.OpCode) in getInstruction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp515 BinaryOperator::Opcode OpCode = CondBSE->getOpcode(); in evalAssume() local
516 if (OpCode != BO_EQ && OpCode != BO_NE) in evalAssume()
524 bool ErrorIsReturned = (OpCode == BO_EQ && RHS != NoErr) || in evalAssume()
525 (OpCode == BO_NE && RHS == NoErr); in evalAssume()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1108 unsigned OpCode) const;
1332 unsigned OpCode) const { in getSCEVByOpCode()
1333 switch (OpCode) { in getSCEVByOpCode()
1355 const unsigned OpCode = DU.NarrowUse->getOpcode(); in getExtendedOperandRecurrence() local
1357 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in getExtendedOperandRecurrence()
1358 OpCode != Instruction::Mul) in getExtendedOperandRecurrence()
1393 dyn_cast<SCEVAddRecExpr>(getSCEVByOpCode(lhs, rhs, OpCode)); in getExtendedOperandRecurrence()
1527 const unsigned OpCode = NarrowUse->getOpcode(); in widenWithVariantUse() local
1529 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in widenWithVariantUse()
1530 OpCode != Instruction::Mul) in widenWithVariantUse()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp144 unsigned &OpCode) { in parseInstrName() argument
149 OpCode = InstrInfo->getValue(); in parseInstrName()
485 bool parseMachineOperand(const unsigned OpCode, const unsigned OpIdx,
488 bool parseMachineOperandAndTargetFlags(const unsigned OpCode,
507 bool parseTargetImmMnemonic(const unsigned OpCode, const unsigned OpIdx,
535 bool parseInstruction(unsigned &OpCode, unsigned &Flags);
975 unsigned OpCode, Flags = 0; in parse() local
976 if (Token.isError() || parseInstruction(OpCode, Flags)) in parse()
988 if (parseMachineOperandAndTargetFlags(OpCode, Operands.size(), MO, TiedDefIdx)) in parse()
990 if ((OpCode == TargetOpcode::DBG_VALUE || in parse()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreRegisterInfo.cpp168 unsigned OpCode = MI.getOpcode(); in InsertSPConstInst() local
171 if (OpCode==XCore::STWFI) { in InsertSPConstInst()
181 switch (OpCode) { in InsertSPConstInst()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/python/llvm/
H A Dbit_reader.py8 from .core import OpCode
H A Dcore.py84 class OpCode(LLVMEnumeration): class
90 super(OpCode, self).__init__(name, value)
428 return OpCode.from_value(lib.LLVMGetInstructionOpcode(self))
608 (OpCode, enumerations.OpCodes),
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMIRFormatter.h48 virtual bool parseImmMnemonic(const unsigned OpCode, const unsigned OpIdx, in parseImmMnemonic() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp111 static DWARFExpression::Operation::Description getOpDesc(unsigned OpCode) { in getOpDesc() argument
115 if (OpCode >= Descriptions.size()) in getOpDesc()
117 return Descriptions[OpCode]; in getOpDesc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DNativeFunctionSymbol.cpp65 switch (Annot.OpCode) { in inlineSiteContainsAddress()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/MIRParser/
H A DMIParser.h100 bool parseInstrName(StringRef InstrName, unsigned &OpCode);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp3626 unsigned OpCode = 0; in expandBranchImm() local
3629 OpCode = Mips::BNE; in expandBranchImm()
3632 OpCode = Mips::BEQ; in expandBranchImm()
3635 OpCode = Mips::BEQL; in expandBranchImm()
3639 OpCode = Mips::BNEL; in expandBranchImm()
3650 TOut.emitRRX(OpCode, DstRegOp.getReg(), Mips::ZERO, in expandBranchImm()
3654 TOut.emitRRX(OpCode, DstRegOp.getReg(), Mips::ZERO, MemOffsetOp, IDLoc, in expandBranchImm()
3668 TOut.emitRRX(OpCode, DstRegOp.getReg(), ATReg, in expandBranchImm()
3672 TOut.emitRRX(OpCode, DstRegOp.getReg(), ATReg, MemOffsetOp, IDLoc, STI); in expandBranchImm()
3690 unsigned OpCode = Inst.getOpcode(); in expandMem16Inst() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.cpp950 const unsigned OpCode = MCI.getOpcode(); in requiresSlot() local
952 const bool NoSlotReqd = Hexagon::A4_ext == OpCode || in requiresSlot()
953 (IsTiny && Hexagon::A2_nop == OpCode) || in requiresSlot()
954 (IsTiny && Hexagon::J4_hintjumpr == OpCode); in requiresSlot()

123