Home
last modified time | relevance | path

Searched refs:DLoc (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp51 if (const DebugLoc &DLoc = Inst.getDebugLoc()) in extractProbeFromDiscriminator() local
52 return extractProbeFromDiscriminator(DLoc); in extractProbeFromDiscriminator()
65 if (const DebugLoc &DLoc = Inst.getDebugLoc()) in extractProbe() local
66 Probe.Discriminator = DLoc->getDiscriminator(); in extractProbe()
88 if (const DebugLoc &DLoc = Inst.getDebugLoc()) { in setProbeDistributionFactor() local
89 const DILocation *DIL = DLoc; in setProbeDistributionFactor()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp93 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, IsInliningRecommended, in recordInliningImpl()
103 "NotInlined", DLoc, Block) in recordUnsuccessfulInliningImpl()
123 "NotInlined", DLoc, Block) in recordUnsuccessfulInliningImpl()
132 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningWithCalleeDeletedImpl()
139 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningImpl()
194 DLoc(CB.getDebugLoc()), Block(CB.getParent()), ORE(ORE), in InlineAdvice()
472 std::string llvm::formatCallSiteLocation(DebugLoc DLoc, in formatCallSiteLocation() argument
477 for (DILocation *DIL = DLoc.get(); DIL; DIL = DIL->getInlinedAt()) { in formatCallSiteLocation()
500 void llvm::addLocationToRemarks(OptimizationRemark &Remark, DebugLoc DLoc) { in addLocationToRemarks() argument
501 if (!DLoc) { in addLocationToRemarks()
[all …]
H A DMLInlineAdvisor.cpp564 OptimizationRemark R(DEBUG_TYPE, "InliningSuccess", DLoc, Block); in recordInliningImpl()
573 OptimizationRemark R(DEBUG_TYPE, "InliningSuccessWithCalleeDeleted", DLoc, in recordInliningWithCalleeDeletedImpl()
586 DLoc, Block); in recordUnsuccessfulInliningImpl()
594 OptimizationRemarkMissed R(DEBUG_TYPE, "IniningNotAttempted", DLoc, Block); in recordUnattemptedInliningImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineAdvisor.h113 const DebugLoc &getOriginalCallSiteDebugLoc() const { return DLoc; } in getOriginalCallSiteDebugLoc()
130 const DebugLoc DLoc; variable
378 emitInlinedInto(OptimizationRemarkEmitter &ORE, DebugLoc DLoc,
386 OptimizationRemarkEmitter &ORE, DebugLoc DLoc, const BasicBlock *Block,
391 LLVM_ABI void addLocationToRemarks(OptimizationRemark &Remark, DebugLoc DLoc);
H A DReplayInlineAdvisor.h53 std::string formatCallSiteLocation(DebugLoc DLoc, const CallSiteFormat &Format);
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h247 SourceLocation DLoc, in handleUnmatchedUnderlyingMutexes() argument
258 SourceLocation DLoc, in handleExpectMoreUnderlyingMutexes() argument
269 SourceLocation DLoc, in handleExpectFewerUnderlyingMutexes() argument
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAlwaysInliner.cpp61 DebugLoc DLoc = CB->getDebugLoc(); in AlwaysInlineImpl() local
69 return OptimizationRemarkMissed(DEBUG_TYPE, "NotInlined", DLoc, Block) in AlwaysInlineImpl()
78 ORE, DLoc, Block, F, *Caller, in AlwaysInlineImpl()
H A DOpenMPOpt.cpp4198 const DebugLoc &DLoc = KernelInitCB->getDebugLoc(); in forceSingleThreadPerWorkgroupHelper() local
4199 ReturnInst::Create(Ctx, ReturnBB)->setDebugLoc(DLoc); in forceSingleThreadPerWorkgroupHelper()
4213 ThreadIdInBlock->setDebugLoc(DLoc); in forceSingleThreadPerWorkgroupHelper()
4220 IsMainThread->setDebugLoc(DLoc); in forceSingleThreadPerWorkgroupHelper()
4454 const DebugLoc &DLoc = KernelInitCB->getDebugLoc(); in buildCustomStateMachine() local
4455 ReturnInst::Create(Ctx, StateMachineFinishedBB)->setDebugLoc(DLoc); in buildCustomStateMachine()
4462 IsWorker->setDebugLoc(DLoc); in buildCustomStateMachine()
4475 BlockHwSize->setDebugLoc(DLoc); in buildCustomStateMachine()
4479 WarpSize->setDebugLoc(DLoc); in buildCustomStateMachine()
4482 BlockSize->setDebugLoc(DLoc); in buildCustomStateMachine()
[all …]
H A DSampleProfile.cpp659 const DebugLoc &DLoc = Inst.getDebugLoc(); in getInstWeight() local
660 if (!DLoc) in getInstWeight()
1241 DebugLoc DLoc = CB.getDebugLoc(); in tryInlineCandidate() local
1247 "InlineFail", DLoc, BB) in tryInlineCandidate()
1263 emitInlinedIntoBasedOnCost(*ORE, DLoc, BB, *CalledFunction, *BB->getParent(), in tryInlineCandidate()
1626 const DebugLoc &DLoc = I.getDebugLoc(); in generateMDProfMetadata() local
1627 if (!DLoc) in generateMDProfMetadata()
1629 const DILocation *DIL = DLoc; in generateMDProfMetadata()
H A DPartialInlining.cpp315 DebugLoc DLoc = CB->getDebugLoc(); in getOneDebugLoc() local
317 return std::make_tuple(DLoc, Block); in getOneDebugLoc()
1328 DebugLoc DLoc; in tryPartialInline() local
1330 std::tie(DLoc, Block) = getOneDebugLoc(*Cloner.ClonedFunc); in tryPartialInline()
1333 DLoc, Block) in tryPartialInline()
H A DWholeProgramDevirt.cpp456 DebugLoc DLoc = CB.getDebugLoc(); in emitRemark() local
460 OREGetter(F).emit(OptimizationRemark(DEBUG_TYPE, OptName, DLoc, Block) in emitRemark()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCMissingSuperCallChecker.cpp193 PathDiagnosticLocation DLoc = in checkASTDecl() local
207 os.str(), DLoc); in checkASTDecl()
H A DCheckObjCDealloc.cpp247 PathDiagnosticLocation DLoc = in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE() local
251 DLoc); in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwiftErrorValueTracking.cpp220 auto DLoc = isa<Instruction>(SwiftErrorVal) in propagateVRegs() local
231 BuildMI(*MBB, MBB->getFirstNonPHI(), DLoc, TII->get(TargetOpcode::COPY), in propagateVRegs()
244 BuildMI(*MBB, MBB->getFirstNonPHI(), DLoc, in propagateVRegs()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h416 const DebugLoc &DLoc = Inst.getDebugLoc();
417 if (!DLoc)
420 const DILocation *DIL = DLoc;
446 LLVM_DEBUG(dbgs() << " " << DLoc.getLine() << "." << Discriminator << ":"
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp2005 void handleUnmatchedUnderlyingMutexes(SourceLocation Loc, SourceLocation DLoc, in handleUnmatchedUnderlyingMutexes() argument
2012 makeManagedMismatchNoteForParam(DLoc)); in handleUnmatchedUnderlyingMutexes()
2016 SourceLocation DLoc, Name scopeName, in handleExpectMoreUnderlyingMutexes() argument
2023 makeManagedMismatchNoteForParam(DLoc)); in handleExpectMoreUnderlyingMutexes()
2027 SourceLocation DLoc, Name scopeName, in handleExpectFewerUnderlyingMutexes() argument
2034 makeManagedMismatchNoteForParam(DLoc)); in handleExpectFewerUnderlyingMutexes()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp248 SourceLocation DLoc = D->getLocation(); in getPosAsWritten() local
250 if (ALoc.isInvalid() || DLoc.isInvalid()) in getPosAsWritten()
253 if (C.getSourceManager().isBeforeInTranslationUnit(ALoc, DLoc)) in getPosAsWritten()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2141 DebugLoc DLoc = SI->getDebugLoc(); in processCopyingStore() local
2277 NewCall->setDebugLoc(DLoc); in processCopyingStore()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h2599 SDValue InChain, const SDLoc &DLoc);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp13837 const SDLoc &DLoc) { in makeStateFunctionCall() argument
13848 CLI.setDebugLoc(DLoc).setChain(InChain).setLibCallee( in makeStateFunctionCall()