| /netbsd-src/external/gpl3/binutils/dist/opcodes/ |
| H A D | fr30-opc.c | 183 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 189 { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } }, 195 { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } }, 201 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 207 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 213 { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } }, 219 { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } }, 225 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 231 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 237 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/opcodes/ |
| H A D | fr30-opc.c | 183 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 189 { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } }, 195 { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } }, 201 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 207 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 213 { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } }, 219 { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } }, 225 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 231 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, 237 { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } }, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | MachO_x86_64.cpp | 54 getRelocKind(const MachO::relocation_info &RI) { in getRelocKind() argument 55 switch (RI.r_type) { in getRelocKind() 57 if (!RI.r_pcrel) { in getRelocKind() 58 if (RI.r_length == 3) in getRelocKind() 59 return RI.r_extern ? MachOPointer64 : MachOPointer64Anon; 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() 66 return RI.r_extern ? MachOPCRel32 : MachOPCRel32Anon; 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() [all …]
|
| H A D | MachO_arm64.cpp | 35 getRelocationKind(const MachO::relocation_info &RI) { in getRelocationKind() argument 36 switch (RI.r_type) { in getRelocationKind() 38 if (!RI.r_pcrel) { in getRelocationKind() 39 if (RI.r_length == 3) in getRelocationKind() 40 return RI.r_extern ? Pointer64 : Pointer64Anon; in getRelocationKind() 41 else if (RI.r_length == 2) in getRelocationKind() 49 if (!RI.r_pcrel && RI.r_extern) { in getRelocationKind() 50 if (RI.r_length == 2) in getRelocationKind() 52 else if (RI.r_length == 3) in getRelocationKind() 57 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind() [all …]
|
| H A D | MachOLinkGraphBuilder.h | 167 MachO::relocation_info RI; in getRelocationInfo() local 168 RI.r_address = ARI.r_word0; in getRelocationInfo() 169 RI.r_symbolnum = ARI.r_word1 & 0xffffff; in getRelocationInfo() 170 RI.r_pcrel = (ARI.r_word1 >> 24) & 1; in getRelocationInfo() 171 RI.r_length = (ARI.r_word1 >> 25) & 3; in getRelocationInfo() 172 RI.r_extern = (ARI.r_word1 >> 27) & 1; in getRelocationInfo() 173 RI.r_type = (ARI.r_word1 >> 28); in getRelocationInfo() 174 return RI; in getRelocationInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-diff/ |
| H A D | DifferenceEngine.cpp | 194 BasicBlock::iterator RI = R->begin(); in diff() local 197 assert(LI != LE && RI != R->end()); in diff() 198 Instruction *LeftI = &*LI, *RightI = &*RI; in diff() 212 ++RI; in diff() 218 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff() 219 unify(&*LI, &*RI); in diff() 223 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI); 277 InvokeInst &RI = cast<InvokeInst>(*R); in diff() local 278 if (diffCallSites(LI, RI, Complain)) in diff() 282 tryUnify(LI.getNormalDest(), RI.getNormalDest()); in diff() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | DwarfEHPrepare.cpp | 62 Value *GetExceptionObject(ResumeInst *RI); 86 Value *DwarfEHPrepare::GetExceptionObject(ResumeInst *RI) { in GetExceptionObject() argument 87 Value *V = RI->getOperand(0); in GetExceptionObject() 107 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", RI); in GetExceptionObject() 109 RI->eraseFromParent(); in GetExceptionObject() 130 for (auto *RI : Resumes) { in pruneUnreachableResumes() local 132 if (isPotentiallyReachable(LP, RI, nullptr, &DTU->getDomTree())) { in pruneUnreachableResumes() 149 ResumeInst *RI = Resumes[I]; in pruneUnreachableResumes() local 151 Resumes[ResumesLeft++] = RI; in pruneUnreachableResumes() 153 BasicBlock *BB = RI->getParent(); in pruneUnreachableResumes() [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 | 290 for (GCFunctionInfo::roots_iterator RI = FI->roots_begin(); in FindStackOffsets() local 291 RI != FI->roots_end();) { in FindStackOffsets() 293 if (MF.getFrameInfo().isDeadObjectIndex(RI->Num)) { in FindStackOffsets() 294 RI = FI->removeStackRoot(RI); in FindStackOffsets() 298 auto FrameOffset = TFI->getFrameIndexReference(MF, RI->Num, FrameReg); in FindStackOffsets() 301 RI->StackOffset = FrameOffset.getFixed(); in FindStackOffsets() 302 ++RI; in FindStackOffsets()
|
| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 179 CHRScope(RegInfo RI) : BranchInsertPoint(nullptr) { in CHRScope() argument 180 assert(RI.R && "Null RegionIn"); in CHRScope() 181 RegInfos.push_back(RI); in CHRScope() 232 for (RegInfo &RI : RegInfos) in addSub() 233 if (RI.R == SubIn->getParentRegion()) { in addSub() 249 RegInfos, [&Boundary](const RegInfo &RI) { return Boundary == RI.R; }); in split() argument 254 for (const RegInfo &RI : TailRegInfos) in split() local 255 TailRegionSet.insert(RI.R); in split() 266 [&Parent](const RegInfo &RI) { return Parent == RI.R; }) && in split() argument 281 for (const RegInfo &RI : RegInfos) in contains() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/ |
| H A D | LanaiDelaySlotFiller.cpp | 107 MachineBasicBlock::reverse_instr_iterator RI = ++I.getReverse(); in runOnMachineBasicBlock() local 108 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() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | RegionPrinter.cpp | 120 for (const auto &RI : R) in printRegionCluster() local 121 printRegionCluster(*RI, GW, depth + 1); in printRegionCluster() 123 const RegionInfo &RI = *static_cast<const RegionInfo*>(R.getRegionInfo()); in printRegionCluster() local 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() [all …]
|
| H A D | RegionInfo.cpp | 62 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | MCInstrDesc.cpp | 22 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/ |
| H A D | Object.h | 182 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);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 66 RI(ST), ST(ST) { in SIInstrInfo() 506 const SIRegisterInfo &RI = TII.getRegisterInfo(); in indirectCopyToAGPR() local 514 if (!Def->definesRegister(SrcReg, &RI)) in indirectCopyToAGPR() 527 if (I->modifiesRegister(DefOp.getReg(), &RI)) in indirectCopyToAGPR() 555 unsigned MaxVGPRs = RI.getRegPressureLimit(&AMDGPU::VGPR_32RegClass, in indirectCopyToAGPR() 572 if (!Tmp2 || RI.getHWRegIndex(Tmp2) >= MaxVGPRs) in indirectCopyToAGPR() 606 const SIRegisterInfo &RI = TII.getRegisterInfo(); in expandSGPRCopy() local 607 ArrayRef<int16_t> BaseIndices = RI.getRegSplitParts(RC, 4); in expandSGPRCopy() 613 Register Reg = RI.getSubReg(DestReg, SubIdx); in expandSGPRCopy() 617 Register Src = RI.getSubReg(SrcReg, SubIdx); in expandSGPRCopy() [all …]
|
| H A D | AMDGPURewriteOutArguments.cpp | 248 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() 288 MemoryLocation::getBeforeOrAfter(OutArg), true, BB->end(), BB, RI); 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() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | RegionIterator.h | 332 static NodeRef getEntryNode(RegionInfo *RI) { 333 return GraphTraits<FlatIt<Region*>>::getEntryNode(RI->getTopLevelRegion()); 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()); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonAsmPrinter.cpp | 67 const MCRegisterInfo *RI) { in getHexagonRegisterPair() argument 69 MCSuperRegIterator SR(Reg, RI, false); in getHexagonRegisterPair() 268 const MCRegisterInfo *RI = OutStreamer->getContext().getRegisterInfo(); in HexagonProcessInstruction() local 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() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCChecker.cpp | 79 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() 513 Twine(RI.getName(Register)) + "'"); in checkRegistersReadOnly() 542 for (auto K = MCRegAliasIterator(I.getOperand(J).getReg(), &RI, true); in registerProducer() 567 reportWarning("Register `" + Twine(RI.getName(Register)) + in checkRegisterCurDefs() 592 unsigned BadR = RI.isSubRegister(Hexagon::USR, R) ? UsrR : R; in checkRegisters() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 159 void forwardResume(ResumeInst *RI, 219 ResumeInst *RI, SmallPtrSetImpl<LandingPadInst *> &InlinedLPads) { in forwardResume() argument 221 BasicBlock *Src = RI->getParent(); in forwardResume() 229 InnerEHValuesPHI->addIncoming(RI->getOperand(0), Src); in forwardResume() 230 RI->eraseFromParent(); in forwardResume() 647 if (ResumeInst *RI = dyn_cast<ResumeInst>(BB->getTerminator())) in HandleInlinedLandingPad() local 648 Invoke.forwardResume(RI, InlinedLPads); in HandleInlinedLandingPad() 1222 auto *RI = dyn_cast<ReturnInst>(BB.getTerminator()); in AddReturnAttributes() local 1223 if (!RI || !isa<CallBase>(RI->getOperand(0))) in AddReturnAttributes() 1225 auto *RetVal = cast<CallBase>(RI->getOperand(0)); in AddReturnAttributes() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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
|