Searched refs:Loc (Results 101 - 125 of 419) sorted by relevance

1234567891011>>

/external/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h59 AsmToken ReturnError(const char *Loc, const std::string &Msg);
/external/clang/lib/Edit/
H A DEditedSource.cpp268 SourceLocation Loc, FileOffset offs,
271 SourceLocation BeginTokLoc = Lexer::GetBeginningOfToken(Loc, SM, LangOpts);
272 if (BeginTokLoc != Loc)
308 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); local
309 Loc = Loc.getLocWithOffset(offs.getOffset());
310 assert(Loc.isFileID());
313 adjustRemoval(SM, LangOpts, Loc, offs, len, text);
315 CharSourceRange range = CharSourceRange::getCharRange(Loc,
316 Loc
267 adjustRemoval(const SourceManager &SM, const LangOptions &LangOpts, SourceLocation Loc, FileOffset offs, unsigned &len, StringRef &text) argument
[all...]
/external/clang/lib/Lex/
H A DPreprocessingRecord.cpp72 SourceLocation Loc = PPE->getSourceRange().getBegin();
73 if (Loc.isInvalid())
76 if (SM.isInFileID(SM.getFileLoc(Loc), FID))
203 SourceLocation Loc) const {
204 if (SourceMgr.isLoadedSourceLocation(Loc))
222 Loc)){
234 SourceLocation Loc) const {
235 if (SourceMgr.isLoadedSourceLocation(Loc))
241 Loc,
384 void PreprocessingRecord::Ifdef(SourceLocation Loc, cons argument
392 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument
[all...]
/external/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp628 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd());
631 std::string Init = S.getFixItZeroInitializerForType(VariableTy, Loc);
635 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName()
636 << FixItHint::CreateInsertion(Loc, Init);
1456 SourceLocation Loc) {
1459 if (!Loc.isValid())
1460 Loc = FunLocation;
1461 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << Kind << LockName);
1482 void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) override {
1483 PartialDiagnosticAt Warning(Loc,
[all...]
H A DSemaExpr.cpp75 static void DiagnoseUnusedOfDecl(Sema &S, NamedDecl *D, SourceLocation Loc) { argument
80 S.Diag(Loc, diag::warn_used_but_marked_unused) << D->getDeclName();
85 NamedDecl *D, SourceLocation Loc,
123 D, Message, Loc, UnknownObjCClass, ObjCPDecl,
130 D, Message, Loc, UnknownObjCClass, ObjCPDecl,
197 SourceLocation Loc) {
225 bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc);
229 S.Diag(Loc, DowngradeWarning ? diag::ext_internal_in_extern_inline
262 bool Sema::DiagnoseUseOfDecl(NamedDecl *D, SourceLocation Loc, argument
285 Diag(Loc, dia
84 DiagnoseAvailabilityOfDecl(Sema &S, NamedDecl *D, SourceLocation Loc, const ObjCInterfaceDecl *UnknownObjCClass, bool ObjCPropertyAccess) argument
195 diagnoseUseOfInternalDeclInInlineFunction(Sema &S, const NamedDecl *D, SourceLocation Loc) argument
333 DiagnoseSentinelCalls(NamedDecl *D, SourceLocation Loc, ArrayRef<Expr *> Args) argument
1622 BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, SourceLocation Loc, const CXXScopeSpec *SS) argument
2240 SourceLocation Loc = SS.getBeginLoc(); local
2291 SourceLocation Loc = Lookup.getNameLoc(); local
2644 CheckDeclInExpr(Sema &S, SourceLocation Loc, NamedDecl *D) argument
2703 SourceLocation Loc = NameInfo.getLoc(); local
2905 BuildPredefinedExpr(SourceLocation Loc, PredefinedExpr::IdentType IT) argument
2942 ActOnPredefinedExpr(SourceLocation Loc, tok::TokenKind Kind) argument
3011 ActOnIntegerConstant(SourceLocation Loc, uint64_t Val) argument
3017 BuildFloatingLiteral(Sema &S, NumericLiteralParser &Literal, QualType Ty, SourceLocation Loc) argument
3317 CheckVecStepTraitOperandType(Sema &S, QualType T, SourceLocation Loc, SourceRange ArgRange) argument
3335 CheckExtensionTraitOperandType(Sema &S, QualType T, SourceLocation Loc, SourceRange ArgRange, UnaryExprOrTypeTrait TraitKind) argument
3364 CheckObjCTraitOperandConstraints(Sema &S, QualType T, SourceLocation Loc, SourceRange ArgRange, UnaryExprOrTypeTrait TraitKind) argument
3382 warnOnSizeofOnArrayDecay(Sema &S, SourceLocation Loc, QualType T, Expr *E) argument
3687 CheckRealImagOperand(Sema &S, ExprResult &V, SourceLocation Loc, bool IsReal) argument
5504 checkConditionalPointerCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument
5605 checkConditionalBlockPointerCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument
5631 checkConditionalObjectPointersCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument
5670 checkPointerIntegerMismatch(Sema &S, ExprResult &Int, Expr* PointerExpr, SourceLocation Loc, bool IsIntFirstExpr) argument
5949 SuggestParentheses(Sema &Self, SourceLocation Loc, const PartialDiagnostic &Note, SourceRange ParenRange) argument
6324 CheckAssignmentConstraints(SourceLocation Loc, QualType LHSType, QualType RHSType) argument
6786 InvalidOperands(SourceLocation Loc, ExprResult &LHS, ExprResult &RHS) argument
6841 CheckVectorOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument
6923 checkArithmeticNull(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompare) argument
6959 CheckMultiplyDivideOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign, bool IsDiv) argument
6987 CheckRemainderOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument
7018 diagnoseArithmeticOnTwoVoidPointers(Sema &S, SourceLocation Loc, Expr *LHSExpr, Expr *RHSExpr) argument
7028 diagnoseArithmeticOnVoidPointer(Sema &S, SourceLocation Loc, Expr *Pointer) argument
7037 diagnoseArithmeticOnTwoFunctionPointers(Sema &S, SourceLocation Loc, Expr *LHS, Expr *RHS) argument
7053 diagnoseArithmeticOnFunctionPointer(Sema &S, SourceLocation Loc, Expr *Pointer) argument
7067 checkArithmeticIncompletePointerType(Sema &S, SourceLocation Loc, Expr *Operand) argument
7085 checkArithmeticOpPointerOperand(Sema &S, SourceLocation Loc, Expr *Operand) argument
7113 checkArithmeticBinOpPointerOperands(Sema &S, SourceLocation Loc, Expr *LHSExpr, Expr *RHSExpr) argument
7245 diagnosePointerIncompatibility(Sema &S, SourceLocation Loc, Expr *LHSExpr, Expr *RHSExpr) argument
7254 CheckAdditionOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc, QualType* CompLHSTy) argument
7329 CheckSubtractionOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, QualType* CompLHSTy) argument
7425 DiagnoseBadShiftValues(Sema& S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc, QualType LHSType) argument
7495 CheckShiftOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc, bool IsCompAssign) argument
7552 checkEnumComparison(Sema &S, SourceLocation Loc, Expr *LHS, Expr *RHS) argument
7579 diagnoseDistinctPointerComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, bool IsError) argument
7590 convertPointersToCompositeType(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS) argument
7635 diagnoseFunctionPointerToVoidComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, bool IsError) argument
7750 diagnoseObjCLiteralComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, BinaryOperator::Opcode Opc) argument
7799 diagnoseLogicalNotOnLHSofComparison(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned OpaqueOpc) argument
7859 CheckCompareOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned OpaqueOpc, bool IsRelational) argument
8268 CheckVectorCompareOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsRelational) argument
8311 CheckVectorLogicalOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument
8325 CheckBitwiseOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument
8351 CheckLogicalOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc) argument
8487 CheckForModifiableLvalue(Expr *E, SourceLocation Loc, Sema &S) argument
8595 CheckIdentityFieldAssignment(Expr *LHSExpr, Expr *RHSExpr, SourceLocation Loc, Sema &Sema) argument
8618 CheckAssignmentOperands(Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType) argument
8722 CheckCommaOperands(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument
8900 diagnoseAddressOfInvalidType(Sema &S, SourceLocation Loc, Expr *E, unsigned Type) argument
10838 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument
11071 diagnoseFold(Sema &S, SourceLocation Loc, SourceRange SR) argument
11388 MarkFunctionReferenced(SourceLocation Loc, FunctionDecl *Func) argument
11636 getParentOfCapturingContextOrNull(DeclContext *DC, VarDecl *Var, SourceLocation Loc, const bool Diagnose, Sema &S) argument
11651 isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var, SourceLocation Loc, const bool Diagnose, Sema &S) argument
11715 captureInBlock(BlockScopeInfo *BSI, VarDecl *Var, SourceLocation Loc, const bool BuildAndDiagnose, QualType &CaptureType, QualType &DeclRefType, const bool Nested, Sema &S) argument
11806 captureInCapturedRegion(CapturedRegionScopeInfo *RSI, VarDecl *Var, SourceLocation Loc, const bool BuildAndDiagnose, QualType &CaptureType, QualType &DeclRefType, const bool RefersToEnclosingLocal, Sema &S) argument
11851 addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, VarDecl *Var, QualType FieldType, QualType DeclRefType, SourceLocation Loc, bool RefersToEnclosingLocal) argument
11973 captureInLambda(LambdaScopeInfo *LSI, VarDecl *Var, SourceLocation Loc, const bool BuildAndDiagnose, QualType &CaptureType, QualType &DeclRefType, const bool RefersToEnclosingLocal, const Sema::TryCaptureKind Kind, SourceLocation EllipsisLoc, const bool IsTopScope, Sema &S) argument
12322 tryCaptureVariable(VarDecl *Var, SourceLocation Loc, TryCaptureKind Kind, SourceLocation EllipsisLoc) argument
12331 getCapturedDeclRefType(VarDecl *Var, SourceLocation Loc) argument
12409 SourceLocation Loc; local
12428 DoMarkVarDeclReferenced(Sema &SemaRef, SourceLocation Loc, VarDecl *Var, Expr *E) argument
12539 MarkVariableReferenced(SourceLocation Loc, VarDecl *Var) argument
12543 MarkExprReferenced(Sema &SemaRef, SourceLocation Loc, Decl *D, Expr *E, bool OdrUse) argument
12596 SourceLocation Loc = E->getMemberLoc().isValid() ? local
12605 MarkAnyDeclReferenced(SourceLocation Loc, Decl *D, bool OdrUse) argument
12625 SourceLocation Loc; member in class:__anon18050::MarkReferencedDecls
12630 MarkReferencedDecls(Sema &S, SourceLocation Loc) argument
12657 MarkDeclarationsReferencedInType(SourceLocation Loc, QualType T) argument
12762 DiagRuntimeBehavior(SourceLocation Loc, const Stmt *Statement, const PartialDiagnostic &PD) argument
12789 CheckCallReturnType(QualType ReturnType, SourceLocation Loc, CallExpr *CE, FunctionDecl *FD) argument
12832 SourceLocation Loc; local
12904 SourceLocation Loc = opE->getOperatorLoc(); local
12916 CheckBooleanCondition(Expr *E, SourceLocation Loc) argument
12945 ActOnBooleanCondition(Scope *S, SourceLocation Loc, Expr *SubExpr) argument
[all...]
H A DJumpDiagnostics.cpp57 /// Loc - Location to emit the diagnostic.
58 SourceLocation Loc; member in struct:__anon17996::JumpScopeChecker::GotoScope
62 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {}
256 SourceLocation Loc = D->getLocation(); local
257 if (Loc.isInvalid())
258 Loc = BDecl->getLocation();
260 Diags.first, Diags.second, Loc));
514 SourceLocation Loc; local
516 Loc = CS->getLocStart();
518 Loc
[all...]
/external/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp303 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) override;
307 const Location &Loc) override;
470 bool TypeBasedAliasAnalysis::pointsToConstantMemory(const Location &Loc, argument
473 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
475 const MDNode *M = Loc.TBAATag;
476 if (!M) return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
484 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
512 const Location &Loc) {
514 return AliasAnalysis::getModRefInfo(CS, Loc);
516 if (const MDNode *L = Loc
511 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
[all...]
H A DMemDepPrinter.cpp129 AliasAnalysis::Location Loc = AA.getLocation(LI); local
130 MDA.getNonLocalPointerDependency(Loc, true, LI->getParent(), NLDI);
138 AliasAnalysis::Location Loc = AA.getLocation(SI); local
139 MDA.getNonLocalPointerDependency(Loc, false, SI->getParent(), NLDI);
141 AliasAnalysis::Location Loc = AA.getLocation(VI); local
142 MDA.getNonLocalPointerDependency(Loc, false, VI->getParent(), NLDI);
H A DBasicAliasAnalysis.cpp481 const Location &Loc) override;
491 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) override;
601 BasicAliasAnalysis::pointsToConstantMemory(const Location &Loc, bool OrLocal) { argument
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); local
737 Loc
806 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
[all...]
/external/clang/include/clang/AST/
H A DCommentParser.h48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
49 return Diags.Report(Loc, DiagID);
H A DStmtCXX.h186 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } argument
188 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } argument
190 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument
/external/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h149 /// \param Loc Clang source location.
153 EmitOpenMPUpdateLocation(CodeGenFunction &CGF, SourceLocation Loc,
158 /// \param Loc Clang source location.
161 SourceLocation Loc);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp48 SourceLocation Loc = Parent->getLocStart(); local
49 llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " "
/external/clang/include/clang/Sema/
H A DDelayedDiagnostic.h121 SourceLocation Loc; member in class:clang::sema::DelayedDiagnostic
126 SourceLocation Loc,
134 static DelayedDiagnostic makeAccess(SourceLocation Loc, argument
139 DD.Loc = Loc;
151 DD.Loc = loc;
181 /// Diag(diag.Loc, diag.getForbiddenTypeDiagnostic())
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h61 virtual SVal getBinding(Store store, Loc loc, QualType T = QualType()) = 0;
70 virtual StoreRef Bind(Store store, Loc loc, SVal val) = 0;
77 virtual StoreRef killBinding(Store ST, Loc L) = 0;
87 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) {
91 Loc getLValueCompoundLiteral(const CompoundLiteralExpr *CL,
114 virtual SVal ArrayToPointer(Loc Array, QualType ElementTy) = 0;
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp54 // We handle Loc <> Loc comparisons, but not (yet) NonLoc <> NonLoc.
55 if (Loc::isLocType(SSE->getLHS()->getType())) {
56 assert(Loc::isLocType(SSE->getRHS()->getType()));
71 // If we have a Loc value, cast it to a bool NonLoc first.
72 if (Optional<Loc> LV = Cond.getAs<Loc>()) {
163 assert(Loc::isLocType(SSE->getLHS()->getType()));
164 assert(Loc::isLocType(SSE->getRHS()->getType()));
/external/clang/lib/Analysis/
H A DReachableCode.cpp115 static SourceLocation getTopMostMacro(SourceLocation Loc, SourceManager &SM) { argument
116 assert(Loc.isMacroID());
118 while (Loc.isMacroID()) {
119 Last = Loc;
120 Loc = SM.getImmediateMacroCallerLoc(Loc);
592 SourceLocation Loc = LoopTarget->getLocStart(); local
593 SourceRange R1(Loc, Loc), R2;
597 Loc
620 SourceLocation Loc = GetUnreachableLoc(S, R1, R2); local
[all...]
/external/clang/tools/libclang/
H A DCXCursor.cpp551 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, argument
604 void *RawLoc = Loc.getPtrEncoding();
617 SourceLocation Loc,
620 void *RawLoc = Loc
550 MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, SourceLocation Loc, CXTranslationUnit TU) argument
566 MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto, SourceLocation Loc, CXTranslationUnit TU) argument
582 MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class, SourceLocation Loc, CXTranslationUnit TU) argument
616 MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc, CXTranslationUnit TU) argument
632 MakeCursorNamespaceRef(const NamedDecl *NS, SourceLocation Loc, CXTranslationUnit TU) argument
650 MakeCursorVariableRef(const VarDecl *Var, SourceLocation Loc, CXTranslationUnit TU) argument
666 MakeCursorMemberRef(const FieldDecl *Field, SourceLocation Loc, CXTranslationUnit TU) argument
728 MakeMacroExpansionCursor(MacroDefinition *MI, SourceLocation Loc, CXTranslationUnit TU) argument
763 MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, CXTranslationUnit TU) argument
791 MakeCursorOverloadedDeclRef(const Decl *D, SourceLocation Loc, CXTranslationUnit TU) argument
804 MakeCursorOverloadedDeclRef(TemplateName Name, SourceLocation Loc, CXTranslationUnit TU) argument
946 SourceLocation Loc = TL.getBeginLoc(); local
[all...]
H A DIndexing.cpp60 bool isParsed(SourceLocation Loc, FileID FID, const FileEntry *FE) { argument
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(); variable
363 if (Loc.isMacroID())
365 if (SM.isInSystemHeader(Loc))
709 SourceLocation Loc = ID->getSourceRange().getBegin(); local
1076 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); local
1086 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); local
[all...]
H A DCIndexDiagnostic.cpp47 CXSourceLocation Loc; member in class:__anon19518::CXDiagnosticCustomNoteImpl
51 Message(Msg), Loc(L) {}
60 return Loc;
116 void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
127 L = translateSourceLocation(*SM, LangOpts, Loc);
134 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
139 void emitCodeContext(SourceLocation Loc,
145 void emitNote(SourceLocation Loc, StringRef Message,
149 L = translateSourceLocation(*SM, LangOpts, Loc);
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp73 bool showMatchError(SMLoc Loc, unsigned ErrCode);
84 bool validateInstruction(MCInst &Inst, SmallVectorImpl<SMLoc> &Loc);
2841 SMLoc Loc = getLoc(); local
2848 return Error(Loc, "mismatched register size suffix");
2853 return Error(Loc, "invalid number of vectors");
2862 SMLoc Loc = getLoc(); local
2869 return Error(Loc, "mismatched register size suffix");
2874 return Error(Loc, "registers must be sequential");
2996 SMLoc Loc = Parser.getTok().getLoc(); local
2997 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc,
3082 SMLoc Loc = Parser.getTok().getLoc(); local
3247 SMLoc Loc = Parser.getTok().getLoc(); local
3254 SMLoc Loc = Parser.getTok().getLoc(); local
3265 SMLoc Loc = Parser.getTok().getLoc(); local
3277 validateInstruction(MCInst &Inst, SmallVectorImpl<SMLoc> &Loc) argument
3448 showMatchError(SMLoc Loc, unsigned ErrCode) argument
3924 SMLoc Loc = DirectiveID.getLoc(); local
3987 parseDirectiveLOH(StringRef IDVal, SMLoc Loc) argument
[all...]
/external/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp182 /// getLocationNo - Return the location number that matches Loc.
211 // Add a singular (Idx,Idx) -> Loc mapping.
377 OS << " Loc" << i << '=';
650 const MachineOperand &Loc = locations[LocNo]; local
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);
741 dbgs() << "Splitting Loc" << OldLocN
844 const MachineOperand *Loc = &locations[LocNo]; local
877 MachineOperand &Loc = locations[LocNo]; local
934 MachineOperand &Loc = locations[LocNo]; local
[all...]
/external/clang/include/clang/Basic/
H A DSourceLocation.h273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) argument
274 : SourceLocation(Loc), SrcMgr(&SM) {}
311 /// \returns true if this source location comes before 'Loc', false otherwise.
312 bool isBeforeInTranslationUnitThan(SourceLocation Loc) const;
316 /// \returns true if this source location comes before 'Loc', false otherwise.
317 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const {
318 assert(Loc.isValid());
319 assert(SrcMgr == Loc.SrcMgr && "Loc comes from another SourceManager!");
320 return isBeforeInTranslationUnitThan((SourceLocation)Loc);
[all...]
/external/clang/include/clang/Lex/
H A DLexer.h213 DiagnosticBuilder Diag(const char *Loc, unsigned DiagID) const;
217 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
281 static unsigned MeasureTokenLength(SourceLocation Loc,
287 static bool getRawToken(SourceLocation Loc, Token &Result,
295 static SourceLocation GetBeginningOfToken(SourceLocation Loc,
311 /// points just past the end of the token referenced by \p Loc, and
322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
389 static StringRef getImmediateMacroName(SourceLocation Loc,
/external/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h50 /// Loc is either a stack offset or a register number.
51 unsigned Loc; member in class:llvm::CCValAssign
74 Ret.Loc = RegNo;
97 Ret.Loc = Offset;
123 Loc = RegNo;
128 Loc = Offset;
140 unsigned getLocReg() const { assert(isRegLoc()); return Loc; }
141 unsigned getLocMemOffset() const { assert(isMemLoc()); return Loc; }

Completed in 8827 milliseconds

1234567891011>>