| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | MachO_arm64.cpp | 57 switch (RI.r_type) { in getRelocationKind() 70 if (!RI.r_pcrel && RI.r_extern) { in getRelocationKind() 78 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind() 82 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind() 86 if (!RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind() 90 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind() 94 if (!RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind() 98 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind() 102 if (!RI.r_pcrel && !RI.r_extern && RI.r_length == 2) in getRelocationKind() 106 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind() [all …]
|
| H A D | MachO_x86_64.cpp | 56 switch (RI.r_type) { in getRelocKind() 61 else if (RI.r_extern && RI.r_length == 2) in getRelocKind() 66 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind() 70 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind() 74 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind() 78 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind() 82 if (!RI.r_pcrel && RI.r_extern) { in getRelocKind() 90 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind() 94 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind() 98 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind() [all …]
|
| H A D | MachOLinkGraphBuilder.h | 172 MachO::relocation_info RI; in getRelocationInfo() local 173 RI.r_address = ARI.r_word0; in getRelocationInfo() 174 RI.r_symbolnum = ARI.r_word1 & 0xffffff; in getRelocationInfo() 175 RI.r_pcrel = (ARI.r_word1 >> 24) & 1; in getRelocationInfo() 176 RI.r_length = (ARI.r_word1 >> 25) & 3; in getRelocationInfo() 177 RI.r_extern = (ARI.r_word1 >> 27) & 1; in getRelocationInfo() 178 RI.r_type = (ARI.r_word1 >> 28); in getRelocationInfo() 179 return RI; in getRelocationInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
| H A D | DifferenceEngine.cpp | 328 ++RI; in diff() 334 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff() 782 LI != LE && RI != RE; ++LI, ++RI) in diff() 829 for (BasicBlock::const_iterator RI = RStart; RI != RE; ++RI) { in runBlockDiff() local 873 unify(&*LI, &*RI); in runBlockDiff() 876 ++RI; in runBlockDiff() 888 ++LI; ++RI; in runBlockDiff() 900 ++RI; in runBlockDiff() 908 assert(RI != RE); in runBlockDiff() 909 unify(&*LI, &*RI); in runBlockDiff() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineRegionInfo.h | 64 MachineRegionInfo *RI, MachineDominatorTree *DT, 86 MachineRegionInfo RI; 94 MachineRegionInfo &getRegionInfo() { return RI; } 96 const MachineRegionInfo &getRegionInfo() const { return RI; } 142 static NodeRef getEntryNode(MachineRegionInfo *RI) { 144 RI->getTopLevelRegion()); 147 static nodes_iterator nodes_begin(MachineRegionInfo *RI) { 148 return nodes_iterator::begin(getEntryNode(RI)); 151 static nodes_iterator nodes_end(MachineRegionInfo *RI) { 152 return nodes_iterator::end(getEntryNode(RI)); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 376 RegionInfo &RI; member in __anon784f818e0111::CHR 449 if (RI.HasBranch) in print() 679 Region *R = RI.R; in getBranchInsertPoint() 771 RegInfo RI(R); in findScope() local 833 RegInfo RI(R); in findScope() local 874 Region *R = RI.R; in checkScopeHoistable() 1026 if (RI.HasBranch) { in getCHRConditionValuesForRegion() 1382 Region *R = RI.R; in setCHRRegions() 1485 Region *R = RI.R; in hoistScopeConditions() 1643 Region *R = RI.R; in assertBranchOrSelectConditionHoisted() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | DwarfEHPrepare.cpp | 94 Value *V = RI->getOperand(0); in GetExceptionObject() 114 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", RI); in GetExceptionObject() 116 RI->eraseFromParent(); in GetExceptionObject() 137 for (auto *RI : Resumes) { in pruneUnreachableResumes() local 156 ResumeInst *RI = Resumes[I]; in pruneUnreachableResumes() local 158 Resumes[ResumesLeft++] = RI; in pruneUnreachableResumes() 161 new UnreachableInst(Ctx, RI); in pruneUnreachableResumes() 162 RI->eraseFromParent(); in pruneUnreachableResumes() 179 Resumes.push_back(RI); in InsertUnwindResumeCalls() 242 ResumeInst *RI = Resumes.front(); in InsertUnwindResumeCalls() local [all …]
|
| H A D | MachineRegionInfo.cpp | 38 MachineRegionInfo* RI, in MachineRegion() argument 40 RegionBase<RegionTraits<MachineFunction>>(Entry, Exit, RI, DT, Parent) {} in MachineRegion() 91 RI.recalculate(F, DT, PDT, DF); in runOnMachineFunction() 93 LLVM_DEBUG(RI.dump()); in runOnMachineFunction() 99 RI.releaseMemory(); in releaseMemory() 107 RI.verifyAnalysis(); in verifyAnalysis() 119 RI.print(OS); in print() 124 RI.dump(); in dump()
|
| H A D | GCRootLowering.cpp | 300 for (GCFunctionInfo::roots_iterator RI = FI->roots_begin(); in FindStackOffsets() local 301 RI != FI->roots_end();) { in FindStackOffsets() 303 if (MF.getFrameInfo().isDeadObjectIndex(RI->Num)) { in FindStackOffsets() 304 RI = FI->removeStackRoot(RI); in FindStackOffsets() 308 auto FrameOffset = TFI->getFrameIndexReference(MF, RI->Num, FrameReg); in FindStackOffsets() 311 RI->StackOffset = FrameOffset.getFixed(); in FindStackOffsets() 312 ++RI; in FindStackOffsets()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiDelaySlotFiller.cpp | 107 assert(RI->getOpcode() == Lanai::LDW_RI && RI->getOperand(0).isReg() && in runOnMachineBasicBlock() 108 RI->getOperand(0).getReg() == Lanai::FP && in runOnMachineBasicBlock() 109 RI->getOperand(1).isReg() && in runOnMachineBasicBlock() 110 RI->getOperand(1).getReg() == Lanai::FP && in runOnMachineBasicBlock() 111 RI->getOperand(2).isImm() && RI->getOperand(2).getImm() == -8); in runOnMachineBasicBlock() 112 ++RI; in runOnMachineBasicBlock() 113 assert(RI->getOpcode() == Lanai::ADD_I_LO && in runOnMachineBasicBlock() 114 RI->getOperand(0).isReg() && in runOnMachineBasicBlock() 115 RI->getOperand(0).getReg() == Lanai::SP && in runOnMachineBasicBlock() 116 RI->getOperand(1).isReg() && in runOnMachineBasicBlock() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | RegionPrinter.cpp | 107 for (const auto &RI : R) in printRegionCluster() local 108 printRegionCluster(*RI, GW, depth + 1); in printRegionCluster() 113 if (RI.getRegionFor(BB) == &R) in printRegionCluster() 115 << static_cast<const void*>(RI.getTopLevelRegion()->getBBNode(BB)) in printRegionCluster() 219 static void viewRegionInfo(RegionInfo *RI, bool ShortNames) { in viewRegionInfo() argument 220 assert(RI && "Argument must be non-null"); in viewRegionInfo() 222 llvm::Function *F = RI->getTopLevelRegion()->getEntry()->getParent(); in viewRegionInfo() 223 std::string GraphName = DOTGraphTraits<RegionInfo *>::getGraphName(RI); in viewRegionInfo() 225 llvm::ViewGraph(RI, "reg", ShortNames, in viewRegionInfo() 244 void llvm::viewRegion(RegionInfo *RI) { viewRegionInfo(RI, false); } in viewRegion() argument [all …]
|
| H A D | RegionInfo.cpp | 63 RegionInfo* RI, in Region() argument 65 RegionBase<RegionTraits<Function>>(Entry, Exit, RI, DT, Parent) { in Region() 131 RI.recalculate(F, DT, PDT, DF); in runOnFunction() 136 RI.releaseMemory(); in releaseMemory() 140 RI.verifyAnalysis(); in verifyAnalysis() 151 RI.print(OS); in print() 156 RI.dump(); in dump() 189 RegionInfo RI; in run() local 194 RI.recalculate(F, DT, PDT, DF); in run() 195 return RI; in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCInstrDesc.cpp | 21 const MCRegisterInfo &RI) const { in mayAffectControlFlow() 24 unsigned PC = RI.getProgramCounter(); in mayAffectControlFlow() 27 if (hasDefOfPhysReg(MI, PC, RI)) in mayAffectControlFlow() 41 const MCRegisterInfo &RI) const { in hasDefOfPhysReg() 44 RI.isSubRegisterEq(Reg, MI.getOperand(i).getReg())) in hasDefOfPhysReg() 49 RI.isSubRegisterEq(Reg, MI.getOperand(i).getReg())) in hasDefOfPhysReg() 51 return hasImplicitDefOfPhysReg(Reg, &RI); in hasDefOfPhysReg()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Object.h | 184 void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI); 186 LLVMRelocationIteratorRef RI); 187 void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI); 196 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI); 197 LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI); 198 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI); 201 const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI); 202 const char *LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCChecker.cpp | 71 HexagonMCInstrInfo::isPredReg(RI, R)) { in initReg() 82 for (MCRegAliasIterator SRI(R, &RI, RI.subregs(R).empty()); SRI.isValid(); in initReg() 84 if (RI.subregs(*SRI).empty()) in initReg() 126 else if (HexagonMCInstrInfo::isPredReg(RI, R) && in init() 148 for (MCRegAliasIterator SRI(R, &RI, RI.subregs(R).empty()); SRI.isValid(); in init() 150 if (!RI.subregs(*SRI).empty()) in init() 170 HexagonMCInstrInfo::isPredReg(RI, *SRI)) in init() 192 if (HexagonMCInstrInfo::isPredReg(RI, P)) in init() 208 : Context(Other.Context), MCB(Other.MCB), RI(Other.RI), MCII(Other.MCII), in HexagonMCChecker() 769 reportError("register `" + Twine(RI.getName(Register)) + in reportErrorRegisters() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | X86CompressEVEXTablesEmitter.cpp | 178 RecognizableInstrBase RI(*Inst); in run() local 180 bool IsND = RI.OpMap == X86Local::T_MAP4 && RI.HasEVEX_B && RI.HasVEX_4V; in run() 183 if (RI.Encoding == X86Local::VEX) in run() 184 CompressedInsts[RI.Opcode].push_back(Inst); in run() 186 else if (RI.Encoding == X86Local::EVEX && !RI.HasEVEX_K && !RI.HasEVEX_L2 && in run() 187 (!RI.HasEVEX_B || IsND)) in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURewriteOutArguments.cpp | 217 if (ReturnInst *RI = dyn_cast<ReturnInst>(&BB.back())) in runOnFunction() local 218 Returns.push_back(RI); in runOnFunction() 254 for (ReturnInst *RI : Returns) { in runOnFunction() 255 BasicBlock *BB = RI->getParent(); in runOnFunction() 265 ReplaceableStores.emplace_back(RI, SI); in runOnFunction() 340 ReturnInst *RI = Replacement.first; in runOnFunction() local 341 IRBuilder<> B(RI); in runOnFunction() 342 B.SetCurrentDebugLocation(RI->getDebugLoc()); in runOnFunction() 347 Value *RetVal = RI->getReturnValue(); in runOnFunction() 355 RI->setOperand(0, NewRetVal); in runOnFunction() [all …]
|
| H A D | SIInstrInfo.cpp | 68 RI(ST), ST(ST) { in SIInstrInfo() 1029 if (RC == RI.getVGPR64Class() && (SrcRC == RC || RI.isSGPRClass(SrcRC))) { in copyPhysReg() 1051 const bool Forward = RI.getHWRegIndex(DestReg) <= RI.getHWRegIndex(SrcReg); in copyPhysReg() 1073 } else if (RI.hasVGPRs(RC) && RI.isAGPRClass(SrcRC)) { in copyPhysReg() 1389 } else if (RI.getRegSizeInBits(*DstRC) == 64 && RI.isSGPRClass(DstRC)) { in getMovOpcode() 1391 } else if (RI.getRegSizeInBits(*DstRC) == 64 && !RI.isSGPRClass(DstRC)) { in getMovOpcode() 2562 RI.getAllocatableClass(getRegClass(TID, 0, &RI, *MF)); in reMaterialize() 5166 return RI.getRegSizeInBits(RC) > 32 && RI.isProperlyAlignedRC(RC) && in verifyInstruction() 5453 return RI.getProperlyAlignedRC(RI.getRegClass(RCID)); in adjustAllocatableRegClass() 5911 if (RI.hasAGPRs(RI.getRegClassForReg(MRI, MO.getReg())) && in legalizeOperandsVOP3() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | RegionIterator.h | 332 static NodeRef getEntryNode(RegionInfo *RI) { 336 static nodes_iterator nodes_begin(RegionInfo* RI) { 337 return nodes_iterator::begin(getEntryNode(RI)); 340 static nodes_iterator nodes_end(RegionInfo *RI) { 341 return nodes_iterator::end(getEntryNode(RI)); 351 static NodeRef getEntryNode(RegionInfoPass *RI) { 352 return GraphTraits<RegionInfo*>::getEntryNode(&RI->getRegionInfo()); 355 static nodes_iterator nodes_begin(RegionInfoPass* RI) { 356 return GraphTraits<RegionInfo*>::nodes_begin(&RI->getRegionInfo()); 359 static nodes_iterator nodes_end(RegionInfoPass *RI) { [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PassManagerImpl.h | 56 typename AnalysisResultMapT::iterator RI; in getResultImpl() local 58 std::tie(RI, Inserted) = AnalysisResults.insert(std::make_pair( in getResultImpl() 79 RI = AnalysisResults.find({ID, &IR}); in getResultImpl() 80 assert(RI != AnalysisResults.end() && "we just inserted it!"); in getResultImpl() 82 RI->second = std::prev(ResultList.end()); in getResultImpl() 85 return *RI->second->second; in getResultImpl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | PlistReporter.cpp | 52 RI = D.range_begin(), RE = D.range_end(); RI != RE; ++RI) { in writeARCDiagsToPlist() local 53 AddFID(FM, Fids, SM, RI->getBegin()); in writeARCDiagsToPlist() 54 AddFID(FM, Fids, SM, RI->getEnd()); in writeARCDiagsToPlist()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonAsmPrinter.cpp | 67 const MCRegisterInfo *RI) { in getHexagonRegisterPair() argument 69 unsigned Pair = *RI->superregs(Reg).begin(); in getHexagonRegisterPair() 377 unsigned Reg = RI->getEncodingValue(Rt.getReg()); in HexagonProcessInstruction() 382 Rt.setReg(getHexagonRegisterPair(Rt.getReg(), RI)); in HexagonProcessInstruction() 388 unsigned Reg = RI->getEncodingValue(Rt.getReg()); in HexagonProcessInstruction() 393 Rt.setReg(getHexagonRegisterPair(Rt.getReg(), RI)); in HexagonProcessInstruction() 400 unsigned Reg = RI->getEncodingValue(Rt.getReg()); in HexagonProcessInstruction() 405 Rt.setReg(getHexagonRegisterPair(Rt.getReg(), RI)); in HexagonProcessInstruction() 412 unsigned Reg = RI->getEncodingValue(Rs.getReg()); in HexagonProcessInstruction() 417 Rs.setReg(getHexagonRegisterPair(Rs.getReg(), RI)); in HexagonProcessInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MemoryTaggingSupport.cpp | 59 for (auto *RI : RetVec) { in forAllReachableExits() local 60 if (!isPotentiallyReachable(Start, RI, nullptr, &DT, &LI)) in forAllReachableExits() 62 ReachableRetVec.push_back(RI); in forAllReachableExits() 67 if (EndBlocks.contains(RI->getParent()) || in forAllReachableExits() 68 !isPotentiallyReachable(Start, RI, &EndBlocks, &DT, &LI)) { in forAllReachableExits() 78 for (auto *RI : ReachableRetVec) in forAllReachableExits() local 79 Callback(RI); in forAllReachableExits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | Object.cpp | 330 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationOffset() argument 331 return (*unwrap(RI))->getOffset(); in LLVMGetRelocationOffset() 334 LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationSymbol() argument 335 symbol_iterator ret = (*unwrap(RI))->getSymbol(); in LLVMGetRelocationSymbol() 339 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationType() argument 340 return (*unwrap(RI))->getType(); in LLVMGetRelocationType() 344 const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationTypeName() argument 346 (*unwrap(RI))->getTypeName(ret); in LLVMGetRelocationTypeName() 353 const char *LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationValueString() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.h | 66 const relocation_iterator &RI) const { in getRelocationEntry() argument 70 Obj.getRelocation(RI->getRawDataRefImpl()); in getRelocationEntry() 74 uint64_t Offset = RI->getOffset(); in getRelocationEntry() 99 const relocation_iterator &RI, 105 const relocation_iterator &RI,
|