/external/llvm/lib/Transforms/IPO/ |
FunctionAttrs.cpp | 207 AliasAnalysis::Location Loc(Arg, 210 if (!AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) { 232 AliasAnalysis::Location Loc = AA->getLocation(LI); 233 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) 239 AliasAnalysis::Location Loc = AA->getLocation(SI); 240 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) 245 AliasAnalysis::Location Loc = AA->getLocation(VI); 246 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) [all...] |
ArgumentPromotion.cpp | 469 AliasAnalysis::Location Loc = AA.getLocation(Load); 470 if (AA.canInstructionRangeModify(BB->front(), *Load, Loc)) 481 if (AA.canBasicBlockModify(**I, Loc)) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
DeadStoreElimination.cpp | 203 AliasAnalysis::Location Loc = AA.getLocationForDest(MI); 207 if (Loc.Size == AliasAnalysis::UnknownSize && DL == nullptr) 209 return Loc; 467 // If the read and written loc obviously don't alias, it isn't a read. 544 AliasAnalysis::Location Loc = getLocForWrite(Inst, *AA); 547 if (!Loc.Ptr) 552 // skip any instructions that 'Loc' clearly doesn't interact with. If we 565 // completely obliterated by the store to 'Loc', and c) which we know that 568 !isPossibleSelfRead(Inst, Loc, DepWrite, *AA)) { 570 OverwriteResult OR = isOverwrite(Loc, DepLoc, *AA [all...] |
/external/llvm/unittests/Transforms/Utils/ |
Cloning.cpp | 246 DebugLoc Loc = DebugLoc::get(3, 2, Subprogram); 247 IBuilder.SetCurrentDebugLocation(Loc);
|
/external/clang/lib/ARCMigrate/ |
TransformActions.cpp | 46 SourceLocation Loc; 134 void insert(SourceLocation loc, StringRef text); 135 void insertAfterToken(SourceLocation loc, StringRef text); 141 void replaceText(SourceLocation loc, StringRef text, 151 bool canInsert(SourceLocation loc); 152 bool canInsertAfterToken(SourceLocation loc); 155 bool canReplaceText(SourceLocation loc, StringRef text); 157 void commitInsert(SourceLocation loc, StringRef text); 158 void commitInsertAfterToken(SourceLocation loc, StringRef text); 162 void commitReplaceText(SourceLocation loc, StringRef text 559 SourceLocation loc = I->first; local [all...] |
/external/clang/lib/AST/ |
CommentParser.cpp | 132 SourceLocation Loc, 136 Result.setLocation(Loc); 163 SourceLocation Loc = getSourceLocation(); 183 formTokenWithChars(Tok, Loc, WordBegin, Length, Text); 196 SourceLocation Loc = getSourceLocation(); 228 formTokenWithChars(Tok, Loc, WordBegin, 542 SourceLocation Loc; 544 Loc = Tok.getLocation(); 549 Loc,
|
/external/clang/lib/Basic/ |
Diagnostic.cpp | 80 void DiagnosticsEngine::pushMappings(SourceLocation Loc) { 84 bool DiagnosticsEngine::popMappings(SourceLocation Loc) { 90 PushDiagStatePoint(DiagStateOnPushStack.back(), Loc); 143 assert(DiagStatePoints.front().Loc.isInvalid() && 149 FullSourceLoc Loc(L, *SourceMgr); 150 if (Loc.isInvalid()) 154 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 156 Loc.isBeforeInTranslationUnitThan(LastStateChangePos)) 158 DiagStatePoint(nullptr, Loc)); 173 FullSourceLoc Loc = SourceMgr? FullSourceLoc(L, *SourceMgr) : FullSourceLoc() [all...] |
/external/clang/lib/Frontend/ |
VerifyDiagnosticConsumer.cpp | 64 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 67 Verify.UpdateParsedFileStatus(SM, SM.getFileID(Loc), 127 SourceLocation Loc = Info.getLocation(); 128 if (Loc.isValid()) { 131 Loc = SrcManager->getExpansionLoc(Loc); 132 FileID FID = SrcManager->getFileID(Loc); 542 size_t loc = C.find('\\'); 543 if (loc == StringRef::npos) { 551 for (size_t last = 0;; loc = C.find('\\', last)) [all...] |
/external/clang/lib/Index/ |
CommentToXML.cpp | 899 SourceLocation Loc = DI->CurrentDecl->getLocation(); 900 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); [all...] |
/external/clang/lib/Lex/ |
Pragma.cpp | [all...] |
/external/clang/lib/Parse/ |
ParseTemplate.cpp | [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CallEvent.cpp | 189 SourceLocation Loc = getSourceRange().getBegin(); 191 return PreImplicitCall(D, Loc, getLocationContext(), Tag); 192 return PostImplicitCall(D, Loc, getLocationContext(), Tag); 303 Loc ParamLoc = SVB.makeLoc(MRMgr.getVarRegion(ParamDecl, CalleeCtx)); 416 assert(ThisVal.isUnknownOrUndef() || ThisVal.getAs<Loc>()); 494 Loc ThisLoc = SVB.getCXXThis(MD, CalleeCtx); 555 Values.push_back(loc::MemRegionVal(R)); 569 return loc::MemRegionVal(static_cast<const MemRegion *>(Data)); 575 Values.push_back(loc::MemRegionVal(static_cast<const MemRegion *>(Data))); 587 Loc ThisLoc = SVB.getCXXThis(MD, CalleeCtx) [all...] |
CheckerManager.cpp | 265 SVal Loc; 275 SVal loc, bool isLoad, const Stmt *NodeEx, 278 : Checkers(checkers), Loc(loc), IsLoad(isLoad), NodeEx(NodeEx), 290 checkFn(Loc, IsLoad, BoundEx, C); 312 SVal Loc; 322 SVal loc, SVal val, const Stmt *s, ExprEngine &eng, 324 : Checkers(checkers), Loc(loc), Val(val), S(s), Eng(eng), PP(pp) {} 331 checkFn(Loc, Val, S, C) [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 248 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); 249 if (Loc.isValid()) { 269 llvm::errs() << ": " << Loc.getFilename(); 275 llvm::errs() << ' ' << "block(line:" << Loc.getLine() << ",col:" 276 << Loc.getColumn() << '\n';
|
/external/clang/tools/libclang/ |
CXCursor.cpp | 551 SourceLocation Loc, 554 void *RawLoc = Loc.getPtrEncoding(); 567 SourceLocation Loc, 570 void *RawLoc = Loc.getPtrEncoding(); 583 SourceLocation Loc, 589 void *RawLoc = Loc.getPtrEncoding(); 601 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, 604 void *RawLoc = Loc.getPtrEncoding(); 617 SourceLocation Loc, 620 void *RawLoc = Loc.getPtrEncoding() [all...] |
Indexing.cpp | 60 bool isParsed(SourceLocation Loc, FileID FID, const FileEntry *FE) { 187 bool isParsed(SourceLocation Loc, FileID FID, const FileEntry *FE) { 188 PPRegion region = getRegion(Loc, FID, FE); 208 PPRegion getRegion(SourceLocation Loc, FileID FID, const FileEntry *FE) { 209 SourceLocation RegionLoc = PPRec.findConditionalDirectiveRegionLoc(Loc); 256 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 264 if (Loc == MainFileLoc && Reason == PPCallbacks::EnterFile) { 362 SourceLocation Loc = D->getLocation(); 363 if (Loc.isMacroID()) 365 if (SM.isInSystemHeader(Loc)) [all...] |
IndexingContext.cpp | 29 SourceLocation Loc = *LI; 34 MakeCursorObjCProtocolRef(PD, Loc, IdxCtx.CXTU), 35 IdxCtx.getIndexLoc(Loc) }; 39 IdxCtx.markEntityOccurrenceInFile(PD, Loc); 52 : AttrInfo(CXIdxAttr_IBOutletCollection, other.cursor, other.loc, other.A) { 72 CXIdxLoc Loc = IdxCtx.getIndexLoc(A->getLocation()); 75 Attrs.push_back(AttrInfo(CXIdxAttr_Unexposed, C, Loc, A)); 78 Attrs.push_back(AttrInfo(CXIdxAttr_IBAction, C, Loc, A)); 81 Attrs.push_back(AttrInfo(CXIdxAttr_IBOutlet, C, Loc, A)); 84 IBCollAttrs.push_back(IBOutletCollectionInfo(C, Loc, A)) [all...] |
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 481 const Location &Loc) override; 491 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) override; 601 BasicAliasAnalysis::pointsToConstantMemory(const Location &Loc, bool OrLocal) { 606 Worklist.push_back(Loc.Ptr); 611 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 625 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 643 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 652 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 725 Location Loc = AliasAnalysis::getArgLocation(CS, ArgIdx, Mask); 737 Loc.Size = LenCI->getZExtValue() [all...] |
MemoryDependenceAnalysis.cpp | 117 /// location, fill in Loc with the details, otherwise set Loc.Ptr to null. 122 AliasAnalysis::Location &Loc, 126 Loc = AA->getLocation(LI); 130 Loc = AA->getLocation(LI); 133 Loc = AliasAnalysis::Location(); 139 Loc = AA->getLocation(SI); 143 Loc = AA->getLocation(SI); 146 Loc = AliasAnalysis::Location(); 151 Loc = AA->getLocation(V) [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.h | 61 LLLexer::LocTy Loc; 106 SMLoc Loc; 158 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc); 159 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc); 163 Comdat *getComdat(const std::string &N, LocTy Loc); 188 LocTy *Loc = nullptr) { 192 if (Loc) 193 *Loc = Lex.getLoc(); 201 bool ParseUInt32(unsigned &Val, LocTy &Loc) { 202 Loc = Lex.getLoc() [all...] |
/external/llvm/lib/CodeGen/ |
LiveDebugVariables.cpp | 182 /// getLocationNo - Return the location number that matches Loc. 211 // Add a singular (Idx,Idx) -> Loc mapping. 377 OS << " Loc" << i << '='; 455 // DBG_VALUE loc, offset, variable 650 const MachineOperand &Loc = locations[LocNo]; 652 if (!Loc.isReg()) { 658 if (TargetRegisterInfo::isVirtualRegister(Loc.getReg())) { 661 if (LIS.hasInterval(Loc.getReg())) { 662 LI = &LIS.getInterval(Loc.getReg()); 673 unsigned Unit = *MCRegUnitIterator(Loc.getReg(), &TRI) [all...] |
TailDuplication.cpp | 832 MachineBasicBlock::iterator Loc = PredBB->getFirstTerminator(); 834 Copies.push_back(BuildMI(*PredBB, Loc, DebugLoc(), 893 MachineBasicBlock::iterator Loc = PrevBB->getFirstTerminator(); 895 Copies.push_back(BuildMI(*PrevBB, Loc, DebugLoc(), [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyld.cpp | 509 SymbolTableMap::const_iterator Loc = GlobalSymbolTable.find(SymbolName); 510 if (Loc == GlobalSymbolTable.end()) { 515 RECopy.Addend += Loc->second.second; 516 Relocations[Loc->second.first].push_back(RECopy); 639 SymbolTableMap::const_iterator Loc = GlobalSymbolTable.find(Name); 640 if (Loc == GlobalSymbolTable.end()) { 654 SymbolLoc SymLoc = Loc->second;
|
/external/llvm/lib/MC/MCParser/ |
DarwinAsmParser.cpp | 433 bool DarwinAsmParser::parseDirectiveIndirectSymbol(StringRef, SMLoc Loc) { 440 return Error(Loc, "indirect symbol not in a symbol pointer or stub " 547 SMLoc Loc = getLexer().getLoc(); 551 return Error(Loc, "expected identifier after '.section' directive"); 580 return Error(Loc, ErrorStr.c_str()); 593 bool DarwinAsmParser::parseDirectivePushSection(StringRef S, SMLoc Loc) { 596 if (parseDirectiveSection(S, Loc)) { 840 SMLoc Loc = getParser().getTok().getLoc(); 849 return Error(Loc, "unknown region type in '.data_region' directive"); [all...] |
/external/llvm/lib/Target/Sparc/AsmParser/ |
SparcAsmParser.cpp | 464 SMLoc Loc = getLexer().getLoc(); 466 return Error(Loc, "unexpected token"); 470 SMLoc Loc = getLexer().getLoc(); 472 return Error(Loc, "unexpected token"); 479 SMLoc Loc = getLexer().getLoc(); 481 return Error(Loc, "unexpected token"); 486 SMLoc Loc = getLexer().getLoc(); 488 return Error(Loc, "unexpected token");
|