Home
last modified time | relevance | path

Searched refs:SrcLoc (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp331 SourceLocation SrcLoc; in lookup() local
332 SrcLoc.Name = LR.FuncName; in lookup()
333 SrcLoc.Offset = Addr - FuncAddr; in lookup()
334 LR.Locations.push_back(SrcLoc); in lookup()
344 SourceLocation SrcLoc; in lookup() local
345 SrcLoc.Name = LR.FuncName; in lookup()
346 SrcLoc.Offset = Addr - FuncAddr; in lookup()
347 SrcLoc.Dir = GR.getString(LineEntryFile->Dir); in lookup()
348 SrcLoc.Base = GR.getString(LineEntryFile->Base); in lookup()
349 SrcLoc.Line = LineEntry->Line; in lookup()
[all …]
H A DInlineInfo.cpp146 SourceLocation SrcLoc; in lookup() local
147 SrcLoc.Name = SrcLocs.back().Name; in lookup()
148 SrcLoc.Offset = SrcLocs.back().Offset; in lookup()
149 SrcLoc.Dir = GR.getString(CallFile->Dir); in lookup()
150 SrcLoc.Base = GR.getString(CallFile->Base); in lookup()
151 SrcLoc.Line = Inline.CallLine; in lookup()
154 SrcLocs.push_back(SrcLoc); in lookup()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDiagnosticInfo.cpp70 if (const MDNode *SrcLoc = I.getMetadata("srcloc")) { in DiagnosticInfoInlineAsm() local
71 if (SrcLoc->getNumOperands() != 0) in DiagnosticInfoInlineAsm()
73 mdconst::dyn_extract<ConstantInt>(SrcLoc->getOperand(0))) in DiagnosticInfoInlineAsm()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DForwardDeclChecker.cpp317 void reportBug(const SourceLocation &SrcLoc, const SourceRange &SrcRange, in reportBug() argument
327 PathDiagnosticLocation BSLoc(SrcLoc, BR->getSourceManager()); in reportBug()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp556 if (const MDNode *SrcLoc = Call.getMetadata("srcloc")) in lowerInlineAsm() local
557 Inst.addMetadata(SrcLoc); in lowerInlineAsm()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1006 MemoryLocation SrcLoc = in performCallSlotOptzn() local
1030 if (isModOrRefSet(BAA.getModRefInfo(&I, SrcLoc)) || I.isTerminator()) in performCallSlotOptzn()
1669 MemoryLocation SrcLoc(SrcAlloca, LocationSize::precise(Size)); in performStackMoveOptzn() local
1676 ModRefInfo Res = BAA.getModRefInfo(UI, SrcLoc); in performStackMoveOptzn()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.h527 ArrayRef<SMLoc> SrcLoc; variable
548 RuleMatcher(ArrayRef<SMLoc> SrcLoc) : SrcLoc(SrcLoc), RuleID(NextRuleID++) {} in RuleMatcher() argument
H A DGlobalISelMatchTable.cpp916 PrintFatalError(SrcLoc, "Register " + Reg->getName() + in getPhysRegOperandMatcher()
927 PrintFatalError(SrcLoc, "Operand " + Name + " was not declared in matcher"); in getOperandMatcher()
936 PrintFatalError(SrcLoc, "Operand " + Name + " was not declared in matcher"); in getOperandMatcher()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_riscv.cpp586 const auto SrcLoc = Loc.getValue() + E.getAddend(); in relaxAlign() local
587 Remove = SrcLoc - DestLoc; in relaxAlign()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp3623 const MemoryLocation &SrcLoc = MemoryLocation::get(Src); in depends() local
3625 switch (underlyingObjectsAlias(AA, F->getDataLayout(), DstLoc, SrcLoc)) { in depends()
3640 if (DstLoc.Size != SrcLoc.Size || !DstLoc.Size.isPrecise() || in depends()
3641 !SrcLoc.Size.isPrecise()) { in depends()
3669 uint64_t EltSize = SrcLoc.Size.toRaw(); in depends()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp4251 Value *SrcLoc = getOrCreateIdent(SrcLocStr, SrcLocStrSize); in applyStaticWorkshareLoop() local
4285 Value *ThreadNum = getOrCreateThreadID(SrcLoc); in applyStaticWorkshareLoop()
4297 {SrcLoc, ThreadNum, SchedulingType, PLastIter, PLowerBound, PUpperBound}); in applyStaticWorkshareLoop()
4325 Builder.CreateCall(StaticFini, {SrcLoc, ThreadNum}); in applyStaticWorkshareLoop()
4402 Value *SrcLoc = getOrCreateIdent(SrcLocStr, SrcLocStrSize); in applyStaticChunkedWorkshareLoop() local
4403 Value *ThreadNum = getOrCreateThreadID(SrcLoc); in applyStaticChunkedWorkshareLoop()
4405 {/*loc=*/SrcLoc, /*global_tid=*/ThreadNum, in applyStaticChunkedWorkshareLoop()
4481 Builder.CreateCall(StaticFini, {SrcLoc, ThreadNum}); in applyStaticChunkedWorkshareLoop()
4848 Value *SrcLoc = getOrCreateIdent(SrcLocStr, SrcLocStrSize); in applyDynamicWorkshareLoop() local
4889 Value *ThreadNum = getOrCreateThreadID(SrcLoc); in applyDynamicWorkshareLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp1179 const MDNode *SrcLoc = Call->getMetadata("srcloc"); in selectCall() local
1180 if (SrcLoc) in selectCall()
1181 MIB.addMetadata(SrcLoc); in selectCall()
H A DSelectionDAGBuilder.cpp10089 const MDNode *SrcLoc = Call.getMetadata("srcloc"); in visitInlineAsm() local
10090 AsmNodeOperands.push_back(DAG.getMDNode(SrcLoc)); in visitInlineAsm()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1461 PathDiagnosticLocation SrcLoc = Piece->getStartLocation(); in addContextEdges() local
1464 PathDiagnosticLocation NextSrcContext = SrcLoc; in addContextEdges()
1515 std::make_shared<PathDiagnosticControlFlowPiece>(SrcLoc, DstContext); in addContextEdges()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2125 LocIdx SrcLoc = MTracker->getRegMLoc(SrcReg); in transferSpillOrRestoreInst() local
2126 TTracker->transferMlocs(SrcLoc, DstLoc, MI.getIterator()); in transferSpillOrRestoreInst()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp558 SourceLocation SrcLoc = AttrArg->getBeginLoc(); in checkParamIsIntegerType() local
559 S.Diag(SrcLoc, diag::err_attribute_integers_only) in checkParamIsIntegerType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp19787 MemoryLocation SrcLoc = getLocation(SrcInst); in calculateDependencies() local
19791 bool IsNonSimpleSrc = !SrcLoc.Ptr || !isSimple(SrcInst); in calculateDependencies()
19807 SLP->isAliased(SrcLoc, SrcInst, DepDest->getInst())))) { in calculateDependencies()