/external/llvm/lib/CodeGen/ |
ELFCodeEmitter.cpp | 92 MachineRelocation &MR = *MRI; 93 uintptr_t MBBOffset = getMachineBasicBlockAddress(MR.getBasicBlock()); 94 MR.setResultPointer((void*)MBBOffset); 95 MR.setConstantVal(ES->SectionIdx); 96 JTSection.addRelocation(MR); 104 MachineRelocation &MR = Relocations[i]; 106 if (MR.isGlobalValue()) { 107 EW.AddPendingGlobalSymbol(MR.getGlobalValue()); 108 } else if (MR.isExternalSymbol()) { 109 EW.AddPendingExternalSymbol(MR.getExternalSymbol()) [all...] |
ELFCodeEmitter.h | 44 void addRelocation(const MachineRelocation &MR) { 45 Relocations.push_back(MR);
|
ELFWriter.cpp | 597 MachineRelocation MR = 607 GblS.addRelocation(MR); 774 MachineRelocation &MR = *MRI; 777 unsigned RelOffset = MR.getMachineCodeOffset(); 783 unsigned RelType = TEW->getRelocationType(MR.getRelocationType()); 789 if (MR.isGlobalValue()) { 790 const GlobalValue *G = MR.getGlobalValue(); 791 int64_t GlobalOffset = MR.getConstantVal(); 802 } else if (MR.isExternalSymbol()) { 803 const char *ExtSym = MR.getExternalSymbol() [all...] |
/external/llvm/lib/Target/ARM/ |
ARMJITInfo.cpp | 239 intptr_t ARMJITInfo::resolveRelocDestAddr(MachineRelocation *MR) const { 240 ARM::RelocationType RT = (ARM::RelocationType)MR->getRelocationType(); 243 return (intptr_t)(MR->getResultPointer()); 246 return (intptr_t)(MR->getResultPointer()) - MR->getConstantVal(); 249 return getJumpTableBaseAddr(MR->getJumpTableIndex()); 254 return getConstantPoolEntryAddr(MR->getConstantPoolIndex()); 256 ARMConstantPoolValue *ACPV = (ARMConstantPoolValue*)MR->getConstantVal(); 259 intptr_t Addr = (intptr_t)(MR->getResultPointer()); 269 void ARMJITInfo::relocate(void *Function, MachineRelocation *MR, [all...] |
ARMJITInfo.h | 80 virtual void relocate(void *Function, MachineRelocation *MR, 179 intptr_t resolveRelocDestAddr(MachineRelocation *MR) const;
|
/external/llvm/lib/Target/Mips/ |
MipsJITInfo.cpp | 195 void MipsJITInfo::relocate(void *Function, MachineRelocation *MR, 197 for (unsigned i = 0; i != NumRelocs; ++i, ++MR) { 199 void *RelocPos = (char*) Function + MR->getMachineCodeOffset(); 200 intptr_t ResultPtr = (intptr_t) MR->getResultPointer(); 202 switch ((Mips::RelocationType) MR->getRelocationType()) { 215 if ((((intptr_t) (MR->getResultPointer()) & 0xffff) >> 15) == 1) {
|
MipsJITInfo.h | 59 virtual void relocate(void *Function, MachineRelocation *MR,
|
/external/llvm/lib/Target/PowerPC/ |
PPCJITInfo.h | 37 virtual void relocate(void *Function, MachineRelocation *MR,
|
PPCJITInfo.cpp | 114 "mr r3, r0\n" 177 "mr 3, 0\n" 257 "mr 3, 0\n" // return address (still in r0) 410 void PPCJITInfo::relocate(void *Function, MachineRelocation *MR, 412 for (unsigned i = 0; i != NumRelocs; ++i, ++MR) { 413 unsigned *RelocPos = (unsigned*)Function + MR->getMachineCodeOffset()/4; 414 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); 415 switch ((PPC::RelocationType)MR->getRelocationType()) { 434 ResultPtr += MR->getConstantVal(); 437 if (MR->getRelocationType() == PPC::reloc_absolute_high) [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
SubEngine.h | 113 const MemRegion* MR) { 114 return processRegionChanges(state, 0, MR, MR);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
IteratorsChecker.cpp | 126 const MemRegion *MR, 131 const MemRegion *MR, 231 const MemRegion *MR, const MemberExpr *ME) const { 241 if (RS.getMemRegion() == MR) 258 const MemRegion *MR = sv.getAsRegion(); 259 if (!MR) 265 return invalidateIterators(state, MR, 0); 270 return handleAssign(state, MR, rexp, LC); 275 const MemRegion *MR, const Expr *rexp, const LocationContext *LC) const { 277 state = state->set<IteratorState>(MR, RefState::getUnknown()) [all...] |
CStringChecker.cpp | 103 const MemRegion *MR, 108 const MemRegion *MR, 126 const MemRegion *MR); 589 const MemRegion *MR, 593 MR = MR->StripCasts(); 595 switch (MR->getKind()) { 623 return state->remove<CStringLength>(MR); 625 return state->set<CStringLength>(MR, strLength); 631 const MemRegion *MR, [all...] |
MallocChecker.cpp | 113 static bool SummarizeRegion(raw_ostream &os, const MemRegion *MR); 383 const MemRegion *MR) { 384 switch (MR->getKind()) { 386 const FunctionDecl *FD = cast<FunctionTextRegion>(MR)->getDecl(); 401 const MemSpaceRegion *MS = MR->getMemorySpace(); 405 const VarRegion *VR = dyn_cast<VarRegion>(MR); 419 const VarRegion *VR = dyn_cast<VarRegion>(MR); 434 const VarRegion *VR = dyn_cast<VarRegion>(MR); 466 const MemRegion *MR = ArgVal.getAsRegion(); 467 if (MR) { [all...] |
/external/llvm/lib/Analysis/ |
AliasAnalysisCounter.cpp | 33 unsigned NoMR, JustRef, JustMod, MR; 40 NoMR = JustRef = JustMod = MR = 0; 49 unsigned MRSum = NoMR+JustRef+JustMod+MR; 70 printLine("mod/ref", MR, MRSum); 73 << "%/" << MR*100/MRSum <<"%\n\n"; 163 case ModRef: MR++; MRString = "ModRef"; break;
|
/external/llvm/include/llvm/Target/ |
TargetJITInfo.h | 107 virtual void relocate(void *Function, MachineRelocation *MR,
|
/external/llvm/lib/Target/X86/ |
X86JITInfo.h | 66 virtual void relocate(void *Function, MachineRelocation *MR,
|
X86JITInfo.cpp | 533 void X86JITInfo::relocate(void *Function, MachineRelocation *MR, 535 for (unsigned i = 0; i != NumRelocs; ++i, ++MR) { 536 void *RelocPos = (char*)Function + MR->getMachineCodeOffset(); 537 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); 538 switch ((X86::RelocationType)MR->getRelocationType()) { 542 ResultPtr = ResultPtr -(intptr_t)RelocPos - 4 - MR->getConstantVal(); 549 ResultPtr = ResultPtr - ((intptr_t)Function + MR->getConstantVal());
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 417 virtual void addRelocation(const MachineRelocation &MR) { 418 Relocations.push_back(MR); 842 MachineRelocation &MR = Relocations[i]; 844 if (!MR.letTargetResolve()) { 845 if (MR.isExternalSymbol()) { 846 ResultPtr = TheJIT->getPointerToNamedFunction(MR.getExternalSymbol(), 848 DEBUG(dbgs() << "JIT: Map \'" << MR.getExternalSymbol() << "\' to [" 852 if (MR.mayNeedFarStub()) { 855 } else if (MR.isGlobalValue()) { 856 ResultPtr = getPointerToGlobal(MR.getGlobalValue() [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
SymbolManager.cpp | 318 bool SymbolReaper::isLiveRegion(const MemRegion *MR) { 319 if (RegionRoots.count(MR)) 322 MR = MR->getBaseRegion(); 324 if (const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(MR)) 327 if (const VarRegion *VR = dyn_cast<VarRegion>(MR)) 334 if (isa<AllocaRegion>(MR)) 337 if (isa<CXXThisRegion>(MR)) 340 if (isa<MemSpaceRegion>(MR))
|
ExprEngineCallAndReturn.cpp | 76 if (const MemRegion *MR = Call.getInstanceMessageReceiver(LC).getAsRegion()) 77 RegionsToInvalidate.push_back(MR);
|
ProgramState.cpp | 117 const MemRegion *MR = LV.getAsRegion(); 118 if (MR && Mgr.getOwningEngine()) 119 return Mgr.getOwningEngine()->processRegionChange(newState, MR);
|
/frameworks/compile/libbcc/lib/CodeGen/ |
CodeEmitter.cpp | [all...] |
CodeEmitter.h | 203 virtual void addRelocation(const llvm::MachineRelocation &MR) { 204 mRelocations.push_back(MR);
|
/external/opencv/cxcore/src/ |
cxmean.cpp | 241 IPCVAPI_IMPL( CvStatus, icvMean_##flavor##_C##cn##MR, \ 272 IPCVAPI_IMPL( CvStatus, icvMean_##flavor##_C##cn##MR, \ 378 CV_DEF_INIT_BIG_FUNC_TAB_2D( Mean, MR )
|
/external/llvm/include/llvm/CodeGen/ |
MachineCodeEmitter.h | 300 virtual void addRelocation(const MachineRelocation &MR) = 0;
|