/external/swiftshader/third_party/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, const std::string &ValName, 90 return Error(Loc, "Value '" + ValName + "' unknown!"); 106 return Error(Loc, "Value '" + ValName + "' is not a bits type"); 112 return Error(Loc, "Initializer is not compatible with bit range"); 125 return Error(Loc, "Cannot set bit #" + utostr(Bit) + " of value '" + 138 return Error(Loc, "Value '" + ValName + "' of type '" + 639 SMLoc Loc = Lex.getLoc(); 641 return ParseIDValue(CurRec, Name, Loc); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 319 static X86Operand *CreateToken(StringRef Str, SMLoc Loc) { 320 X86Operand *Res = new X86Operand(Token, Loc, Loc); 616 SMLoc Loc = Parser.getTok().getLoc(); 624 Error(Loc, "scale factor in address must be 1, 2, 4 or 8"); 633 SMLoc Loc = Parser.getTok().getLoc(); 640 Warning(Loc, "scale factor without index register is ignored"); 747 SMLoc Loc = Parser.getTok().getLoc(); 748 Operands.push_back(X86Operand::CreateToken("*", Loc)); 773 SMLoc Loc = getLexer().getLoc() [all...] |
/external/clang/include/clang/AST/ |
Comment.h | 56 SourceLocation Loc; 182 Loc = L; 200 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { 226 SourceLocation getLocation() const LLVM_READONLY { return Loc; }
|
DeclBase.h | 256 /// Loc - The location of this decl. 257 SourceLocation Loc; 336 Loc(L), DeclKind(DK), InvalidDecl(0), 385 SourceLocation getLocation() const { return Loc; } 386 void setLocation(SourceLocation L) { Loc = L; } [all...] |
ExprCXX.h | 205 SourceLocation Loc; // the location of the casting op 215 : ExplicitCastExpr(SC, ty, VK, kind, op, PathSize, writtenTy), Loc(l), 228 SourceLocation getOperatorLoc() const { return Loc; } 233 SourceLocation getLocStart() const LLVM_READONLY { return Loc; } 473 SourceLocation Loc; 478 Value(val), Loc(l) {} 486 SourceLocation getLocStart() const LLVM_READONLY { return Loc; } 487 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } 489 SourceLocation getLocation() const { return Loc; } 490 void setLocation(SourceLocation L) { Loc = L; [all...] |
ExprObjC.h | 62 SourceLocation Loc; 66 false, false), Value(val), Loc(l) {} 74 SourceLocation getLocStart() const LLVM_READONLY { return Loc; } 75 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } 77 SourceLocation getLocation() const { return Loc; } 78 void setLocation(SourceLocation L) { Loc = L; } 482 SourceLocation Loc; 499 D(d), Base(base), Loc(l), OpLoc(oploc), 518 SourceLocation getLocation() const { return Loc; } 519 void setLocation(SourceLocation L) { Loc = L; [all...] |
/external/clang/include/clang/Basic/ |
Diagnostic.h | 230 /// 'Loc' can be null if the point represents the diagnostic state 234 FullSourceLoc Loc; 235 DiagStatePoint(DiagState *State, FullSourceLoc Loc) 236 : State(State), Loc(Loc) { } 239 // If Loc is invalid it means it came from <command-line>, in which case 241 if (RHS.Loc.isInvalid()) 243 if (Loc.isInvalid()) 245 return Loc.isBeforeInTranslationUnitThan(RHS.Loc); [all...] |
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 315 unsigned Loc; 326 DeclUpdate(unsigned Kind, SourceLocation Loc) 327 : Kind(Kind), Loc(Loc.getRawEncoding()) {} 339 return SourceLocation::getFromRawEncoding(Loc); 533 void AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record); 611 serialization::SubmoduleID inferSubmoduleIDFromLocation(SourceLocation Loc); 793 void AddSourceLocation(SourceLocation Loc) { 794 return Writer->AddSourceLocation(Loc, *Record); [all...] |
/external/clang/lib/CodeGen/ |
CGDecl.cpp | 445 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 449 Address Loc; 469 Loc); 841 static void emitStoresForInitAfterMemset(llvm::Constant *Init, llvm::Value *Loc, 849 Builder.CreateDefaultAlignedStore(Init, Loc, isVolatile); 861 Elt, Builder.CreateConstGEP2_32(Init->getType(), Loc, 0, i), 876 Elt, Builder.CreateConstGEP2_32(Init->getType(), Loc, 0, i), [all...] |
CGExprAgg.cpp | [all...] |
CGExprComplex.cpp | 80 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc); 88 QualType DestType, SourceLocation Loc); 91 QualType DestType, SourceLocation Loc); 319 SourceLocation loc) { 322 return CGF.EmitAtomicLoad(lvalue, loc).getComplexVal(); 398 SourceLocation Loc) { 406 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); 407 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); 414 SourceLocation Loc) { 417 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); [all...] |
CGStmt.cpp | 40 SourceLocation Loc; 41 Loc = S->getLocStart(); 42 DI->EmitLocation(Builder, Loc); 44 LastStopPoint = Loc; [all...] |
CodeGenFunction.cpp | 251 llvm::DebugLoc Loc = BI->getDebugLoc(); 255 return Loc; 319 llvm::DebugLoc Loc = EmitReturnBlock(); 330 ApplyDebugLocation AL(*this, Loc); 658 SourceLocation Loc, 676 if (CGM.isInSanitizerBlacklist(Fn, Loc)) 791 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); [all...] |
/external/clang/lib/Frontend/ |
ASTUnit.cpp | [all...] |
/external/clang/lib/Lex/ |
Lexer.cpp | 154 /// spelling loc that indicates the bytes to be lexed for the token and an 285 StringRef Lexer::getSpelling(SourceLocation loc, 291 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); 406 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, 410 if (getRawToken(Loc, TheTok, SM, LangOpts)) 417 bool Lexer::getRawToken(SourceLocation Loc, Token &Result, 429 Loc = SM.getExpansionLoc(Loc); 430 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); 449 static SourceLocation getBeginningOfFileToken(SourceLocation Loc, [all...] |
PPDirectives.cpp | 71 SourceLocation Loc) { 72 return new (BP) DefMacroDirective(MI, Loc); 81 Preprocessor::AllocateVisibilityMacroDirective(SourceLocation Loc, 83 return new (BP) VisibilityMacroDirective(Loc, isPublic); 657 Module *Preprocessor::getModuleForLocation(SourceLocation Loc) { 658 if (!SourceMgr.isInMainFile(Loc)) { 661 FileID IDOfIncl = SourceMgr.getFileID(SourceMgr.getExpansionLoc(Loc)); 677 Module *Preprocessor::getModuleContainingLocation(SourceLocation Loc) { 679 FullSourceLoc(Loc, SourceMgr)); 684 SourceLocation Loc) { [all...] |
/external/clang/lib/Parse/ |
ParseDeclCXX.cpp | [all...] |
ParseExprCXX.cpp | 848 SourceLocation Loc; 854 Loc = ConsumeToken(); 863 Loc = ConsumeToken(); 879 Loc = ConsumeToken(); [all...] |
/external/clang/lib/Sema/ |
SemaLambda.cpp | 235 /*Template kw loc*/ SourceLocation(), LAngleLoc, 705 QualType Sema::buildLambdaInitCaptureInitialization(SourceLocation Loc, 714 TLB.pushTypeSpec(DeductType).setNameLoc(Loc); 716 DeductType = BuildReferenceType(DeductType, true, Loc, Id); 718 TLB.push<ReferenceTypeLoc>(DeductType).setSigilLoc(Loc); 725 SourceRange(Loc, Loc), IsDirectInit, Init); 735 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); 739 Loc, Init->getLocStart(), Init->getLocEnd()) 740 : InitializationKind::CreateDirectList(Loc)) [all...] |
SemaObjCProperty.cpp | 313 SourceLocation LParenLoc, SourceLocation &Loc) { 334 Loc = Tok.getLocation(); 1930 SourceLocation loc = propertyImpl->getLocation(); local [all...] |
SemaTemplateInstantiate.cpp | 624 SourceLocation Loc; 632 SourceLocation Loc, 634 : inherited(SemaRef), TemplateArgs(TemplateArgs), Loc(Loc), 645 SourceLocation getBaseLocation() { return Loc; } 652 void setBase(SourceLocation Loc, DeclarationName Entity) { 653 this->Loc = Loc; 707 Decl *TransformDecl(SourceLocation Loc, Decl *D); 738 Decl *TransformDefinition(SourceLocation Loc, Decl *D) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngine.cpp | 131 SVal V = state->getSVal(loc::MemRegionVal(R)); 154 SVal V = state->getSVal(loc::MemRegionVal(R)); 156 if (Optional<Loc> LV = V.getAs<Loc>()) { 170 loc::MemRegionVal L = svalBuilder.getCXXThis(MD, SFC); 172 if (Optional<Loc> LV = V.getAs<Loc>()) { 197 // try to stuff a Loc into a non-pointer temporary region. 198 assert(!V.getAs<Loc>() || Loc::isLocType(Result->getType()) | [all...] |
/external/llvm/examples/Kaleidoscope/Chapter9/ |
toy.cpp | 202 SourceLocation Loc; 205 ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {} 208 int getLine() const { return Loc.Line; } 209 int getCol() const { return Loc.Col; } 232 VariableExprAST(SourceLocation Loc, const std::string &Name) 233 : ExprAST(Loc), Name(Name) {} 263 BinaryExprAST(SourceLocation Loc, char Op, std::unique_ptr<ExprAST> LHS, 265 : ExprAST(Loc), Op(Op), LHS(std::move(LHS)), RHS(std::move(RHS)) { [all...] |
/external/llvm/include/llvm/Support/ |
CommandLine.h | 388 Ty &Loc; 389 LocationClass(Ty &L) : Loc(L) {} 391 template <class Opt> void apply(Opt &O) const { O.setLocation(O, Loc); } [all...] |
/external/llvm/lib/Analysis/ |
LoopAccessAnalysis.cpp | 465 void addLoad(MemoryLocation &Loc, bool IsReadOnly) { 466 Value *Ptr = const_cast<Value*>(Loc.Ptr); 467 AST.add(Ptr, MemoryLocation::UnknownSize, Loc.AATags); 474 void addStore(MemoryLocation &Loc) { 475 Value *Ptr = const_cast<Value*>(Loc.Ptr); 476 AST.add(Ptr, MemoryLocation::UnknownSize, Loc.AATags); [all...] |