Home
last modified time | relevance | path

Searched refs:DLoc (Results 1 – 18 of 18) 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.cpp84 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, IsInliningRecommended, in recordInliningImpl()
94 "NotInlined", DLoc, Block) in recordUnsuccessfulInliningImpl()
114 "NotInlined", DLoc, Block) in recordUnsuccessfulInliningImpl()
123 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningWithCalleeDeletedImpl()
130 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningImpl()
180 DLoc(CB.getDebugLoc()), Block(CB.getParent()), ORE(ORE), in InlineAdvice()
437 std::string llvm::formatCallSiteLocation(DebugLoc DLoc, in formatCallSiteLocation() argument
442 for (DILocation *DIL = DLoc.get(); DIL; DIL = DIL->getInlinedAt()) { in formatCallSiteLocation()
465 void llvm::addLocationToRemarks(OptimizationRemark &Remark, DebugLoc DLoc) { in addLocationToRemarks() argument
466 if (!DLoc) { in addLocationToRemarks()
[all …]
H A DMLInlineAdvisor.cpp537 OptimizationRemark R(DEBUG_TYPE, "InliningSuccess", DLoc, Block); in recordInliningImpl()
546 OptimizationRemark R(DEBUG_TYPE, "InliningSuccessWithCalleeDeleted", DLoc, in recordInliningWithCalleeDeletedImpl()
559 DLoc, Block); in recordUnsuccessfulInliningImpl()
567 OptimizationRemarkMissed R(DEBUG_TYPE, "IniningNotAttempted", DLoc, Block); in recordUnattemptedInliningImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineAdvisor.h112 const DebugLoc &getOriginalCallSiteDebugLoc() const { return DLoc; } in isInliningRecommended()
129 const DebugLoc DLoc;
379 void emitInlinedInto(OptimizationRemarkEmitter &ORE, DebugLoc DLoc,
386 void emitInlinedIntoBasedOnCost(OptimizationRemarkEmitter &ORE, DebugLoc DLoc,
393 void addLocationToRemarks(OptimizationRemark &Remark, DebugLoc DLoc);
130 const DebugLoc DLoc; global() variable
H A DReplayInlineAdvisor.h54 std::string formatCallSiteLocation(DebugLoc DLoc, const CallSiteFormat &Format);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAlwaysInliner.cpp61 DebugLoc DLoc = CB->getDebugLoc(); in AlwaysInlineImpl() local
72 return OptimizationRemarkMissed(DEBUG_TYPE, "NotInlined", DLoc, Block) in AlwaysInlineImpl()
81 ORE, DLoc, Block, F, *Caller, in AlwaysInlineImpl()
H A DOpenMPOpt.cpp4190 const DebugLoc &DLoc = KernelInitCB->getDebugLoc(); in forceSingleThreadPerWorkgroupHelper() local
4191 ReturnInst::Create(Ctx, ReturnBB)->setDebugLoc(DLoc); in forceSingleThreadPerWorkgroupHelper()
4205 ThreadIdInBlock->setDebugLoc(DLoc); in forceSingleThreadPerWorkgroupHelper()
4212 IsMainThread->setDebugLoc(DLoc); in forceSingleThreadPerWorkgroupHelper()
4452 const DebugLoc &DLoc = KernelInitCB->getDebugLoc(); in buildCustomStateMachine() local
4453 ReturnInst::Create(Ctx, StateMachineFinishedBB)->setDebugLoc(DLoc); in buildCustomStateMachine()
4460 IsWorker->setDebugLoc(DLoc); in buildCustomStateMachine()
4473 BlockHwSize->setDebugLoc(DLoc); in buildCustomStateMachine()
4477 WarpSize->setDebugLoc(DLoc); in buildCustomStateMachine()
4480 BlockSize->setDebugLoc(DLoc); in buildCustomStateMachine()
[all …]
H A DSampleProfile.cpp657 const DebugLoc &DLoc = Inst.getDebugLoc(); in getInstWeight() local
658 if (!DLoc) in getInstWeight()
1240 DebugLoc DLoc = CB.getDebugLoc(); in tryInlineCandidate() local
1246 "InlineFail", DLoc, BB) in tryInlineCandidate()
1262 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.cpp316 DebugLoc DLoc = CB->getDebugLoc(); in getOneDebugLoc() local
318 return std::make_tuple(DLoc, Block); in getOneDebugLoc()
1336 DebugLoc DLoc; in tryPartialInline() local
1338 std::tie(DLoc, Block) = getOneDebugLoc(*Cloner.ClonedFunc); in tryPartialInline()
1341 DLoc, Block) in tryPartialInline()
H A DWholeProgramDevirt.cpp419 DebugLoc DLoc = CB.getDebugLoc(); in emitRemark() local
423 OREGetter(F).emit(OptimizationRemark(DEBUG_TYPE, OptName, DLoc, Block) in emitRemark()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCMissingSuperCallChecker.cpp194 PathDiagnosticLocation DLoc = in checkASTDecl() local
208 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.h415 const DebugLoc &DLoc = Inst.getDebugLoc();
416 if (!DLoc)
419 const DILocation *DIL = DLoc;
445 LLVM_DEBUG(dbgs() << " " << DLoc.getLine() << "." << Discriminator << ":"
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp244 SourceLocation DLoc = D->getLocation(); in getPosAsWritten() local
246 if (ALoc.isInvalid() || DLoc.isInvalid()) in getPosAsWritten()
249 if (C.getSourceManager().isBeforeInTranslationUnit(ALoc, DLoc)) in getPosAsWritten()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2153 DebugLoc DLoc = SI->getDebugLoc(); in processCopyingStore() local
2289 NewCall->setDebugLoc(DLoc); in processCopyingStore()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h2413 const SDLoc &DLoc);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp13218 const SDLoc &DLoc) { in makeStateFunctionCall() argument
13229 CLI.setDebugLoc(DLoc).setChain(InChain).setLibCallee( in makeStateFunctionCall()