/openbsd/gnu/usr.bin/gcc/gcc/java/ |
H A D | javaop.h | 91 #define IMMEDIATE_u1 (PC++, CHECK_PC_IN_RANGE(PC), BCODE[PC-1]) 94 #define IMMEDIATE_s1 (PC++, CHECK_PC_IN_RANGE(PC), (signed char)BCODE[PC-1]) 97 #define IMMEDIATE_s2 (PC+=2, CHECK_PC_IN_RANGE(PC), \ 98 (signed char) BCODE[PC-2] * 256 + BCODE[PC-1]) 101 #define IMMEDIATE_u2 (PC+=2, CHECK_PC_IN_RANGE(PC),\ 102 (BCODE[PC-2] * 256 + BCODE[PC-1])) 105 #define IMMEDIATE_s4 (PC+=4, CHECK_PC_IN_RANGE(PC), \ 106 (WORD_TO_INT((BCODE[PC-4] << 24) | (BCODE[PC-3] << 16) \ 107 | (BCODE[PC-2] << 8) | (BCODE[PC-1]))))
|
H A D | verify.c | 361 #define INVALIDATE_PC (prevpc = -1, oldpc = PC, PC = INVALID_PC) 409 #define CHECK_PC_IN_RANGE(PC) ({if (PC < 0 || PC > length) goto bad_pc; (void)1;}) argument 411 #define CHECK_PC_IN_RANGE(PC) (PC < 0 || PC > length ? (abort (), 0) : 1) argument 427 int PC; local 498 for (PC = 0;;) 503 || PC == 0) 516 && PC == INVALID_PC) 591 oldpc = PC; 801 PC += wide + 1; 1210 while (PC%4) [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/ |
H A D | FuzzerTracePC.cpp | 135 return (PC - 3) & (~1); in GetPreviousInstructionPc() 137 return PC - 8; in GetPreviousInstructionPc() 139 return PC - 2; in GetPreviousInstructionPc() 141 return PC - 1; in GetPreviousInstructionPc() 143 return PC - 4; in GetPreviousInstructionPc() 151 return PC + 8; in GetNextInstructionPc() 154 return PC + 4; in GetNextInstructionPc() 156 return PC + 1; in GetNextInstructionPc() 314 for (auto PC : UncoveredPCs) in PrintCoverage() local 319 for (auto PC : CoveredPCs) in PrintCoverage() local [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/ELFRelocs/ |
H A D | M68k.def | 9 ELF_RELOC(R_68K_PC32, 4) /* PC relative 32 bit */ 10 ELF_RELOC(R_68K_PC16, 5) /* PC relative 16 bit */ 11 ELF_RELOC(R_68K_PC8, 6) /* PC relative 8 bit */ 12 ELF_RELOC(R_68K_GOTPCREL32, 7) /* 32 bit PC relative GOT entry */ 13 ELF_RELOC(R_68K_GOTPCREL16, 8) /* 16 bit PC relative GOT entry */ 14 ELF_RELOC(R_68K_GOTPCREL8, 9) /* 8 bit PC relative GOT entry */ 18 ELF_RELOC(R_68K_PLT32, 13) /* 32 bit PC relative PLT address */ 19 ELF_RELOC(R_68K_PLT16, 14) /* 16 bit PC relative PLT address */ 20 ELF_RELOC(R_68K_PLT8, 15) /* 8 bit PC relative PLT address */
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
H A D | EHFrameSupport.cpp | 51 ParseContext PC(G); in operator ()() local 59 auto &CurSym = PC.AddrToSym[Sym->getAddress()]; in operator ()() 82 if (auto Err = processBlock(PC, *B)) in operator ()() 144 PC.G.getEndianness()); in processBlock() 199 PC.G.getEndianness()); in processCIE() 316 PC.G.getEndianness()); in processFDE() 593 auto TargetSym = getOrCreateSymbol(PC, Target); in getOrCreateEncodedPointerEdge() 613 auto CanonicalSymI = PC.AddrToSym.find(Addr); in getOrCreateSymbol() 614 if (CanonicalSymI != PC.AddrToSym.end()) in getOrCreateSymbol() 618 auto *B = PC.AddrToBlock.getBlockCovering(Addr); in getOrCreateSymbol() [all …]
|
H A D | EHFrameSupportImpl.h | 83 Error processBlock(ParseContext &PC, Block &B); 84 Error processCIE(ParseContext &PC, Block &B, size_t RecordOffset, 87 Error processFDE(ParseContext &PC, Block &B, size_t RecordOffset, 99 ParseContext &PC, const BlockEdgeMap &BlockEdges, uint8_t PointerEncoding, 103 Expected<Symbol &> getOrCreateSymbol(ParseContext &PC,
|
/openbsd/gnu/llvm/llvm/docs/ |
H A D | PCSectionsMetadata.rst | 2 LLVM PC Sections Metadata 11 PC Sections Metadata can be attached to instructions and functions, for which 21 arbitrary number of auxiliary constant data encoded along the PC of the 40 function to all named sections. For each emitted PC in a section #N, the 49 *Instructions* result in emitting a single PC, and *functions* result in 66 optimizations or code generation outside the requested PC sections. 93 optimization passes shall preserve PC sections metadata as follows: 95 1. Replacements will preserve PC sections metadata of the replaced 98 2. Duplications will preserve PC sections metadata of the copied 101 3. Merging will preserve PC sections metadata of one of the two [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/gprof/ |
H A D | vax.c | 45 #define PC 0xf macro 100 return usesreg != PC ? autoinc : immediate; in vax_operandmode() 102 return usesreg != PC ? autoincdef : absolute; in vax_operandmode() 104 return usesreg != PC ? bytedisp : byterel; in vax_operandmode() 106 return usesreg != PC ? bytedispdef : bytereldef; in vax_operandmode() 108 return usesreg != PC ? worddisp : wordrel; in vax_operandmode() 110 return usesreg != PC ? worddispdef : wordreldef; in vax_operandmode() 112 return usesreg != PC ? longdisp : longrel; in vax_operandmode() 114 return usesreg != PC ? longdispdef : longreldef; in vax_operandmode()
|
H A D | tahoe.c | 45 #define PC 0xf macro 90 return usesreg != PC ? autoincdef : absolute; in tahoe_operandmode() 92 return usesreg != PC ? bytedisp : byterel; in tahoe_operandmode() 94 return usesreg != PC ? bytedispdef : bytereldef; in tahoe_operandmode() 96 return usesreg != PC ? worddisp : wordrel; in tahoe_operandmode() 98 return usesreg != PC ? worddispdef : wordreldef; in tahoe_operandmode() 100 return usesreg != PC ? longdisp : longrel; in tahoe_operandmode() 102 return usesreg != PC ? longdispdef : longreldef; in tahoe_operandmode()
|
/openbsd/gnu/usr.bin/binutils/gprof/ |
H A D | vax.c | 45 #define PC 0xf macro 99 return usesreg != PC ? autoinc : immediate; 101 return usesreg != PC ? autoincdef : absolute; 103 return usesreg != PC ? bytedisp : byterel; 105 return usesreg != PC ? bytedispdef : bytereldef; 107 return usesreg != PC ? worddisp : wordrel; 109 return usesreg != PC ? worddispdef : wordreldef; 111 return usesreg != PC ? longdisp : longrel; 113 return usesreg != PC ? longdispdef : longreldef;
|
H A D | tahoe.c | 45 #define PC 0xf macro 91 return usesreg != PC ? autoincdef : absolute; 93 return usesreg != PC ? bytedisp : byterel; 95 return usesreg != PC ? bytedispdef : bytereldef; 97 return usesreg != PC ? worddisp : wordrel; 99 return usesreg != PC ? worddispdef : wordreldef; 101 return usesreg != PC ? longdisp : longrel; 103 return usesreg != PC ? longdispdef : longreldef;
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMFeatures.h | 79 return Instr->getOperand(2).getReg() != ARM::PC; in isV8EligibleForIT() 84 return Instr->getOperand(0).getReg() != ARM::PC; in isV8EligibleForIT() 86 return Instr->getOperand(0).getReg() != ARM::PC && in isV8EligibleForIT() 87 Instr->getOperand(2).getReg() != ARM::PC; in isV8EligibleForIT() 90 return Instr->getOperand(0).getReg() != ARM::PC && in isV8EligibleForIT() 91 Instr->getOperand(1).getReg() != ARM::PC; in isV8EligibleForIT()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_stacktrace_test.cpp | 59 static uptr PC(uptr idx) { in PC() function 75 fake_stack[i+1] = PC(i + 1); // retaddr in SetUp() 85 start_pc = PC(0); in SetUp() 117 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F() 130 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F() 142 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F() 163 fake_stack[1] = PC(1); in TEST_F() 166 EXPECT_EQ(PC(0), trace.trace[0]); in TEST_F() 167 EXPECT_EQ(PC(1), trace.trace[1]); in TEST_F() 178 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F()
|
/openbsd/gnu/llvm/clang/lib/AST/Interp/ |
H A D | Source.cpp | 31 const Expr *SourceMapper::getExpr(const Function *F, CodePtr PC) const { in getExpr() 32 if (const Expr *E = getSource(F, PC).asExpr()) in getExpr() 37 SourceLocation SourceMapper::getLocation(const Function *F, CodePtr PC) const { in getLocation() 38 return getSource(F, PC).getLoc(); in getLocation()
|
H A D | Function.cpp | 32 SourceInfo Function::getSource(CodePtr PC) const { in getSource() 33 assert(PC >= getCodeBegin() && "PC does not belong to this function"); in getSource() 34 assert(PC <= getCodeEnd() && "PC Does not belong to this function"); in getSource() 35 unsigned Offset = PC - getCodeBegin(); in getSource()
|
H A D | Interp.cpp | 34 static bool Ret(InterpState &S, CodePtr &PC, APValue &Result) { in Ret() argument 43 PC = S.Current->getRetPC(); in Ret() 64 PC = S.Current->getRetPC(); in RetVoid() 83 PC += Offset; in Jmp() 87 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) { in Jt() argument 89 PC += Offset; in Jt() 96 PC += Offset; in Jf() 483 CodePtr PC = S.Current->getPC(); in Interpret() local 486 if (!PC) in Interpret() 490 auto Op = PC.read<Opcode>(); in Interpret() [all …]
|
H A D | Disasm.cpp | 60 for (CodePtr Start = getCodeBegin(), PC = Start; PC != getCodeEnd();) { in dump() local 61 size_t Addr = PC - Start; in dump() 62 auto Op = PC.read<Opcode>(); in dump()
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | m32r-stub.c | 123 PSW, CBR, SPI, SPU, BPC, PC, ACCL, ACCH enumerator 239 *ptr++ = hexchars[PC >> 4]; in handle_exception() 240 *ptr++ = hexchars[PC & 0xf]; in handle_exception() 328 registers[PC] = addr; in handle_exception() 454 registers[PC] = addr; in handle_exception() 467 *ptr++ = hexchars[PC >> 4]; /* send PC */ in handle_exception() 468 *ptr++ = hexchars[PC & 0xf]; in handle_exception() 497 if ((registers[PC] & 2) != 0) in handle_exception() 1124 registers[R14] = (registers[PC] & ~3) + 4; in branchSideEffects() 1166 unsigned long pc = registers[PC]; [all …]
|
H A D | sparc-stub.c | 119 Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR }; enumerator 584 if (registers[PC] == (unsigned long)breakinst) in handle_exception() 586 registers[PC] = registers[NPC]; in handle_exception() 602 *ptr++ = hexchars[PC >> 4]; in handle_exception() 603 *ptr++ = hexchars[PC & 0xf]; in handle_exception() 605 ptr = mem2hex((char *)®isters[PC], ptr, 4, 0); in handle_exception() 732 registers[PC] = addr; in handle_exception()
|
/openbsd/gnu/lib/libreadline/ |
H A D | tcap.h | 40 #ifdef PC 41 # undef PC 44 extern char PC;
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetObjectFile.cpp | 45 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference() local 46 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference() 70 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel() local 71 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
|
/openbsd/sys/arch/luna88k/conf/ |
H A D | GENERIC | 53 # PC-9801 extension board slot 56 # PC-9801 extension board slot 'generic' driver 62 # NEC PC-9801-86 sound board 66 # NEC PC-9801-102 & PC-9821X[AE]-E01 PC Card slot adapter
|
/openbsd/gnu/llvm/clang/lib/Analysis/ |
H A D | ProgramPoint.cpp | 102 ImplicitCallPoint PC = castAs<ImplicitCallPoint>(); in printJson() local 104 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson() 106 printSourceLocationAsJson(Out, PC.getLocation(), SM); in printJson() 111 ImplicitCallPoint PC = castAs<ImplicitCallPoint>(); in printJson() local 113 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson() 115 printSourceLocationAsJson(Out, PC.getLocation(), SM); in printJson()
|
/openbsd/gnu/llvm/llvm/lib/MC/ |
H A D | MCInstrDesc.cpp | 24 unsigned PC = RI.getProgramCounter(); in mayAffectControlFlow() local 25 if (PC == 0) in mayAffectControlFlow() 27 if (hasDefOfPhysReg(MI, PC, RI)) in mayAffectControlFlow()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | CommentParser.cpp | 270 S.actOnParamCommandDirectionArg(PC, in parseParamCommandArgs() 276 S.actOnParamCommandParamNameArg(PC, in parseParamCommandArgs() 310 ParamCommandComment *PC = nullptr; in parseBlockCommand() local 338 if (PC) { in parseBlockCommand() 340 return PC; in parseBlockCommand() 350 if (PC || TPC || Info->NumArgs > 0) { in parseBlockCommand() 355 if (PC) in parseBlockCommand() 356 parseParamCommandArgs(PC, Retokenizer); in parseBlockCommand() 387 if (PC) { in parseBlockCommand() 388 S.actOnParamCommandFinish(PC, Paragraph); in parseBlockCommand() [all …]
|