Home
last modified time | relevance | path

Searched refs:DefLoc (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.cpp266 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 DExtractAPIConsumer.cpp305 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 DMIRCanonicalizerPass.cpp213 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 DMacroInfo.cpp47 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 DDeadStoreElimination.cpp1299 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 DFrontendActions.cpp578 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 DPrintPreprocessedOutput.cpp568 SourceLocation DefLoc = MI->getDefinitionLoc(); in MacroDefined() local
571 if (SM.isInPredefinedFile(DefLoc)) in MacroDefined()
574 MoveToLine(DefLoc, /*RequireStartOfLine=*/true); in MacroDefined()
H A DVerifyDiagnosticConsumer.cpp332 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 DAliasAnalysis.cpp206 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 DMacroInfo.h121 MacroInfo(SourceLocation DefLoc);
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h387 SMLoc DefLoc,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCDwarf.cpp280 SMLoc DefLoc, in endCurrentSeqAndEmitLineStreamLabel() argument
291 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc, LineStreamLabel, DefLoc); in endCurrentSeqAndEmitLineStreamLabel()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp1509 Loc DefLoc(DomB, It); in calculatePlacement() local
1510 Defs.emplace_back(DefLoc, Refs); in calculatePlacement()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp3687 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()