Home
last modified time | relevance | path

Searched refs:getSource (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp61 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseNonConstVariable()
101 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive()
119 const SourceInfo &E = S.Current->getSource(OpPC); in CheckTemporary()
201 const SourceInfo &E = S.Current->getSource(OpPC); in CheckArray()
209 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
220 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
465 S.FFDiag(S.Current->getSource(OpPC), in CheckCallDepth()
495 const SourceInfo &E = S.Current->getSource(OpPC); in CheckPure()
506 const SourceInfo &E = S.Current->getSource(OpPC); in CheckPotentialReinterpretCast()
514 const SourceInfo &E = S.Current->getSource(OpPC); in CheckFloatResult()
[all …]
H A DSource.cpp42 if (const Expr *E = getSource(F, PC).asExpr()) in getExpr()
48 return getSource(F, PC).getLoc(); in getLocation()
52 return getSource(F, PC).getRange(); in getRange()
H A DInterpState.h91 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource() function
92 return M ? M->getSource(F, PC) : F->getSource(PC); in getSource()
H A DEvalEmitter.h67 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource() function
68 return (F && F->hasBody()) ? F->getSource(PC) : CurrentSource; in getSource()
H A DInterpFrame.cpp228 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource() function in InterpFrame
232 return Caller->getSource(RetPC); in getSource()
234 return S.getSource(Func, PC); in getSource()
H A DFunction.cpp36 SourceInfo Function::getSource(CodePtr PC) const { in getSource() function in Function
H A DSource.h99 virtual SourceInfo getSource(const Function *F, CodePtr PC) const = 0;
H A DInterpFrame.h118 virtual SourceInfo getSource(CodePtr PC) const;
H A DFunction.h129 SourceInfo getSource(CodePtr PC) const;
H A DInterp.h128 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckShift()
173 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckDivRem()
714 const SourceInfo &Loc = S.Current->getSource(OpPC);
737 const SourceInfo &Loc = S.Current->getSource(OpPC);
798 const SourceInfo &Loc = S.Current->getSource(OpPC); in CMP3()
1447 S.CCEDiag(S.Current->getSource(OpPC), diag::note_constexpr_array_index) in OffsetHelper()
1850 const SourceInfo &E = S.Current->getSource(OpPC); in ArrayDecay()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DTimelineView.cpp26 unsigned NumInstructions = getSource().size(); in TimelineView()
43 if (IR.getSourceIndex() >= getSource().size()) in onReservedBuffers()
73 WaitTimeEntry &WTEntry = WaitTime[Index % getSource().size()]; in onEvent()
138 bool PrintingTotals = SourceIndex == getSource().size(); in printWaitTimeEntry()
189 unsigned Executions = Timeline.size() / getSource().size(); in printAverageWaitTimes()
191 for (const MCInst &Inst : getSource()) { in printAverageWaitTimes()
200 if (getSource().size() != 1) { in printAverageWaitTimes()
287 ArrayRef<llvm::MCInst> Source = getSource(); in printTimeline()
H A DResourcePressureView.cpp40 ResourceUsage.resize(NumResourceUnits * (getSource().size() + 1)); in ResourcePressureView()
55 ArrayRef<llvm::MCInst> Source = getSource(); in onEvent()
136 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerIter()
157 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerInst()
181 ArrayRef<llvm::MCInst> Source = getSource(); in toJSON()
H A DInstructionInfoView.cpp25 ArrayRef<llvm::MCInst> Source = getSource(); in printView()
115 for (const auto I : zip(getSource(), IIVD)) { in collectData()
160 ArrayRef<llvm::MCInst> Source = getSource(); in toJSON()
H A DInstructionView.cpp35 for (const auto &MCI : getSource()) { in toJSON()
H A DBottleneckAnalysis.cpp309 ArrayRef<llvm::MCInst> Source = getSource(); in printCriticalSequence()
455 unsigned SourceSize = getSource().size(); in addRegisterDep()
467 unsigned SourceSize = getSource().size(); in addMemoryDep()
479 unsigned SourceSize = getSource().size(); in addResourceDep()
502 ArrayRef<llvm::MCInst> Source = getSource(); in onEvent()
H A DInstructionView.h52 llvm::ArrayRef<llvm::MCInst> getSource() const { return Source; } in getSource() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp295 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs()
296 Cmd.getSource().getKind() == driver::Action::BackendJobClass || in stripPositionalArgs()
297 Cmd.getSource().getKind() == driver::Action::CompileJobClass || in stripPositionalArgs()
298 Cmd.getSource().getKind() == driver::Action::PrecompileJobClass) { in stripPositionalArgs()
299 CompileAnalyzer.run(&Cmd.getSource()); in stripPositionalArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1126 if (M->getSource() != MDep->getDest() || MDep->isVolatile()) in processMemCpyMemCpyDependence()
1134 if (M->getSource() == MDep->getSource()) in processMemCpyMemCpyDependence()
1661 if (M->getSource() == M->getDest()) { in processMemCpy()
1681 if (auto *GV = dyn_cast<GlobalVariable>(M->getSource())) in processMemCpy()
1730 if (performCallSlotOptzn(M, M, M->getDest(), M->getSource(), in processMemCpy()
1756 if (hasUndefContents(MSSA, BAA, M->getSource(), MD, M->getLength())) { in processMemCpy()
1770 auto *SrcAlloca = dyn_cast<AllocaInst>(M->getSource()); in processMemCpy()
1857 if (MDep->getSource()->getType() != ByValArg->getType()) in processByValArgument()
1876 CB.setArgOperand(ArgNo, MDep->getSource()); in processByValArgument()
1933 if (MDep->getSource()->getType() != ImmutArg->getType()) in processImmutArgument()
[all …]
H A DAlignmentFromAssumptions.cpp251 getNewAlignment(AASCEV, AlignSCEV, OffSCEV, MTI->getSource(), SE); in processAssumption()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DCompilation.cpp227 if (A == &(CI.second->getSource())) in ActionFailed()
239 return !ActionFailed(&C.getSource(), FailingCommands); in InputsOk()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp271 Constant *Src = dyn_cast<Constant>(MTI->getSource()); in analyzeLoadFromClobberingMemInst()
401 Constant *Src = cast<Constant>(MTI->getSource()); in getMemInstValueForLoad()
425 Constant *Src = cast<Constant>(MTI->getSource()); in getConstantMemInstValueForLoad()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h163 Instruction *getSource(const LoopAccessInfo &LAI) const;
821 inline Instruction *MemoryDepChecker::Dependence::getSource( in getSource() function
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Driver/
H A DJob.h189 const Action &getSource() const { return Source; } in getSource() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp304 Check(AA->alias(MCI->getSource(), Size, MCI->getDest(), Size) != in visitCallBase()
321 Check(AA->alias(MCII->getSource(), LS, MCII->getDest(), LS) != in visitCallBase()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h530 inline std::optional<StringRef> getSource() const;
639 getChecksum(), getSource()); in cloneImpl()
664 std::optional<StringRef> getSource() const { in getSource() function
696 std::optional<StringRef> DIScope::getSource() const { in getSource() function
698 return F->getSource(); in getSource()
1970 std::optional<StringRef> getSource() const { return getScope()->getSource(); } in getSource() function
2635 std::optional<StringRef> getSource() const { in getSource() function
2637 return F->getSource(); in getSource()

12