Home
last modified time | relevance | path

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

123456789

/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp41 Value *GetExceptionObject(ResumeInst *RI);
69 Value *DwarfEHPrepare::GetExceptionObject(ResumeInst *RI) { in GetExceptionObject() argument
70 Value *V = RI->getOperand(0); in GetExceptionObject()
90 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", RI); in GetExceptionObject()
92 RI->eraseFromParent(); in GetExceptionObject()
112 if (ResumeInst *RI = dyn_cast<ResumeInst>(TI)) in InsertUnwindResumeCalls() local
113 Resumes.push_back(RI); in InsertUnwindResumeCalls()
136 ResumeInst *RI = Resumes.front(); in InsertUnwindResumeCalls() local
137 BasicBlock *UnwindBB = RI->getParent(); in InsertUnwindResumeCalls()
138 Value *ExnObj = GetExceptionObject(RI); in InsertUnwindResumeCalls()
[all …]
DGCMetadata.cpp148 for (GCFunctionInfo::roots_iterator RI = FD->roots_begin(), in runOnFunction() local
149 RE = FD->roots_end(); RI != RE; ++RI) in runOnFunction()
150 OS << "\t" << RI->Num << "\t" << RI->StackOffset << "[sp]\n"; in runOnFunction()
159 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI), in runOnFunction() local
161 OS << " " << RI->Num; in runOnFunction()
162 if (++RI == RE) in runOnFunction()
DPHIEliminationUtils.cpp37 for (MachineRegisterInfo::reg_iterator RI = MRI.reg_begin(SrcReg), in findPHICopyInsertPoint() local
38 RE = MRI.reg_end(); RI != RE; ++RI) { in findPHICopyInsertPoint()
39 MachineInstr* DefUseMI = &*RI; in findPHICopyInsertPoint()
DRegisterClassInfo.cpp157 RI = TRI->regclass_begin(), RE = TRI->regclass_end(); RI != RE; ++RI) { in computePSetLimit() local
158 const int *PSetID = TRI->getRegClassPressureSets(*RI); in computePSetLimit()
168 unsigned NUnits = TRI->getRegClassWeight(*RI).WeightLimit; in computePSetLimit()
170 RC = *RI; in computePSetLimit()
DStackProtector.cpp276 static void CreatePrologue(Function *F, Module *M, ReturnInst *RI, in CreatePrologue() argument
279 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in CreatePrologue()
283 ConstantInt::get(Type::getInt32Ty(RI->getContext()), Offset); in CreatePrologue()
322 ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator()); in InsertStackProtectors() local
323 if (!RI) continue; in InsertStackProtectors()
326 CreatePrologue(F, M, RI, TLI, Trip, AI, StackGuardVar); in InsertStackProtectors()
354 BasicBlock *NewBB = BB->splitBasicBlock(RI, "SP_return"); in InsertStackProtectors()
DMachineInstrBundle.cpp254 VirtRegInfo RI = { false, false, false }; in analyzeVirtReg() local
266 RI.Reads = true; in analyzeVirtReg()
268 RI.Tied = true; in analyzeVirtReg()
273 RI.Writes = true; in analyzeVirtReg()
274 else if (!RI.Tied && MO.getParent()->isRegTiedToDefOperand(getOperandNo())) in analyzeVirtReg()
275 RI.Tied = true; in analyzeVirtReg()
277 return RI; in analyzeVirtReg()
DGCStrategy.cpp391 for (GCFunctionInfo::roots_iterator RI = FI->roots_begin(); in FindStackOffsets() local
392 RI != FI->roots_end();) { in FindStackOffsets()
394 if (MF.getFrameInfo()->isDeadObjectIndex(RI->Num)) { in FindStackOffsets()
395 RI = FI->removeStackRoot(RI); in FindStackOffsets()
397 RI->StackOffset = TFI->getFrameIndexOffset(MF, RI->Num); in FindStackOffsets()
398 ++RI; in FindStackOffsets()
DTargetFrameLoweringImpl.cpp37 const TargetRegisterInfo *RI = MF.getTarget().getRegisterInfo(); in getFrameIndexReference() local
42 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp196 BasicBlock::iterator RI = R->begin(); in diff() local
201 assert(LI != LE && RI != R->end()); in diff()
202 Instruction *LeftI = &*LI, *RightI = &*RI; in diff()
215 ++LI, ++RI; in diff()
221 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff()
222 unify(&*LI, &*RI); in diff()
226 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI);
280 InvokeInst *RI = cast<InvokeInst>(R); in diff() local
281 if (diffCallSites(CallSite(LI), CallSite(RI), Complain)) in diff()
285 tryUnify(LI->getNormalDest(), RI->getNormalDest()); in diff()
[all …]
/external/llvm/include/llvm-c/
DObject.h72 void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI);
74 LLVMRelocationIteratorRef RI);
75 void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI);
85 uint64_t LLVMGetRelocationAddress(LLVMRelocationIteratorRef RI);
86 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI);
87 LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI);
88 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI);
91 const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI);
92 const char *LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI);
/external/llvm/lib/Analysis/
DRegionPrinter.cpp74 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
126 if (RI->getRegionFor(*BI) == R) in printRegionCluster()
128 << static_cast<const void*>(RI->getTopLevelRegion()->getBBNode(*BI)) in printRegionCluster()
134 static void addCustomGraphFeatures(const RegionInfo* RI, in addCustomGraphFeatures()
138 printRegionCluster(RI->getTopLevelRegion(), GW, 4); in addCustomGraphFeatures()
DRegionInfo.cpp57 : RegionNode(Parent, Entry, 1), RI(RInfo), DT(dt), exit(Exit) {} in Region()
92 for (Region::const_iterator RI = R->begin(), RE = R->end(); RI != RE; ++RI) in replaceEntryRecursive() local
93 if ((*RI)->getEntry() == OldEntry) in replaceEntryRecursive()
94 RegionQueue.push_back(*RI); in replaceEntryRecursive()
108 for (Region::const_iterator RI = R->begin(), RE = R->end(); RI != RE; ++RI) in replaceExitRecursive() local
109 if ((*RI)->getExit() == OldExit) in replaceExitRecursive()
110 RegionQueue.push_back(*RI); in replaceExitRecursive()
275 for (Region::const_iterator RI = begin(), RE = end(); RI != RE; ++RI) in verifyRegionNest() local
276 (*RI)->verifyRegionNest(); in verifyRegionNest()
298 Region *R = RI->getRegionFor(BB); in getSubRegionNode()
[all …]
DRegionPass.cpp34 RI = NULL; in RGPassManager()
54 RI = &getAnalysis<RegionInfo>(); in runOnFunction()
60 addRegionIntoQueue(RI->getTopLevelRegion(), RQ); in runOnFunction()
148 RI->clearNodeCache(); in runOnFunction()
161 RI->dump(); in runOnFunction()
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp79 RI = RegexList.begin(), RE = RegexList.end(); RI != RE; ++RI) { in apply() local
80 if ((*RI)->match((*I)->TheDef->getName())) in apply()
323 for (RecIter RI = RWDefs.begin(), RE = RWDefs.end(); in collectSchedRW()
324 RI != RE; ++RI) { in collectSchedRW()
325 if (!getSchedRWIdx(*RI, (*RI)->isSubClassOf("SchedRead"))) { in collectSchedRW()
326 const std::string &Name = (*RI)->getName(); in collectSchedRW()
328 dbgs() << "Unused SchedReadWrite " << (*RI)->getName() << '\n'; in collectSchedRW()
399 for (RecIter RI = RWDefs.begin(), RE = RWDefs.end(); RI != RE; ++RI) { in findRWs() local
400 unsigned Idx = getSchedRWIdx(*RI, IsRead); in findRWs()
563 for (IdxIter RI = SC.Reads.begin(), RE = SC.Reads.end(); RI != RE; ++RI) in collectSchedClasses() local
[all …]
/external/llvm/lib/MC/
DMCObjectSymbolizer.cpp37 AddrToRelocMap::iterator RI = AddrToReloc.find(Address); in tryAddingPcLoadReferenceComment() local
38 if (RI != AddrToReloc.end()) { in tryAddingPcLoadReferenceComment()
39 const MCExpr *RelExpr = RelInfo->createExprForRelocation(RI->second); in tryAddingPcLoadReferenceComment()
84 for (relocation_iterator RI = SI->begin_relocations(), in MCObjectSymbolizer() local
86 RI != RE; in MCObjectSymbolizer()
87 RI.increment(ec)) { in MCObjectSymbolizer()
100 RI->getOffset(Offset); in MCObjectSymbolizer()
103 RI->getAddress(Offset); in MCObjectSymbolizer()
106 RI->getOffset(Offset); in MCObjectSymbolizer()
111 AddrToReloc[Offset] = *RI; in MCObjectSymbolizer()
[all …]
/external/llvm/lib/Object/
DObject.cpp207 uint64_t LLVMGetRelocationAddress(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationAddress() argument
209 if (error_code ec = (*unwrap(RI))->getAddress(ret)) in LLVMGetRelocationAddress()
214 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationOffset() argument
216 if (error_code ec = (*unwrap(RI))->getOffset(ret)) in LLVMGetRelocationOffset()
221 LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationSymbol() argument
222 symbol_iterator ret = (*unwrap(RI))->getSymbol(); in LLVMGetRelocationSymbol()
226 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationType() argument
228 if (error_code ec = (*unwrap(RI))->getType(ret)) in LLVMGetRelocationType()
234 const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI) { in LLVMGetRelocationTypeName() argument
236 if (error_code ec = (*unwrap(RI))->getTypeName(ret)) in LLVMGetRelocationTypeName()
[all …]
/external/clang/lib/ARCMigrate/
DPlistReporter.cpp112 RI = D.range_begin(), RE = D.range_end(); RI != RE; ++RI) { in writeARCDiagsToPlist() local
113 AddFID(FM, Fids, SM, RI->getBegin()); in writeARCDiagsToPlist()
114 AddFID(FM, Fids, SM, RI->getEnd()); in writeARCDiagsToPlist()
177 StoredDiagnostic::range_iterator RI = D.range_begin(), RE = D.range_end(); in writeARCDiagsToPlist() local
179 if (RI != RE) { in writeARCDiagsToPlist()
182 for (; RI != RE; ++RI) in writeARCDiagsToPlist()
183 EmitRange(o, SM, LangOpts, *RI, FM, 4); in writeARCDiagsToPlist()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h267 bool mayAffectControlFlow(const MCInst &MI, const MCRegisterInfo &RI) const { in mayAffectControlFlow() argument
270 unsigned PC = RI.getProgramCounter(); in mayAffectControlFlow()
273 if (hasDefOfPhysReg(MI, PC, RI)) in mayAffectControlFlow()
281 RI.isSubRegisterEq(PC, MI.getOperand(i).getReg())) in mayAffectControlFlow()
539 const MCRegisterInfo &RI) const { in hasDefOfPhysReg() argument
542 RI.isSubRegisterEq(Reg, MI.getOperand(i).getReg())) in hasDefOfPhysReg()
544 return hasImplicitDefOfPhysReg(Reg, &RI); in hasDefOfPhysReg()
DMCRegisterInfo.h561 MCRegUnitIterator RI; variable
570 for (RI = MCRegUnitIterator(Reg, MCRI); RI.isValid(); ++RI) { in MCRegAliasIterator()
571 for (RRI = MCRegUnitRootIterator(*RI, MCRI); RRI.isValid(); ++RRI) { in MCRegAliasIterator()
581 return RI.isValid(); in isValid()
600 ++RI; in advance()
601 if (RI.isValid()) { in advance()
602 RRI = MCRegUnitRootIterator(*RI, MCRI); in advance()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp109 bool ProcessReturningBlock(ReturnInst *RI, BasicBlock *&OldEntry,
306 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { in isDynamicConstant() argument
328 if (BasicBlock *UniquePred = RI->getParent()->getUniquePredecessor()) in isDynamicConstant()
331 return SI->getDefaultDest() != RI->getParent(); in isDynamicConstant()
346 ReturnInst *RI = dyn_cast<ReturnInst>(BBI->getTerminator()); in getCommonReturnValue() local
347 if (RI == 0 || RI == IgnoreRI) continue; in getCommonReturnValue()
353 Value *RetOp = RI->getOperand(0); in getCommonReturnValue()
354 if (!isDynamicConstant(RetOp, CI, RI)) in getCommonReturnValue()
607 if (ReturnInst *RI = dyn_cast<ReturnInst>(BBI->getTerminator())) in EliminateRecursiveTailCall() local
608 RI->setOperand(0, AccPN); in EliminateRecursiveTailCall()
/external/llvm/lib/Target/X86/
DX86InstrExtension.td31 def CDQE : RI<0x98, RawFrm, (outs), (ins),
35 def CQO : RI<0x99, RawFrm, (outs), (ins),
113 def MOVSX64rr8 : RI<0xBE, MRMSrcReg, (outs GR64:$dst), (ins GR8 :$src),
117 def MOVSX64rm8 : RI<0xBE, MRMSrcMem, (outs GR64:$dst), (ins i8mem :$src),
121 def MOVSX64rr16: RI<0xBF, MRMSrcReg, (outs GR64:$dst), (ins GR16:$src),
125 def MOVSX64rm16: RI<0xBF, MRMSrcMem, (outs GR64:$dst), (ins i16mem:$src),
129 def MOVSX64rr32: RI<0x63, MRMSrcReg, (outs GR64:$dst), (ins GR32:$src),
133 def MOVSX64rm32: RI<0x63, MRMSrcMem, (outs GR64:$dst), (ins i32mem:$src),
139 def MOVZX64rr8_Q : RI<0xB6, MRMSrcReg, (outs GR64:$dst), (ins GR8:$src),
142 def MOVZX64rm8_Q : RI<0xB6, MRMSrcMem, (outs GR64:$dst), (ins i8mem:$src),
[all …]
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp85 void forwardResume(ResumeInst *RI,
144 void InvokeInliningInfo::forwardResume(ResumeInst *RI, in forwardResume() argument
148 BasicBlock *Src = RI->getParent(); in forwardResume()
156 InnerEHValuesPHI->addIncoming(RI->getOperand(0), Src); in forwardResume()
157 RI->eraseFromParent(); in forwardResume()
263 if (ResumeInst *RI = dyn_cast<ResumeInst>(BB->getTerminator())) in HandleInlinedInvoke() local
264 Invoke.forwardResume(RI, InlinedLPads); in HandleInlinedInvoke()
847 ReturnInst *RI = Returns[i]; in InlineFunction() local
848 assert(RI->getReturnValue()->getType() == PHI->getType() && in InlineFunction()
850 PHI->addIncoming(RI->getReturnValue(), RI->getParent()); in InlineFunction()
[all …]
/external/llvm/lib/Target/ARM/
DARMInstrInfo.h26 ARMRegisterInfo RI; variable
41 const ARMRegisterInfo &getRegisterInfo() const { return RI; } in getRegisterInfo()
/external/llvm/lib/Target/R600/
DAMDGPUInstrInfo.cpp31 : AMDGPUGenInstrInfo(0,0), RI(tm), TM(tm) { } in AMDGPUInstrInfo()
34 return RI; in getRegisterInfo()
230 const AMDGPURegisterInfo & RI = getRegisterInfo(); in convertToISA() local
238 const TargetRegisterClass * newRegClass = RI.getISARegClass(oldRegClass); in convertToISA()
/external/llvm/include/llvm/Analysis/
DRegionIterator.h329 static NodeType *getEntryNode(RegionInfo *RI) {
330 return GraphTraits<FlatIt<Region*> >::getEntryNode(RI->getTopLevelRegion());
332 static nodes_iterator nodes_begin(RegionInfo* RI) {
333 return nodes_iterator::begin(getEntryNode(RI));
335 static nodes_iterator nodes_end(RegionInfo *RI) {
336 return nodes_iterator::end(getEntryNode(RI));

123456789