/external/compiler-rt/lib/ubsan/ |
ubsan_diag.h | 52 Location(SourceLocation Loc) : 53 Kind(LK_Source), SourceLoc(Loc) {} 54 Location(ModuleLocation Loc) : 55 Kind(LK_Module), ModuleLoc(Loc) {} 56 Location(MemoryLocation Loc) : 57 Kind(LK_Memory), MemoryLoc(Loc) {} 118 Location Loc; 187 Diag(Location Loc, DiagLevel Level, const char *Message) 188 : Loc(Loc), Level(Level), Message(Message), NumArgs(0), NumRanges(0) { [all...] |
/external/llvm/include/llvm/CodeGen/ |
GCMetadata.h | 63 DebugLoc Loc; 66 : Kind(K), Label(L), Loc(DL) {}
|
MachineFunction.h | 240 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty), 242 MFInfo = new (Loc) Ty(*this);
|
CallingConvLower.h | 49 /// Loc is either a stack offset or a register number. 50 unsigned Loc; 52 /// isMem - True if this is a memory loc, false if it is a register loc. 73 Ret.Loc = RegNo; 96 Ret.Loc = Offset; 122 unsigned getLocReg() const { assert(isRegLoc()); return Loc; } 123 unsigned getLocMemOffset() const { assert(isMemLoc()); return Loc; }
|
/external/llvm/include/llvm/MC/ |
MCInst.h | 152 SMLoc Loc; 160 void setLoc(SMLoc loc) { Loc = loc; } 161 SMLoc getLoc() const { return Loc; }
|
MCTargetAsmParser.h | 53 SMLoc Loc; 57 AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len = 0, unsigned val = 0) 58 : Kind(kind), Loc(loc), Len(len), Val(val) {}
|
/external/llvm/lib/CodeGen/ |
MachineSSAUpdater.cpp | 185 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin(); 187 Loc, VRC, MRI, TII); 307 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin(); 308 MachineInstr *PHI = InsertNewDef(TargetOpcode::PHI, BB, Loc,
|
/external/llvm/lib/DebugInfo/ |
DWARFContext.h | 32 OwningPtr<DWARFDebugLoc> Loc;
|
/external/llvm/lib/Object/ |
Archive.cpp | 319 const char *Loc = Data->getBufferStart() + strlen(Magic); 320 Child c(this, Loc); 372 const char *Loc = Parent->getData().begin() + Offset; 373 Result = Child(Parent, Loc);
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 220 AliasAnalysis::Location Loc = AA->getLocation(Load); 244 } else if (AA->getModRefInfo(Inst, Loc) & AliasAnalysis::Mod) { 249 if (Store->getPointerOperand() != Loc.Ptr) return;
|
/external/clang/include/clang/AST/ |
CommentLexer.h | 62 SourceLocation Loc; 82 SourceLocation getLocation() const LLVM_READONLY { return Loc; } 83 void setLocation(SourceLocation SL) { Loc = SL; } 87 return Loc; 88 return Loc.getLocWithOffset(Length - 1); 314 SourceLocation getSourceLocation(const char *Loc) const { 315 assert(Loc >= BufferStart && Loc <= BufferEnd && 318 const unsigned CharNo = Loc - BufferStart; 322 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) [all...] |
/external/clang/include/clang/Sema/ |
DelayedDiagnostic.h | 120 SourceLocation Loc; 124 static DelayedDiagnostic makeDeprecation(SourceLocation Loc, 130 static DelayedDiagnostic makeAccess(SourceLocation Loc, 135 DD.Loc = Loc; 140 static DelayedDiagnostic makeForbiddenType(SourceLocation loc, 147 DD.Loc = loc; 175 /// Diag(diag.Loc, diag.getForbiddenTypeDiagnostic())
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
SVals.h | 10 // This file defines SVal, Loc, and NonLoc, classes that represent 50 LocKind = 2, // for subclass Loc (an L-value) 282 class Loc : public DefinedSVal { 284 Loc() {} 285 explicit Loc(unsigned SubKind, const void *D) 373 assert (data.first.getAs<Loc>()); 378 Loc getLoc() const { 381 return D->first.castAs<Loc>(); 384 Loc getPersistentLoc() const { 388 return V.castAs<Loc>(); 466 namespace loc { namespace in namespace:clang::ento [all...] |
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 201 SourceLocation Loc = SourceLocation::getFromRawEncoding(LocCookie); 202 ((BackendConsumer*)Context)->InlineAsmDiagHandler2(SM, Loc); 254 FullSourceLoc Loc; 256 Loc = ConvertBackendLocation(D, Context->getSourceManager()); 266 DiagnosticBuilder B = Diags.Report(Loc, diag::note_fe_inline_asm_here); 272 B << SourceRange(Loc.getLocWithOffset(Range.first - Column), 273 Loc.getLocWithOffset(Range.second - Column)); 280 // If Loc is invalid, we still need to report the error, it just gets no 282 Diags.Report(Loc, diag::err_fe_inline_asm).AddString(Message); 407 SourceLocation Loc = SM.translateFileLineCol [all...] |
/external/clang/lib/Lex/ |
PPMacroExpansion.cpp | 360 SourceLocation Loc = 363 Identifier.setLocation(Loc); 500 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); 503 TempToken.setLocation(Loc); 507 Loc)); [all...] |
Preprocessor.cpp | 216 void Preprocessor::DumpLocation(SourceLocation Loc) const { 217 Loc.dump(SourceMgr); 305 SourceLocation Loc, 314 Def = I->second->findDirectiveAtLoc(Loc, SourceMgr); 430 SourceLocation Loc = ScratchBuf->getToken(Str.data(), Str.size(), DestPtr); 433 Loc = SourceMgr.createExpansionLoc(Loc, ExpansionLocStart, 435 Tok.setLocation(Loc);
|
/external/clang/lib/Sema/ |
JumpDiagnostics.cpp | 53 /// Loc - Location to emit the diagnostic. 54 SourceLocation Loc; 58 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} 279 SourceLocation Loc = D->getLocation(); 280 if (Loc.isInvalid()) 281 Loc = BDecl->getLocation(); 283 Diags.first, Diags.second, Loc)); 519 SourceLocation Loc; 521 Loc = CS->getLocStart(); 523 Loc = DS->getLocStart() [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 468 SourceLocation Loc = 471 R.InsertTextBefore(Loc, os.str());
|
/external/clang/tools/libclang/ |
CIndexDiagnostic.cpp | 47 CXSourceLocation Loc; 51 Message(Msg), Loc(L) {} 60 return Loc; 113 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, 124 L = translateSourceLocation(*SM, LangOpts, Loc); 131 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 136 virtual void emitCodeContext(SourceLocation Loc, 142 virtual void emitNote(SourceLocation Loc, StringRef Message, 146 L = translateSourceLocation(*SM, LangOpts, Loc);
|
/external/llvm/lib/AsmParser/ |
LLParser.h | 60 LLLexer::LocTy Loc; 105 SMLoc Loc; 152 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc); 153 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc); 177 bool ParseOptionalToken(lltok::Kind T, bool &Present, LocTy *Loc = 0) { 181 if (Loc) 182 *Loc = Lex.getLoc(); 190 bool ParseUInt32(unsigned &Val, LocTy &Loc) { 191 Loc = Lex.getLoc(); 234 bool ParseGlobal(const std::string &Name, LocTy Loc, unsigned Linkage [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyld.cpp | 345 SymbolTableMap::const_iterator Loc = 347 if (Loc == GlobalSymbolTable.end()) { 352 RECopy.Addend += Loc->second.second; 353 Relocations[Loc->second.first].push_back(RECopy); 462 SymbolTableMap::const_iterator Loc = GlobalSymbolTable.find(Name); 463 if (Loc == GlobalSymbolTable.end()) {
|
/external/llvm/lib/MC/MCParser/ |
COFFAsmParser.cpp | 414 bool COFFAsmParser::ParseDirectiveLinkOnce(StringRef, SMLoc Loc) { 442 SMLoc Loc = getTok().getLoc(); 449 return Error(Loc, "cannot associate unknown section '" + AssocName + "'"); 451 return Error(Loc, "cannot associate a section with itself"); 453 return Error(Loc, "associated section must be a COMDAT section"); 455 return Error(Loc, "associated section cannot be itself associative"); 459 return Error(Loc, Twine("section '") + Current->getSectionName() +
|
/external/llvm/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 458 AliasAnalysis::Location Loc = AA.getLocation(Load); 459 if (AA.canInstructionRangeModify(BB->front(), *Load, Loc)) 470 if (AA.canBasicBlockModify(**I, Loc)) [all...] |
FunctionAttrs.cpp | 205 AliasAnalysis::Location Loc(Arg, 208 if (!AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) { 230 AliasAnalysis::Location Loc = AA->getLocation(LI); 231 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) 237 AliasAnalysis::Location Loc = AA->getLocation(SI); 238 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) 243 AliasAnalysis::Location Loc = AA->getLocation(VI); 244 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
DeadStoreElimination.cpp | 198 AliasAnalysis::Location Loc = AA.getLocationForDest(MI); 202 if (Loc.Size == AliasAnalysis::UnknownSize && AA.getDataLayout() == 0) 204 return Loc; 465 // If the read and written loc obviously don't alias, it isn't a read. 542 AliasAnalysis::Location Loc = getLocForWrite(Inst, *AA); 545 if (Loc.Ptr == 0) 550 // skip any instructions that 'Loc' clearly doesn't interact with. If we 563 // completely obliterated by the store to 'Loc', and c) which we know that 566 !isPossibleSelfRead(Inst, Loc, DepWrite, *AA)) { 568 OverwriteResult OR = isOverwrite(Loc, DepLoc, *AA [all...] |