/external/capstone/ |
D | MCRegisterInfo.c | 28 void MCRegisterInfo_InitMCRegisterInfo(MCRegisterInfo *RI, in MCRegisterInfo_InitMCRegisterInfo() argument 38 RI->Desc = D; in MCRegisterInfo_InitMCRegisterInfo() 39 RI->NumRegs = NR; in MCRegisterInfo_InitMCRegisterInfo() 40 RI->RAReg = RA; in MCRegisterInfo_InitMCRegisterInfo() 41 RI->PCReg = PC; in MCRegisterInfo_InitMCRegisterInfo() 42 RI->Classes = C; in MCRegisterInfo_InitMCRegisterInfo() 43 RI->DiffLists = DL; in MCRegisterInfo_InitMCRegisterInfo() 44 RI->RegStrings = Strings; in MCRegisterInfo_InitMCRegisterInfo() 45 RI->NumClasses = NC; in MCRegisterInfo_InitMCRegisterInfo() 46 RI->RegUnitRoots = RURoots; in MCRegisterInfo_InitMCRegisterInfo() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86GenRegisterInfo.inc | 1173 static inline void InitX86MCRegisterInfo(MCRegisterInfo *RI, unsigned RA, unsigned DwarfFlavour = 0… 1174 RI->InitMCRegisterInfo(X86RegDesc, 160, RA, X86MCRegisterClasses, 40); 1181 RI->mapDwarfRegToLLVMReg(41, X86::MM0, false ); 1182 RI->mapDwarfRegToLLVMReg(42, X86::MM1, false ); 1183 RI->mapDwarfRegToLLVMReg(43, X86::MM2, false ); 1184 RI->mapDwarfRegToLLVMReg(44, X86::MM3, false ); 1185 RI->mapDwarfRegToLLVMReg(45, X86::MM4, false ); 1186 RI->mapDwarfRegToLLVMReg(46, X86::MM5, false ); 1187 RI->mapDwarfRegToLLVMReg(47, X86::MM6, false ); 1188 RI->mapDwarfRegToLLVMReg(48, X86::MM7, false ); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 55 Value *GetExceptionObject(ResumeInst *RI); 103 Value *DwarfEHPrepare::GetExceptionObject(ResumeInst *RI) { in GetExceptionObject() argument 104 Value *V = RI->getOperand(0); in GetExceptionObject() 124 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", RI); in GetExceptionObject() 126 RI->eraseFromParent(); in GetExceptionObject() 147 for (auto *RI : Resumes) { in pruneUnreachableResumes() local 149 if (isPotentiallyReachable(LP, RI, DT)) { in pruneUnreachableResumes() 168 ResumeInst *RI = Resumes[I]; in pruneUnreachableResumes() local 170 Resumes[ResumesLeft++] = RI; in pruneUnreachableResumes() 172 BasicBlock *BB = RI->getParent(); in pruneUnreachableResumes() [all …]
|
/external/llvm/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 46 Value *GetExceptionObject(ResumeInst *RI); 100 Value *DwarfEHPrepare::GetExceptionObject(ResumeInst *RI) { in GetExceptionObject() argument 101 Value *V = RI->getOperand(0); in GetExceptionObject() 121 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", RI); in GetExceptionObject() 123 RI->eraseFromParent(); in GetExceptionObject() 144 for (auto *RI : Resumes) { in pruneUnreachableResumes() local 146 if (isPotentiallyReachable(LP, RI, DT)) { in pruneUnreachableResumes() 165 ResumeInst *RI = Resumes[I]; in pruneUnreachableResumes() local 167 Resumes[ResumesLeft++] = RI; in pruneUnreachableResumes() 169 BasicBlock *BB = RI->getParent(); in pruneUnreachableResumes() [all …]
|
/external/swiftshader/third_party/LLVM/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 198 BasicBlock::iterator RI = R->begin(); in diff() local 203 assert(LI != LE && RI != R->end()); in diff() 204 Instruction *LeftI = &*LI, *RightI = &*RI; in diff() 217 ++LI, ++RI; in diff() 223 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff() 224 unify(&*LI, &*RI); in diff() 228 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI); 282 InvokeInst *RI = cast<InvokeInst>(R); in diff() local 283 if (diffCallSites(CallSite(LI), CallSite(RI), Complain)) in diff() 287 tryUnify(LI->getNormalDest(), RI->getNormalDest()); in diff() [all …]
|
/external/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 195 BasicBlock::iterator RI = R->begin(); in diff() local 198 assert(LI != LE && RI != R->end()); in diff() 199 Instruction *LeftI = &*LI, *RightI = &*RI; in diff() 213 ++RI; in diff() 219 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff() 220 unify(&*LI, &*RI); in diff() 224 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI); 278 InvokeInst *RI = cast<InvokeInst>(R); in diff() local 279 if (diffCallSites(CallSite(LI), CallSite(RI), Complain)) in diff() 283 tryUnify(LI->getNormalDest(), RI->getNormalDest()); in diff() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 195 BasicBlock::iterator RI = R->begin(); in diff() local 198 assert(LI != LE && RI != R->end()); in diff() 199 Instruction *LeftI = &*LI, *RightI = &*RI; in diff() 213 ++RI; in diff() 219 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff() 220 unify(&*LI, &*RI); in diff() 224 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI); 278 InvokeInst *RI = cast<InvokeInst>(R); in diff() local 279 if (diffCallSites(CallSite(LI), CallSite(RI), Complain)) in diff() 283 tryUnify(LI->getNormalDest(), RI->getNormalDest()); in diff() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineRegionInfo.h | 68 MachineRegionInfo* RI, 93 MachineRegionInfo RI; 102 return RI; 106 return RI; 148 static NodeType *getEntryNode(MachineRegionInfo *RI) { 149 return GraphTraits<FlatIt<MachineRegion*> >::getEntryNode(RI->getTopLevelRegion()); 151 static nodes_iterator nodes_begin(MachineRegionInfo* RI) { 152 return nodes_iterator::begin(getEntryNode(RI)); 154 static nodes_iterator nodes_end(MachineRegionInfo *RI) { 155 return nodes_iterator::end(getEntryNode(RI)); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineRegionInfo.h | 65 MachineRegionInfo *RI, MachineDominatorTree *DT, 87 MachineRegionInfo RI; 95 MachineRegionInfo &getRegionInfo() { return RI; } 97 const MachineRegionInfo &getRegionInfo() const { return RI; } 143 static NodeRef getEntryNode(MachineRegionInfo *RI) { 145 RI->getTopLevelRegion()); 148 static nodes_iterator nodes_begin(MachineRegionInfo *RI) { 149 return nodes_iterator::begin(getEntryNode(RI)); 152 static nodes_iterator nodes_end(MachineRegionInfo *RI) { 153 return nodes_iterator::end(getEntryNode(RI)); [all …]
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/ |
D | stable_sort.pass.cpp | 25 template <class RI> 27 test_sort_helper(RI f, RI l) in test_sort_helper() 29 typedef typename std::iterator_traits<RI>::value_type value_type; in test_sort_helper() 30 typedef typename std::iterator_traits<RI>::difference_type difference_type; in test_sort_helper() 46 template <class RI> 48 test_sort_driver_driver(RI f, RI l, int start, RI real_last) in test_sort_driver_driver() 50 for (RI i = l; i > f + start;) in test_sort_driver_driver() 62 template <class RI> 64 test_sort_driver(RI f, RI l, int start) in test_sort_driver()
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/ |
D | sort.pass.cpp | 25 template <class RI> 27 test_sort_helper(RI f, RI l) in test_sort_helper() 29 typedef typename std::iterator_traits<RI>::value_type value_type; in test_sort_helper() 30 typedef typename std::iterator_traits<RI>::difference_type difference_type; in test_sort_helper() 46 template <class RI> 48 test_sort_driver_driver(RI f, RI l, int start, RI real_last) in test_sort_driver_driver() 50 for (RI i = l; i > f + start;) in test_sort_driver_driver() 62 template <class RI> 64 test_sort_driver(RI f, RI l, int start) in test_sort_driver()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | IListIteratorTest.cpp | 21 simple_ilist<Node>::reverse_iterator RI; in TEST() local 26 EXPECT_EQ(nullptr, RI.getNodePtr()); in TEST() 32 EXPECT_EQ(RI, RI); in TEST() 33 EXPECT_EQ(RI, CRI); in TEST() 34 EXPECT_EQ(CRI, RI); in TEST() 36 EXPECT_EQ(I, RI.getReverse()); in TEST() 37 EXPECT_EQ(RI, I.getReverse()); in TEST() 53 simple_ilist<Node>::reverse_iterator RI; in TEST() local 56 EXPECT_NE(RI, L.rbegin()); in TEST() 57 EXPECT_NE(RI, L.rend()); in TEST() [all …]
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiDelaySlotFiller.cpp | 108 MachineBasicBlock::reverse_instr_iterator RI(I); in runOnMachineBasicBlock() local 109 assert(RI->getOpcode() == Lanai::LDW_RI && RI->getOperand(0).isReg() && in runOnMachineBasicBlock() 110 RI->getOperand(0).getReg() == Lanai::FP && in runOnMachineBasicBlock() 111 RI->getOperand(1).isReg() && in runOnMachineBasicBlock() 112 RI->getOperand(1).getReg() == Lanai::FP && in runOnMachineBasicBlock() 113 RI->getOperand(2).isImm() && RI->getOperand(2).getImm() == -8); in runOnMachineBasicBlock() 114 ++RI; in runOnMachineBasicBlock() 115 assert(RI->getOpcode() == Lanai::ADD_I_LO && in runOnMachineBasicBlock() 116 RI->getOperand(0).isReg() && in runOnMachineBasicBlock() 117 RI->getOperand(0).getReg() == Lanai::SP && in runOnMachineBasicBlock() [all …]
|
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/ |
D | find_first_of.pass.cpp | 30 typedef random_access_iterator<int*> RI; in test_constexpr() typedef 36 …&& (std::find_first_of(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ia)), RI(std::end(ia)))… in test_constexpr() 37 …&& (std::find_first_of(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ib)), RI(std::end(ib)))… in test_constexpr()
|
D | find_first_of_pred.pass.cpp | 32 typedef random_access_iterator<int*> RI; in test_constexpr() typedef 38 …&& (std::find_first_of(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ia)), RI(std::end(ia)),… in test_constexpr() 39 …&& (std::find_first_of(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ib)), RI(std::end(ib)),… in test_constexpr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiDelaySlotFiller.cpp | 108 MachineBasicBlock::reverse_instr_iterator RI = ++I.getReverse(); in runOnMachineBasicBlock() local 109 assert(RI->getOpcode() == Lanai::LDW_RI && RI->getOperand(0).isReg() && in runOnMachineBasicBlock() 110 RI->getOperand(0).getReg() == Lanai::FP && in runOnMachineBasicBlock() 111 RI->getOperand(1).isReg() && in runOnMachineBasicBlock() 112 RI->getOperand(1).getReg() == Lanai::FP && in runOnMachineBasicBlock() 113 RI->getOperand(2).isImm() && RI->getOperand(2).getImm() == -8); in runOnMachineBasicBlock() 114 ++RI; in runOnMachineBasicBlock() 115 assert(RI->getOpcode() == Lanai::ADD_I_LO && in runOnMachineBasicBlock() 116 RI->getOperand(0).isReg() && in runOnMachineBasicBlock() 117 RI->getOperand(0).getReg() == Lanai::SP && in runOnMachineBasicBlock() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
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 …]
|
/external/llvm/lib/Analysis/ |
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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
D | Object.h | 72 void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI); 74 LLVMRelocationIteratorRef RI); 75 void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI); 84 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI); 85 LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI); 86 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI); 89 const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI); 90 const char *LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI);
|
/external/llvm/include/llvm-c/ |
D | Object.h | 72 void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI); 74 LLVMRelocationIteratorRef RI); 75 void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI); 84 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI); 85 LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI); 86 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI); 89 const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI); 90 const char *LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI);
|
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/ |
D | find_end.pass.cpp | 30 typedef random_access_iterator<int*> RI; in test_constexpr() typedef 36 …&& (std::find_end(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ia)), RI(std::end(ia))) == R… in test_constexpr() 37 …&& (std::find_end(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ib)), RI(std::end(ib))) == R… in test_constexpr()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | RegionPrinter.cpp | 74 GraphTraits<RegionInfo*>::ChildIteratorType CI, RegionInfo *RI) { in getEdgeAttributes() 85 Region *R = RI->getRegionFor(destBB); in getEdgeAttributes() 119 for (Region::const_iterator RI = R->begin(), RE = R->end(); RI != RE; ++RI) in printRegionCluster() local 120 printRegionCluster(*RI, GW, depth + 1); in printRegionCluster() 122 RegionInfo *RI = R->getRegionInfo(); in printRegionCluster() local 127 if (RI->getRegionFor(BB) == R) in printRegionCluster() 129 << static_cast<const void*>(RI->getTopLevelRegion()->getBBNode(BB)) in printRegionCluster() 136 static void addCustomGraphFeatures(const RegionInfo* RI, in addCustomGraphFeatures() 140 printRegionCluster(RI->getTopLevelRegion(), GW, 4); in addCustomGraphFeatures()
|
/external/llvm/utils/TableGen/ |
D | CodeGenSchedule.cpp | 318 for (RecIter RI = RWDefs.begin(), RE = RWDefs.end(); in collectSchedRW() 319 RI != RE; ++RI) { in collectSchedRW() 320 if (!getSchedRWIdx(*RI, (*RI)->isSubClassOf("SchedRead"))) { in collectSchedRW() 321 const std::string &Name = (*RI)->getName(); in collectSchedRW() 323 dbgs() << "Unused SchedReadWrite " << (*RI)->getName() << '\n'; in collectSchedRW() 394 for (RecIter RI = RWDefs.begin(), RE = RWDefs.end(); RI != RE; ++RI) { in findRWs() local 395 unsigned Idx = getSchedRWIdx(*RI, IsRead); in findRWs() 556 for (IdxIter RI = SC.Reads.begin(), RE = SC.Reads.end(); RI != RE; ++RI) in collectSchedClasses() local 557 dbgs() << " " << SchedReads[*RI].Name; in collectSchedClasses() 573 for (IdxIter RI = Reads.begin(), RE = Reads.end(); RI != RE; ++RI) in collectSchedClasses() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCInstrDesc.cpp | 34 const MCRegisterInfo &RI) const { in mayAffectControlFlow() 37 unsigned PC = RI.getProgramCounter(); in mayAffectControlFlow() 40 if (hasDefOfPhysReg(MI, PC, RI)) in mayAffectControlFlow() 48 RI.isSubRegisterEq(PC, MI.getOperand(i).getReg())) in mayAffectControlFlow() 64 const MCRegisterInfo &RI) const { in hasDefOfPhysReg() 67 RI.isSubRegisterEq(Reg, MI.getOperand(i).getReg())) in hasDefOfPhysReg() 69 return hasImplicitDefOfPhysReg(Reg, &RI); in hasDefOfPhysReg()
|
/external/llvm/lib/MC/ |
D | MCInstrDesc.cpp | 34 const MCRegisterInfo &RI) const { in mayAffectControlFlow() 37 unsigned PC = RI.getProgramCounter(); in mayAffectControlFlow() 40 if (hasDefOfPhysReg(MI, PC, RI)) in mayAffectControlFlow() 48 RI.isSubRegisterEq(PC, MI.getOperand(i).getReg())) in mayAffectControlFlow() 64 const MCRegisterInfo &RI) const { in hasDefOfPhysReg() 67 RI.isSubRegisterEq(Reg, MI.getOperand(i).getReg())) in hasDefOfPhysReg() 69 return hasImplicitDefOfPhysReg(Reg, &RI); in hasDefOfPhysReg()
|