| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | CodeGenIntrinsics.cpp | 266 ArrayRef<SMLoc> DefLoc = R->getLoc(); in CodeGenIntrinsic() local 269 PrintFatalError(DefLoc, in CodeGenIntrinsic() 290 PrintFatalError(DefLoc, "Intrinsic '" + DefName + in CodeGenIntrinsic() 299 PrintFatalError(DefLoc, "Intrinsic '" + DefName + in CodeGenIntrinsic() 306 PrintFatalError(DefLoc, "intrinsics can only return upto " + in CodeGenIntrinsic() 313 PrintFatalError(DefLoc, "TypeInfo field in " + DefName + in CodeGenIntrinsic()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 305 auto DefLoc = MI->getDefinitionLoc(); in EndOfMainFile() local 307 if (SM.isInPredefinedFile(DefLoc)) in EndOfMainFile() 317 if (!shouldMacroBeIncluded(DefLoc, OwningModuleName)) in EndOfMainFile() 321 PresumedLoc Loc = SM.getPresumedLoc(DefLoc); in EndOfMainFile() 323 index::generateUSRForMacro(Name, DefLoc, SM, USR); in EndOfMainFile() 328 SM.isInSystemHeader(DefLoc)); in EndOfMainFile()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MIRCanonicalizerPass.cpp | 213 const unsigned DefLoc = getInstrIdx(*Def); in rescheduleCanonically() local 215 const unsigned Delta = (UseLoc - DefLoc); in rescheduleCanonically() 219 if (DefLoc >= UseLoc) in rescheduleCanonically()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 47 MacroInfo::MacroInfo(SourceLocation DefLoc) in MacroInfo() argument 48 : Location(DefLoc), IsDefinitionLengthCached(false), IsFunctionLike(false), in MacroInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 1299 bool isCompleteOverwrite(const MemoryLocation &DefLoc, Instruction *DefInst, in isCompleteOverwrite() 1313 return isOverwrite(UseInst, DefInst, *CC, DefLoc, InstWriteOffset, in isCompleteOverwrite() 1319 bool isWriteAtEndOfFunction(MemoryDef *Def, const MemoryLocation &DefLoc) { in isWriteAtEndOfFunction() 1338 if (!isGuaranteedLoopInvariant(DefLoc.Ptr)) in isWriteAtEndOfFunction() 1347 if (isReadClobber(DefLoc, UseInst)) { in isWriteAtEndOfFunction() 1413 bool isReadClobber(const MemoryLocation &DefLoc, Instruction *UseInst) { in isReadClobber() 1429 return isRefSet(BatchAA.getModRefInfo(UseInst, DefLoc)); in isReadClobber() 1976 auto DefLoc = getLocForWrite(DefI); in eliminateDeadWritesAtEndOfFunction() local 1977 if (!DefLoc || !isRemovable(DefI)) { in eliminateDeadWritesAtEndOfFunction() 1988 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 578 const PresumedLoc DefLoc = in getTemplightEntry() local 580 if (!DefLoc.isInvalid()) in getTemplightEntry() 581 Entry.DefinitionLocation = std::string(DefLoc.getFilename()) + ":" + in getTemplightEntry() 582 std::to_string(DefLoc.getLine()) + ":" + in getTemplightEntry() 583 std::to_string(DefLoc.getColumn()); in getTemplightEntry()
|
| H A D | PrintPreprocessedOutput.cpp | 568 SourceLocation DefLoc = MI->getDefinitionLoc(); in MacroDefined() local 571 if (SM.isInPredefinedFile(DefLoc)) in MacroDefined() 574 MoveToLine(DefLoc, /*RequireStartOfLine=*/true); in MacroDefined()
|
| H A D | VerifyDiagnosticConsumer.cpp | 332 SourceLocation DefLoc; member 375 return attachDirective(Diags, UD, M.DefLoc); in addDirective() 388 Diags.Report(M.DefLoc, diag::note_verify_ambiguous_marker) << Name; in finalize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 206 const MemoryLocation DefLoc = MemoryLocation::get(I); in getModRefInfo() local 207 ModRefInfo MR = getModRefInfo(Call2, DefLoc, AAQI); in getModRefInfo()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 121 MacroInfo(SourceLocation DefLoc);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCDwarf.h | 387 SMLoc DefLoc,
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCDwarf.cpp | 280 SMLoc DefLoc, in endCurrentSeqAndEmitLineStreamLabel() argument 291 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc, LineStreamLabel, DefLoc); in endCurrentSeqAndEmitLineStreamLabel()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonConstExtenders.cpp | 1509 Loc DefLoc(DomB, It); in calculatePlacement() local 1510 Defs.emplace_back(DefLoc, Refs); in calculatePlacement()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 3687 SMLoc DefLoc = Lex.getLoc(); in ParseDef() local 3694 SMLoc NameLoc = Lex.getCode() == tgtok::Id ? Lex.getLoc() : DefLoc; in ParseDef() 3703 CurRec = std::make_unique<Record>(Records.getNewAnonymousName(), DefLoc, in ParseDef()
|