Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h182 static const char* getOpcodeName(unsigned OpCode);
184 static inline bool isTerminator(unsigned OpCode) {
185 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd;
225 static inline bool isCast(unsigned OpCode) {
226 return OpCode >= CastOpsBegin && OpCode < CastOpsEnd;
230 static inline bool isFuncletPad(unsigned OpCode) {
231 return OpCode >= FuncletPadOpsBegin && OpCode < FuncletPadOpsEnd;
235 static inline bool isExceptionalTerminator(unsigned OpCode) {
236 switch (OpCode) {
249 static inline bool isIndirectTerminator(unsigned OpCode) {
[all …]
/freebsd-13.1/contrib/lua/src/
H A Dlcode.c207 OpCode op; in luaK_ret()
1390 static void codebini (FuncState *fs, OpCode op, in codebini()
1435 OpCode op = cast(OpCode, opr + OP_ADDK); in codearith()
1439 OpCode op = cast(OpCode, opr + OP_ADD); in codearith()
1474 OpCode op; in codebitwise()
1480 op = cast(OpCode, opr + OP_ADD); in codebitwise()
1485 op = cast(OpCode, opr + OP_ADDK); in codebitwise()
1504 op = cast(OpCode, (op - OP_LT) + OP_LTI); in codeorder()
1530 OpCode op; in codeeq()
1710 OpCode op = cast(OpCode, (opr - OPR_EQ) + OP_EQ); in luaK_posfix()
[all …]
H A Dlcode.h63 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
64 LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx);
65 LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A,
H A Dlopcodes.h114 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
309 } OpCode; typedef
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlcode.c76 static int condjump (FuncState *fs, OpCode op, int A, int B, int C) { in condjump()
229 int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { in luaK_codeABC()
238 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
397 OpCode op = OP_GETTABUP; /* assume 't' is in an upvalue */ in luaK_dischargevars()
573 OpCode op = (var->u.ind.vt == VLOCAL) ? OP_SETTABLE : OP_SETTABUP; in luaK_storevar()
715 static int constfolding (OpCode op, expdesc *e1, expdesc *e2) { in constfolding()
731 static void codearith (FuncState *fs, OpCode op, in codearith()
753 static void codecomp (FuncState *fs, OpCode op, int cond, expdesc *e1, in codecomp()
853 codearith(fs, cast(OpCode, op - OPR_ADD + OP_ADD), e1, e2, line); in luaK_posfix()
857 codecomp(fs, cast(OpCode, op - OPR_EQ + OP_EQ), 1, e1, e2); in luaK_posfix()
[all …]
H A Dlcode.h48 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
49 LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
H A Dlopcodes.h90 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
226 } OpCode; typedef
H A Dldebug.c359 OpCode op = GET_OPCODE(i); in findsetreg()
414 OpCode op = GET_OPCODE(i); in getobjname()
/freebsd-13.1/contrib/llvm-project/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()
H A DCheckObjCDealloc.cpp413 BinaryOperator::Opcode OpCode = CondBSE->getOpcode(); in evalAssume() local
415 if (OpCode != BO_EQ) in evalAssume()
418 if (OpCode != BO_NE) in evalAssume()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1063 unsigned OpCode) const;
1287 unsigned OpCode) const { in getSCEVByOpCode()
1288 switch (OpCode) { in getSCEVByOpCode()
1310 const unsigned OpCode = DU.NarrowUse->getOpcode(); in getExtendedOperandRecurrence() local
1312 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in getExtendedOperandRecurrence()
1313 OpCode != Instruction::Mul) in getExtendedOperandRecurrence()
1348 dyn_cast<SCEVAddRecExpr>(getSCEVByOpCode(lhs, rhs, OpCode)); in getExtendedOperandRecurrence()
1482 const unsigned OpCode = NarrowUse->getOpcode(); in widenWithVariantUse() local
1484 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in widenWithVariantUse()
1485 OpCode != Instruction::Mul) in widenWithVariantUse()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp144 unsigned &OpCode) { in parseInstrName() argument
149 OpCode = InstrInfo->getValue(); in parseInstrName()
543 bool parseInstruction(unsigned &OpCode, unsigned &Flags);
999 unsigned OpCode, Flags = 0; in parse() local
1000 if (Token.isError() || parseInstruction(OpCode, Flags)) in parse()
1014 if ((OpCode == TargetOpcode::DBG_VALUE || in parse()
1015 OpCode == TargetOpcode::DBG_VALUE_LIST) && in parse()
1421 if (PFS.Target.parseInstrName(InstrName, OpCode)) in parseInstruction()
1734 bool MIParser::parseTargetImmMnemonic(const unsigned OpCode, in parseTargetImmMnemonic() argument
1757 if (MF.parseImmMnemonic(OpCode, OpIdx, Src, Val, in parseTargetImmMnemonic()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRFormatter.h48 virtual bool parseImmMnemonic(const unsigned OpCode, const unsigned OpIdx, in parseImmMnemonic() argument
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp61 unsigned OpCode = 0; in Value() local
63 OpCode = SubclassID - InstructionVal; in Value()
64 if (OpCode == Instruction::Call || OpCode == Instruction::Invoke || in Value()
65 OpCode == Instruction::CallBr) in Value()
H A DInstruction.cpp338 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName() argument
339 switch (OpCode) { in getOpcodeName()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeFunctionSymbol.cpp65 switch (Annot.OpCode) { in inlineSiteContainsAddress()
H A DNativeInlineSiteSymbol.cpp102 switch (Annot.OpCode) { in getLineOffset()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
H A DMIParser.h102 bool parseInstrName(StringRef InstrName, unsigned &OpCode);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp3626 unsigned OpCode = 0; in expandBranchImm() local
3629 OpCode = Mips::BNE; in expandBranchImm()
4542 unsigned OpCode; in expandSge() local
4548 OpCode = Mips::SLT; in expandSge()
4551 OpCode = Mips::SLTu; in expandSge()
4633 unsigned OpCode; in expandSgtImm() local
4640 OpCode = Mips::SLT; in expandSgtImm()
4644 OpCode = Mips::SLTu; in expandSgtImm()
4679 unsigned OpCode; in expandSle() local
4685 OpCode = Mips::SLT; in expandSle()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h162 BinaryAnnotationsOpCode OpCode = BinaryAnnotationsOpCode::Invalid; member
258 Result.OpCode = static_cast<BinaryAnnotationsOpCode>(Op); in ParseCurrentAnnotation()
259 switch (Result.OpCode) { in ParseCurrentAnnotation()
/freebsd-13.1/sys/dev/iir/
H A Diir.c956 if (ucmd->OpCode == GDT_IOCTL) { in gdt_ioctl_cmd()
1006 ucmd->OpCode); in gdt_ioctl_cmd()
1009 if (ucmd->OpCode == GDT_IOCTL) { in gdt_ioctl_cmd()
1446 ucmd->OpCode = GDT_FLUSH; in iir_shutdown()
1544 if (ucmd->OpCode == GDT_IOCTL) { in iir_intr_locked()

12