/external/llvm/lib/Transforms/Scalar/ |
Sink.cpp | 168 AliasAnalysis::Location Loc = AA->getLocation(L); 171 if (AA->getModRefInfo(*I, Loc) & AliasAnalysis::Mod)
|
/external/clang/lib/StaticAnalyzer/Core/ |
SymbolManager.cpp | 335 if (Loc::isLocType(T)) 502 if (!Loc) 505 return LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, ExprVal); 520 if (!Loc) 523 if (LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, VR->getDecl()))
|
ExprEngineC.cpp | 71 if (LeftV.getAs<Loc>() && 77 if (RightV.getAs<Loc>() && 211 SVal originalV = State->getSVal(loc::MemRegionVal(originalR)); 212 State = State->bindLoc(loc::MemRegionVal(capturedR), originalV); 425 Loc CLLoc = State->getLValue(CL, LCtx); 482 if (Optional<loc::MemRegionVal> M = 483 InitVal.getAs<loc::MemRegionVal>()) { 865 if (Optional<Loc> LV = V.getAs<Loc>()) { 866 Loc X = svalBuilder.makeNull() 899 SVal loc = state->getSVal(Ex, LCtx); local [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/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldChecker.cpp | 637 RuntimeDyldImpl::SymbolLoc Loc = pos->second; 638 uint8_t *SectionAddr = RTDyld.getSectionAddress(Loc.first); 639 return StringRef(reinterpret_cast<const char*>(SectionAddr) + Loc.second, 640 RTDyld.Sections[Loc.first].Size - Loc.second);
|
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/Target/ARM/ |
ARMLoadStoreOptimizer.cpp | 665 MachineBasicBlock::iterator Loc = memOps[insertAfter].MBBI; 666 ++Loc; 667 if (!MergeOps(MBB, Loc, Offset, Base, BaseKill, Opcode, 672 Merges.push_back(std::prev(Loc)); 717 MachineBasicBlock::iterator Loc = MemOps[SIndex].MBBI; 718 DebugLoc dl = Loc->getDebugLoc(); 719 const MachineOperand &PMO = Loc->getOperand(0); 774 bool BaseKill = Loc->findRegisterUseOperandIdx(Base, true) != -1; [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 461 const DebugLoc &Loc = I->getDebugLoc(); 462 if (Loc.isUnknown()) continue; 465 if (Loc.getLine() == 0) continue; 530 const DebugLoc &Loc = I->getDebugLoc(); 531 if (Loc.isUnknown()) continue; 534 if (Loc.getLine() == 0) continue; 536 if (Line == Loc.getLine()) continue; 537 Line = Loc.getLine(); 538 if (SP != getDISubprogram(Loc.getScope(*Ctx))) continue; 541 Lines.addLine(Loc.getLine()) [all...] |
/frameworks/compile/slang/ |
slang_rs_export_type.cpp | 449 clang::SourceLocation Loc, 520 if (!ValidateTypeHelper(Context, C, FT, ND, Loc, SPS, true, UnionDecl, 538 Loc, 544 Loc, 557 Context->ReportError(Loc, 572 return ValidateTypeHelper(Context, C, PointeeType, ND, Loc, SPS, 591 return ValidateTypeHelper(Context, C, ElementType, ND, Loc, SPS, true, 598 return ValidateTypeHelper(Context, C, ElementType, ND, Loc, SPS, true, 647 clang::SourceLocation Loc, 653 return ValidateTypeHelper(Context, C, T, ND, Loc, SPS, false, NULL, TargetAPI [all...] |
/external/clang/lib/Analysis/ |
ThreadSafety.cpp | 573 SourceLocation Loc; 575 Loc = DeclExp->getExprLoc(); 578 if (Loc.isValid()) 579 Handler.handleInvalidLockExp(Kind, Loc); [all...] |
/external/bison/src/ |
parse-gram.c | 117 #define YY_LOCATION_PRINT(File, Loc) \ 118 location_print (File, Loc) 120 static void version_check (location const *loc, char const *version); 135 * \param loc the location in the source. 137 static void add_param (char const *type, char *decl, location loc); 152 current_lhs(symbol *sym, location loc, named_ref *ref) 155 current_lhs_location = loc; 3159 YYLTYPE loc; local [all...] |
/external/llvm/lib/TableGen/ |
TGParser.cpp | 63 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { 70 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" + 82 bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName, 90 return Error(Loc, "Value '" + ValName->getAsUnquotedString() 107 return Error(Loc, "Value '" + ValName->getAsUnquotedString() 113 return Error(Loc, "Initializer is not compatible with bit range"); 126 return Error(Loc, "Cannot set bit #" + utostr(Bit) + " of value '" + 139 return Error(Loc, "Value '" + ValName->getAsUnquotedString() + "' of type '" 297 bool TGParser::ProcessForeachDefs(Record *CurRec, SMLoc Loc) { 305 return ProcessForeachDefs(CurRec, Loc, IterVals) [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/llvm/utils/FileCheck/ |
FileCheck.cpp | 585 /// Loc - The location in the match file that the check string was specified. 586 SMLoc Loc; 602 : Pat(P), Prefix(S), Loc(L), CheckTy(Ty) {} 720 static size_t SkipWord(StringRef Str, size_t Loc) { 721 while (Loc < Str.size() && IsPartOfWord(Str[Loc])) 722 ++Loc; 723 return Loc; [all...] |
/external/clang/lib/ARCMigrate/ |
TransRetainReleaseDealloc.cpp | 333 SourceLocation Loc = Msg->getExprLoc(); 334 if (!Loc.isMacroID()) 337 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM, 394 void clearDiagnostics(SourceLocation loc) const { 398 loc);
|
TransUnbridgedCasts.cpp | 109 SourceLocation loc = castExpr->getExprLoc(); 110 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) 284 SourceLocation Loc = E->getExprLoc(); 285 assert(Loc.isMacroID()); 287 std::tie(MacroBegin, MacroEnd) = SM.getImmediateExpansionRange(Loc);
|
/external/clang/lib/AST/ |
Stmt.cpp | 285 AttributedStmt *AttributedStmt::Create(const ASTContext &C, SourceLocation Loc, 291 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); 985 SEHExceptStmt::SEHExceptStmt(SourceLocation Loc, 989 Loc(Loc) [all...] |
/external/clang/lib/Lex/ |
PPLexerChange.cpp | 72 SourceLocation Loc) { 89 getSourceManager().getBuffer(FID, Loc, &Invalid); 92 Diag(Loc, diag::err_pp_error_opening_file)
|
/external/llvm/lib/CodeGen/ |
BranchFolding.cpp | [all...] |
/external/llvm/lib/MC/ |
MCObjectStreamer.cpp | 97 const SMLoc &Loc) { 98 MCStreamer::EmitValueImpl(Value, Size, Loc); 111 MCFixup::getKindForSize(Size, false), Loc)); 195 // a line entry for any .loc directive that has been seen. 261 // In case we see two .loc directives in a row, make sure the
|
/external/llvm/lib/MC/MCParser/ |
AsmLexer.cpp | 46 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) { 47 SetError(SMLoc::getFromPointer(Loc), Msg); 49 return AsmToken(AsmToken::Error, StringRef(Loc, 0));
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 221 AliasAnalysis::Location Loc = AA->getLocation(Load); 245 } else if (AA->getModRefInfo(Inst, Loc) & AliasAnalysis::Mod) { 250 if (Store->getPointerOperand() != Loc.Ptr) return;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CStringChecker.cpp | 380 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) { 400 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) { 436 Optional<Loc> firstLoc = firstVal.getAs<Loc>(); 440 Optional<Loc> secondLoc = secondVal.getAs<Loc>(); 494 Optional<Loc> FirstStartLoc = FirstStart.getAs<Loc>(); [all...] |
/external/clang/include/clang/Lex/ |
ModuleMap.h | 387 /// \param Loc The location within the source that we are querying, along 392 Module *inferModuleFromLocation(FullSourceLoc Loc);
|
/external/clang/include/clang/Sema/ |
MultiplexExternalSemaSource.h | 355 /// \param Loc the location at which a complete type was required but not 358 /// \param T the \c QualType that should have been complete at \p Loc 361 bool MaybeDiagnoseMissingCompleteType(SourceLocation Loc,
|