| /src/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.cpp | 130 inline ALWAYS_INLINE uintptr_t GetPreviousInstructionPc(uintptr_t PC) { in GetPreviousInstructionPc() argument 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() 149 ALWAYS_INLINE uintptr_t TracePC::GetNextInstructionPc(uintptr_t PC) { in GetNextInstructionPc() argument 151 return PC + 8; in GetNextInstructionPc() 154 return PC + 4; in GetNextInstructionPc() 156 return PC + 1; in GetNextInstructionPc() [all …]
|
| H A D | FuzzerUtil.cpp | 189 std::string DescribePC(const char *SymbolizedFMT, uintptr_t PC) { in DescribePC() argument 194 EF->__sanitizer_symbolize_pc(reinterpret_cast<void*>(PC), in DescribePC() 200 void PrintPC(const char *SymbolizedFMT, const char *FallbackFMT, uintptr_t PC) { in PrintPC() argument 202 Printf("%s", DescribePC(SymbolizedFMT, PC).c_str()); in PrintPC() 204 Printf(FallbackFMT, PC); in PrintPC()
|
| /src/contrib/llvm-project/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 ()() 66 if (auto Err = PC.AddrToBlock.addBlocks(Sec.blocks(), in operator ()() 82 if (auto Err = processBlock(PC, *B)) in operator ()() 114 Error EHFrameEdgeFixer::processBlock(ParseContext &PC, Block &B) { in processBlock() argument 150 PC.G.getEndianness()); in processBlock() 170 if (auto Err = processCIE(PC, B, CIEDeltaFieldOffset, BlockEdges)) in processBlock() 173 if (auto Err = processFDE(PC, B, CIEDeltaFieldOffset, CIEDelta, BlockEdges)) in processBlock() 180 Error EHFrameEdgeFixer::processCIE(ParseContext &PC, Block &B, in processCIE() argument 188 PC.G.getEndianness()); in processCIE() [all …]
|
| H A D | EHFrameSupportImpl.h | 87 Error processBlock(ParseContext &PC, Block &B); 88 Error processCIE(ParseContext &PC, Block &B, size_t CIEDeltaFieldOffset, 90 Error processFDE(ParseContext &PC, Block &B, size_t CIEDeltaFieldOffset, 101 ParseContext &PC, const BlockEdgesInfo &BlockEdges, 105 Expected<Symbol &> getOrCreateSymbol(ParseContext &PC,
|
| /src/contrib/llvm-project/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 */
|
| /src/contrib/arm-optimized-routines/math/ |
| H A D | erf.c | 21 #define PC __erf_data.erfc_poly_C macro 118 double r1 = fma (a, PC[1], PC[0]); in erf() 119 double r2 = fma (a, PC[3], PC[2]); in erf() 120 double r3 = fma (a, PC[5], PC[4]); in erf() 121 double r4 = fma (a, PC[7], PC[6]); in erf() 122 double r5 = fma (a, PC[9], PC[8]); in erf() 123 double r6 = fma (a, PC[11], PC[10]); in erf() 124 double r7 = fma (a, PC[13], PC[12]); in erf() 125 double r8 = fma (a, PC[15], PC[14]); in erf()
|
| /src/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Source.cpp | 41 const Expr *SourceMapper::getExpr(const Function *F, CodePtr PC) const { in getExpr() 42 if (const Expr *E = getSource(F, PC).asExpr()) in getExpr() 47 SourceLocation SourceMapper::getLocation(const Function *F, CodePtr PC) const { in getLocation() 48 return getSource(F, PC).getLoc(); in getLocation() 51 SourceRange SourceMapper::getRange(const Function *F, CodePtr PC) const { in getRange() 52 return getSource(F, PC).getRange(); in getRange()
|
| H A D | Function.cpp | 36 SourceInfo Function::getSource(CodePtr PC) const { in getSource() 37 assert(PC >= getCodeBegin() && "PC does not belong to this function"); in getSource() 38 assert(PC <= getCodeEnd() && "PC Does not belong to this function"); in getSource() 40 unsigned Offset = PC - getCodeBegin(); in getSource()
|
| H A D | InterpFrame.cpp | 240 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource() 246 return S.getSource(Func, PC); in getSource() 249 const Expr *InterpFrame::getExpr(CodePtr PC) const { in getExpr() 253 return S.getExpr(Func, PC); in getExpr() 256 SourceLocation InterpFrame::getLocation(CodePtr PC) const { in getLocation() 260 return S.getLocation(Func, PC); in getLocation() 263 SourceRange InterpFrame::getRange(CodePtr PC) const { in getRange() 267 return S.getRange(Func, PC); in getRange()
|
| H A D | Source.h | 99 virtual SourceInfo getSource(const Function *F, CodePtr PC) const = 0; 102 const Expr *getExpr(const Function *F, CodePtr PC) const; 104 SourceLocation getLocation(const Function *F, CodePtr PC) const; 105 SourceRange getRange(const Function *F, CodePtr PC) const;
|
| H A D | InterpFrame.h | 115 virtual SourceInfo getSource(CodePtr PC) const; 116 const Expr *getExpr(CodePtr PC) const; 117 SourceLocation getLocation(CodePtr PC) const; 118 SourceRange getRange(CodePtr PC) const;
|
| /src/contrib/llvm-project/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()
|
| /src/contrib/llvm-project/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()
|
| /src/sys/arm/arm/ |
| H A D | db_trace.c | 89 ~((1 << SP) | (1 << FP) | (1 << LR) | (1 << PC)); in db_stack_trace_cmd() 118 if (state->registers[PC] < VM_MIN_KERNEL_ADDRESS) { in db_stack_trace_cmd() 147 state.registers[PC] = ctx->pcb_regs.sf_pc; in db_trace_thread() 167 state.registers[PC] = (uint32_t)db_trace_self; in db_trace_self()
|
| H A D | unwind.c | 506 state->registers[PC]); in unwind_exec_insn() 519 state->registers[PC] = 0; in unwind_tab() 545 if (state->registers[PC] == 0) { in unwind_tab() 546 state->registers[PC] = state->registers[LR]; in unwind_tab() 551 if (state->start_pc != state->registers[PC]) in unwind_tab() 552 state->update_mask |= 1 << PC; in unwind_tab() 574 state->start_pc = state->registers[PC]; in unwind_stack_one()
|
| H A D | stack_machdep.c | 44 if (stack_put(st, state->registers[PC]) == -1) in stack_capture() 61 state.registers[PC] = (uint32_t)stack_save; in stack_save() 79 state.registers[PC] = td->td_pcb->pcb_regs.sf_pc; in stack_save_td()
|
| /src/contrib/llvm-project/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()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FlattenCFG.cpp | 175 Value *PC = PBI->getCondition(); in FlattenParallelAndOr() local 176 if (!PC || !PC->hasOneUse()) in FlattenParallelAndOr() 282 Value *PC = PBI->getCondition(); in FlattenParallelAndOr() local 296 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr() 299 NC = Builder.CreateAnd(PC, CC); in FlattenParallelAndOr() 302 PC = NC; in FlattenParallelAndOr()
|
| /src/sys/amd64/include/ |
| H A D | pmc_mdep.h | 110 #define PMC_IN_TRAP_HANDLER(PC) \ argument 111 ((PC) >= (uintptr_t) start_exceptions && \ 112 (PC) < (uintptr_t) end_exceptions)
|
| /src/sys/i386/include/ |
| H A D | pmc_mdep.h | 129 #define PMC_IN_TRAP_HANDLER(PC) \ argument 130 ((PC) >= (uintptr_t)start_exceptions + setidt_disp && \ 131 (PC) < (uintptr_t) end_exceptions + setidt_disp)
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | CommentParser.cpp | 394 void Parser::parseParamCommandArgs(ParamCommandComment *PC, in parseParamCommandArgs() argument 400 S.actOnParamCommandDirectionArg(PC, in parseParamCommandArgs() 406 S.actOnParamCommandParamNameArg(PC, in parseParamCommandArgs() 475 ParamCommandComment *PC = nullptr; in parseBlockCommand() local 482 PC = S.actOnParamCommandStart(Tok.getLocation(), in parseBlockCommand() 503 if (PC) { in parseBlockCommand() 504 S.actOnParamCommandFinish(PC, Paragraph); in parseBlockCommand() 505 return PC; in parseBlockCommand() 515 if (PC || TPC || Info->NumArgs > 0) { in parseBlockCommand() 520 if (PC) in parseBlockCommand() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCBranchFinalize.cpp | 152 unsigned PC = 0; in runOnMachineFunction() local 155 BlockToPCMap.insert(std::make_pair(&MBB, PC)); in runOnMachineFunction() 165 BranchToPCList.emplace_back(&MI, PC); in runOnMachineFunction() 167 PC += Size; in runOnMachineFunction()
|
| /src/sys/contrib/device-tree/src/powerpc/fsl/ |
| H A D | p1020rdb-pc_camp_core0.dts | 3 * P1020 RDB-PC Core0 Device Tree Source in CAMP mode. 18 model = "fsl,P1020RDB-PC"; 19 compatible = "fsl,P1020RDB-PC";
|
| /src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetObjectFile.cpp | 59 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference() local 60 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference() 84 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel() local 85 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
|
| /src/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kInstrFormats.td | 31 /// 21 M68000 (d16,PC) q program counter with displacement 32 /// 23 M68000 (d8,PC,Xn.L) k program counter with index and scale = 1 33 /// 22 M68000 (d8,PC,Xn.W) K program counter with index and scale = 1 34 /// 25 M68020 (d8,PC,Xn.L,SCALE) l program counter with index 35 /// 24 M68020 (d8,PC,Xn.W,SCALE) L program counter with index 36 /// 27 M68020 ([bd,PC],Xn.L,SCALE,od) x program counter memory indirect postindexed mo… 37 /// 26 M68020 ([bd,PC],Xn.W,SCALE,od) X program counter memory indirect postindexed mo… 38 /// 31 M68020 ([bd,PC,Xn.L,SCALE],od) y program counter memory indirect preindexed mode 39 /// 30 M68020 ([bd,PC,Xn.W,SCALE],od) Y program counter memory indirect preindexed mode
|