Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp222 SourceLocation SrcLoc; in lookup() local
223 SrcLoc.Name = LR.FuncName; in lookup()
224 SrcLoc.Offset = Addr - FuncAddr; in lookup()
225 LR.Locations.push_back(SrcLoc); in lookup()
235 SourceLocation SrcLoc; in lookup() local
236 SrcLoc.Name = LR.FuncName; in lookup()
237 SrcLoc.Offset = Addr - FuncAddr; in lookup()
238 SrcLoc.Dir = GR.getString(LineEntryFile->Dir); in lookup()
239 SrcLoc.Base = GR.getString(LineEntryFile->Base); in lookup()
240 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()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDiagnosticInfo.cpp54 if (const MDNode *SrcLoc = I.getMetadata("srcloc")) { in DiagnosticInfoInlineAsm() local
55 if (SrcLoc->getNumOperands() != 0) in DiagnosticInfoInlineAsm()
57 mdconst::dyn_extract<ConstantInt>(SrcLoc->getOperand(0))) in DiagnosticInfoInlineAsm()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp595 if (const MDNode *SrcLoc = Call.getMetadata("srcloc")) in lowerInlineAsm() local
596 Inst.addMetadata(SrcLoc); in lowerInlineAsm()
/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2042 Value *SrcLoc = getOrCreateIdent(SrcLocStr, SrcLocStrSize); in applyStaticWorkshareLoop() local
2071 Value *ThreadNum = getOrCreateThreadID(SrcLoc); in applyStaticWorkshareLoop()
2101 Builder.CreateCall(StaticFini, {SrcLoc, ThreadNum}); in applyStaticWorkshareLoop()
2170 Value *SrcLoc = getOrCreateIdent(SrcLocStr, SrcLocStrSize); in applyStaticChunkedWorkshareLoop() local
2171 Value *ThreadNum = getOrCreateThreadID(SrcLoc); in applyStaticChunkedWorkshareLoop()
2173 {/*loc=*/SrcLoc, /*global_tid=*/ThreadNum, in applyStaticChunkedWorkshareLoop()
2242 Builder.CreateCall(StaticFini, {SrcLoc, ThreadNum}); in applyStaticChunkedWorkshareLoop()
2373 Value *SrcLoc = getOrCreateIdent(SrcLocStr, SrcLocStrSize); in applyDynamicWorkshareLoop() local
2413 Value *ThreadNum = getOrCreateThreadID(SrcLoc); in applyDynamicWorkshareLoop()
2430 Builder.CreateCall(DynamicNext, {SrcLoc, ThreadNum, PLastIter, in applyDynamicWorkshareLoop()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1005 MemoryLocation SrcLoc = in performCallSlotOptzn() local
1029 if (isModOrRefSet(AA->getModRefInfo(&I, SrcLoc)) || I.isTerminator()) in performCallSlotOptzn()
/llvm-project-15.0.7/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.cpp8782 const MDNode *SrcLoc = Call.getMetadata("srcloc"); in visitInlineAsm() local
8783 AsmNodeOperands.push_back(DAG.getMDNode(SrcLoc)); in visitInlineAsm()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp869 ArrayRef<SMLoc> SrcLoc; member in __anoncee47b830111::RuleMatcher
887 RuleMatcher(ArrayRef<SMLoc> SrcLoc) in RuleMatcher() argument
888 : NextInsnVarID(0), NextOutputInsnID(0), NextTempRegID(0), SrcLoc(SrcLoc), in RuleMatcher()
3346 PrintFatalError(SrcLoc, "Register " + Reg->getName() + in getPhysRegOperandMatcher()
3358 PrintFatalError(SrcLoc, "Operand " + Name + " was not declared in matcher"); in getOperandMatcher()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1432 PathDiagnosticLocation SrcLoc = Piece->getStartLocation(); in addContextEdges() local
1435 PathDiagnosticLocation NextSrcContext = SrcLoc; in addContextEdges()
1486 std::make_shared<PathDiagnosticControlFlowPiece>(SrcLoc, DstContext); in addContextEdges()
/llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp1651 LocIdx SrcLoc = MTracker->getRegMLoc(SrcReg); in transferSpillOrRestoreInst() local
1652 TTracker->transferMlocs(SrcLoc, DstLoc, MI.getIterator()); in transferSpillOrRestoreInst()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclAttr.cpp814 SourceLocation SrcLoc = AttrArg->getBeginLoc(); in checkParamIsIntegerType() local
815 S.Diag(SrcLoc, diag::err_attribute_integers_only) in checkParamIsIntegerType()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp9462 MemoryLocation SrcLoc = getLocation(SrcInst); in calculateDependencies() local
9480 SLP->isAliased(SrcLoc, SrcInst, DepDest->Inst)))) { in calculateDependencies()