Home
last modified time | relevance | path

Searched refs:RI (Results 1 – 25 of 253) sorted by relevance

1234567891011

/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachO_x86_64.cpp55 switch (RI.r_type) { in getRelocKind()
60 else if (RI.r_extern && RI.r_length == 2) in getRelocKind()
65 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
69 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
73 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
77 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
81 if (!RI.r_pcrel && RI.r_extern) { in getRelocKind()
89 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
93 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
97 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
[all …]
H A DMachO_arm64.cpp36 switch (RI.r_type) { in getRelocationKind()
38 if (!RI.r_pcrel) { in getRelocationKind()
39 if (RI.r_length == 3) in getRelocationKind()
49 if (!RI.r_pcrel && RI.r_extern) { in getRelocationKind()
57 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
61 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
65 if (!RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
69 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
73 if (!RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
77 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
[all …]
H A DMachOLinkGraphBuilder.h168 MachO::relocation_info RI; in getRelocationInfo() local
169 RI.r_address = ARI.r_word0; in getRelocationInfo()
170 RI.r_symbolnum = ARI.r_word1 & 0xffffff; in getRelocationInfo()
171 RI.r_pcrel = (ARI.r_word1 >> 24) & 1; in getRelocationInfo()
172 RI.r_length = (ARI.r_word1 >> 25) & 3; in getRelocationInfo()
173 RI.r_extern = (ARI.r_word1 >> 27) & 1; in getRelocationInfo()
174 RI.r_type = (ARI.r_word1 >> 28); in getRelocationInfo()
175 return RI; in getRelocationInfo()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineRegionInfo.h64 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-13.1/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp219 ++RI; in diff()
225 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff()
602 LI != LE && RI != RE; ++LI, ++RI) in diff()
648 for (BasicBlock::const_iterator RI = RStart; RI != RE; ++RI) { in runBlockDiff() local
692 unify(&*LI, &*RI); in runBlockDiff()
695 ++RI; in runBlockDiff()
707 ++LI; ++RI; in runBlockDiff()
719 ++RI; in runBlockDiff()
727 assert(RI != RE); in runBlockDiff()
728 unify(&*LI, &*RI); in runBlockDiff()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp93 Value *V = RI->getOperand(0); in GetExceptionObject()
113 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", RI); in GetExceptionObject()
115 RI->eraseFromParent(); in GetExceptionObject()
136 for (auto *RI : Resumes) { in pruneUnreachableResumes() local
155 ResumeInst *RI = Resumes[I]; in pruneUnreachableResumes() local
157 Resumes[ResumesLeft++] = RI; in pruneUnreachableResumes()
160 new UnreachableInst(Ctx, RI); in pruneUnreachableResumes()
161 RI->eraseFromParent(); in pruneUnreachableResumes()
178 Resumes.push_back(RI); in InsertUnwindResumeCalls()
226 ResumeInst *RI = Resumes.front(); in InsertUnwindResumeCalls() local
[all …]
H A DMachineRegionInfo.cpp38 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 DGCRootLowering.cpp291 for (GCFunctionInfo::roots_iterator RI = FI->roots_begin(); in FindStackOffsets() local
292 RI != FI->roots_end();) { in FindStackOffsets()
294 if (MF.getFrameInfo().isDeadObjectIndex(RI->Num)) { in FindStackOffsets()
295 RI = FI->removeStackRoot(RI); in FindStackOffsets()
299 auto FrameOffset = TFI->getFrameIndexReference(MF, RI->Num, FrameReg); in FindStackOffsets()
302 RI->StackOffset = FrameOffset.getFixed(); in FindStackOffsets()
303 ++RI; in FindStackOffsets()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp404 RegionInfo &RI; member in __anon15e3d84c0211::CHR
473 if (RI.HasBranch) in print()
711 Region *R = RI.R; in getBranchInsertPoint()
791 RegInfo RI(R); in findScope() local
853 RegInfo RI(R); in findScope() local
894 Region *R = RI.R; in checkScopeHoistable()
1046 if (RI.HasBranch) { in getCHRConditionValuesForRegion()
1402 Region *R = RI.R; in setCHRRegions()
1505 Region *R = RI.R; in hoistScopeConditions()
1663 Region *R = RI.R; in assertBranchOrSelectConditionHoisted()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiDelaySlotFiller.cpp108 assert(RI->getOpcode() == Lanai::LDW_RI && RI->getOperand(0).isReg() && in runOnMachineBasicBlock()
109 RI->getOperand(0).getReg() == Lanai::FP && in runOnMachineBasicBlock()
110 RI->getOperand(1).isReg() && in runOnMachineBasicBlock()
111 RI->getOperand(1).getReg() == Lanai::FP && in runOnMachineBasicBlock()
112 RI->getOperand(2).isImm() && RI->getOperand(2).getImm() == -8); in runOnMachineBasicBlock()
113 ++RI; in runOnMachineBasicBlock()
114 assert(RI->getOpcode() == Lanai::ADD_I_LO && in runOnMachineBasicBlock()
115 RI->getOperand(0).isReg() && in runOnMachineBasicBlock()
116 RI->getOperand(0).getReg() == Lanai::SP && in runOnMachineBasicBlock()
117 RI->getOperand(1).isReg() && in runOnMachineBasicBlock()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DRegionPrinter.cpp120 for (const auto &RI : R) in printRegionCluster() local
121 printRegionCluster(*RI, GW, depth + 1); in printRegionCluster()
126 if (RI.getRegionFor(BB) == &R) in printRegionCluster()
128 << static_cast<const void*>(RI.getTopLevelRegion()->getBBNode(BB)) in printRegionCluster()
231 static void viewRegionInfo(RegionInfo *RI, bool ShortNames) { in viewRegionInfo() argument
232 assert(RI && "Argument must be non-null"); in viewRegionInfo()
234 llvm::Function *F = RI->getTopLevelRegion()->getEntry()->getParent(); in viewRegionInfo()
235 std::string GraphName = DOTGraphTraits<RegionInfo *>::getGraphName(RI); in viewRegionInfo()
237 llvm::ViewGraph(RI, "reg", ShortNames, in viewRegionInfo()
256 void llvm::viewRegion(RegionInfo *RI) { viewRegionInfo(RI, false); } in viewRegion() argument
[all …]
H A DRegionInfo.cpp62 RegionInfo* RI, in Region() argument
64 RegionBase<RegionTraits<Function>>(Entry, Exit, RI, DT, Parent) { in Region()
130 RI.recalculate(F, DT, PDT, DF); in runOnFunction()
135 RI.releaseMemory(); in releaseMemory()
139 RI.verifyAnalysis(); in verifyAnalysis()
150 RI.print(OS); in print()
155 RI.dump(); in dump()
188 RegionInfo RI; in run() local
193 RI.recalculate(F, DT, PDT, DF); in run()
194 return RI; in run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCInstrDesc.cpp22 const MCRegisterInfo &RI) const { in mayAffectControlFlow()
25 unsigned PC = RI.getProgramCounter(); in mayAffectControlFlow()
28 if (hasDefOfPhysReg(MI, PC, RI)) in mayAffectControlFlow()
43 const MCRegisterInfo &RI) const { in hasDefOfPhysReg()
46 RI.isSubRegisterEq(Reg, MI.getOperand(i).getReg())) in hasDefOfPhysReg()
51 RI.isSubRegisterEq(Reg, MI.getOperand(i).getReg())) in hasDefOfPhysReg()
53 return hasImplicitDefOfPhysReg(Reg, &RI); in hasDefOfPhysReg()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DObject.h182 void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI);
184 LLVMRelocationIteratorRef RI);
185 void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI);
194 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI);
195 LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI);
196 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI);
199 const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI);
200 const char *LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h69 for (auto &RI : RetVec) { in forAllReachableExits()
70 if (!isPotentiallyReachable(Start, RI, nullptr, &DT)) in forAllReachableExits()
72 ReachableRetVec.push_back(RI); in forAllReachableExits()
73 if (DT.dominates(End, RI)) in forAllReachableExits()
81 for (auto &RI : ReachableRetVec) in forAllReachableExits()
82 Callback(RI); in forAllReachableExits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp67 RI(ST), ST(ST) { in SIInstrInfo()
664 (RI.getRegSizeInBits(*RI.getPhysRegClass(SrcReg)) == 16))) { in copyPhysReg()
866 if (RC == RI.getVGPR64Class() && (SrcRC == RC || RI.isSGPRClass(SrcRC))) { in copyPhysReg()
883 const bool Forward = RI.getHWRegIndex(DestReg) <= RI.getHWRegIndex(SrcReg); in copyPhysReg()
895 if (RI.hasAGPRs(RC)) { in copyPhysReg()
898 } else if (RI.hasVGPRs(RC) && RI.hasAGPRs(SrcRC)) { in copyPhysReg()
1206 } else if (RI.getRegSizeInBits(*DstRC) == 64 && RI.isSGPRClass(DstRC)) { in getMovOpcode()
1208 } else if (RI.getRegSizeInBits(*DstRC) == 64 && !RI.isSGPRClass(DstRC)) { in getMovOpcode()
2908 RI.isSGPRClass(RI.getPhysRegClass(Src0->getReg())))) || in FoldImmediate()
2925 RI.isSGPRClass(RI.getPhysRegClass(Src1->getReg()))) || in FoldImmediate()
[all …]
H A DAMDGPURewriteOutArguments.cpp248 if (ReturnInst *RI = dyn_cast<ReturnInst>(&BB.back())) in runOnFunction() local
249 Returns.push_back(RI); in runOnFunction()
284 for (ReturnInst *RI : Returns) { in runOnFunction()
285 BasicBlock *BB = RI->getParent(); in runOnFunction()
295 ReplaceableStores.emplace_back(RI, SI); in runOnFunction()
368 ReturnInst *RI = Replacement.first; in runOnFunction() local
369 IRBuilder<> B(RI); in runOnFunction()
370 B.SetCurrentDebugLocation(RI->getDebugLoc()); in runOnFunction()
375 Value *RetVal = RI->getReturnValue(); in runOnFunction()
407 RI->setOperand(0, NewRetVal); in runOnFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DRegionIterator.h332 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-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DPassManagerImpl.h56 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-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DPlistReporter.cpp52 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-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp67 const MCRegisterInfo *RI) { in getHexagonRegisterPair() argument
69 MCSuperRegIterator SR(Reg, RI, false); in getHexagonRegisterPair()
376 unsigned Reg = RI->getEncodingValue(Rt.getReg()); in HexagonProcessInstruction()
381 Rt.setReg(getHexagonRegisterPair(Rt.getReg(), RI)); in HexagonProcessInstruction()
387 unsigned Reg = RI->getEncodingValue(Rt.getReg()); in HexagonProcessInstruction()
392 Rt.setReg(getHexagonRegisterPair(Rt.getReg(), RI)); in HexagonProcessInstruction()
399 unsigned Reg = RI->getEncodingValue(Rt.getReg()); in HexagonProcessInstruction()
404 Rt.setReg(getHexagonRegisterPair(Rt.getReg(), RI)); in HexagonProcessInstruction()
411 unsigned Reg = RI->getEncodingValue(Rs.getReg()); in HexagonProcessInstruction()
416 Rs.setReg(getHexagonRegisterPair(Rs.getReg(), RI)); in HexagonProcessInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp79 for (MCRegAliasIterator SRI(R, &RI, !MCSubRegIterator(R, &RI).isValid()); in initReg()
81 if (!MCSubRegIterator(*SRI, &RI).isValid()) in initReg()
144 for (MCRegAliasIterator SRI(R, &RI, !MCSubRegIterator(R, &RI).isValid()); in init()
146 if (MCSubRegIterator(*SRI, &RI).isValid()) in init()
200 : Context(Context), MCB(mcb), RI(ri), MCII(MCII), STI(STI), in HexagonMCChecker()
208 : Context(Other.Context), MCB(Other.MCB), RI(Other.RI), MCII(Other.MCII), in HexagonMCChecker()
567 reportWarning("Register `" + Twine(RI.getName(Register)) + in checkRegisterCurDefs()
649 reportWarning("register `" + Twine(RI.getName(R)) + in checkRegisters()
711 reportError("register `" + Twine(RI.getName(Register)) + in reportErrorRegisters()
716 reportError("register `" + Twine(RI.getName(Register)) + in reportErrorNewValue()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp159 void forwardResume(ResumeInst *RI,
221 BasicBlock *Src = RI->getParent(); in forwardResume()
230 RI->eraseFromParent(); in forwardResume()
1224 if (!RI || !isa<CallBase>(RI->getOperand(0))) in AddReturnAttributes()
1681 for (auto *RI : Returns) { in inlineRetainOrClaimRVCalls() local
1742 Builder.SetInsertPoint(RI); in inlineRetainOrClaimRVCalls()
2378 RI->eraseFromParent(); in InlineFunction()
2429 RI->eraseFromParent(); in InlineFunction()
2567 PHI->addIncoming(RI->getReturnValue(), RI->getParent()); in InlineFunction()
2576 Loc = RI->getDebugLoc(); in InlineFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dsimple_ilist.h274 iterator RI = RHS.begin(), RE = RHS.end(); in merge() local
276 if (comp(*RI, *LI)) { in merge()
278 iterator RunStart = RI++; in merge()
279 RI = std::find_if(RI, RE, [&](reference RV) { return !comp(RV, *LI); }); in merge()
280 splice(LI, RHS, RunStart, RI); in merge()
281 if (RI == RE) in merge()
287 splice(LE, RHS, RI, RE); in merge()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp330 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

1234567891011