Home
last modified time | relevance | path

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

12

/freebsd-src/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp63 const SourceInfo &E = S.Current->getSource(OpPC); in diagnoseNonConstVariable()
72 const SourceInfo &E = S.Current->getSource(OpPC); in diagnoseNonConstVariable()
98 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive()
151 const SourceInfo &Loc = S.Current->getSource(OpPC); in cleanupAfterFunctionCall()
169 const SourceInfo &E = S.Current->getSource(OpPC); in cleanupAfterFunctionCall()
266 const SourceInfo &E = S.Current->getSource(OpPC); in CheckConstant()
274 const auto &Src = S.Current->getSource(OpPC); in CheckDummy()
285 const auto &Src = S.Current->getSource(OpPC); in CheckNull()
345 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckMutable()
356 const SourceInfo &Loc = S.Current->getSource(OpP in CheckInitialized()
[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.h94 SourceInfo getSource(const Function *F, CodePtr PC) const override {
96 return M->getSource(F, PC);
99 return F->getSource(PC);
91 SourceInfo getSource(const Function *F, CodePtr PC) const override { getSource() function
H A DEvalEmitter.h75 SourceInfo getSource(const Function *F, CodePtr PC) const override {
76 return (F && F->hasBody()) ? F->getSource(PC) : CurrentSource;
67 SourceInfo getSource(const Function *F, CodePtr PC) const override { getSource() function
H A DInterpFrame.cpp240 SourceInfo InterpFrame::getSource(CodePtr PC) const {
244 return Caller->getSource(RetPC);
246 return S.getSource(Func, PC); in getRange()
228 SourceInfo InterpFrame::getSource(CodePtr PC) const { getSource() function in InterpFrame
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.h115 virtual SourceInfo getSource(CodePtr PC) const; in getRetPC()
H A DFunction.h132 SourceInfo getSource(CodePtr PC) const; in isConstexpr()
H A DInterp.h154 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckShift()
213 const SourceInfo &Loc = S.Current->getSource(OpPC); in Ret()
236 const SourceInfo &Loc = S.Current->getSource(OpPC); in Ret()
512 const SourceInfo &E = S.Current->getSource(OpPC);
917 const SourceInfo &Loc = S.Current->getSource(OpPC); in GetParam()
933 const SourceInfo &Loc = S.Current->getSource(OpPC); in GetField()
951 const SourceInfo &Loc = S.Current->getSource(OpPC); in SetField()
980 const SourceInfo &Loc = S.Current->getSource(OpPC); in GetThisField()
990 const SourceInfo &Loc = S.Current->getSource(OpPC); in SetThisField()
996 const SourceInfo &Loc = S.Current->getSource(OpP in SetThisField()
[all...]
/freebsd-src/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.cpp310 ArrayRef<llvm::MCInst> Source = getSource(); in printCriticalSequence()
456 unsigned SourceSize = getSource().size(); in addRegisterDep()
468 unsigned SourceSize = getSource().size(); in addMemoryDep()
480 unsigned SourceSize = getSource().size(); in addResourceDep()
503 ArrayRef<llvm::MCInst> Source = getSource(); in onEvent()
H A DInstructionView.h52 llvm::ArrayRef<llvm::MCInst> getSource() const { return Source; } in getSource() function
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1133 if (M->getSource() == MDep->getSource()) in processMemCpyMemCpyDependence()
1144 if (M->getSource() != MDep->getDest()) { in processMemCpyMemCpyDependence()
1146 M->getSource()->getPointerOffsetFrom(MDep->getDest(), DL); in processMemCpyMemCpyDependence()
1163 auto *CopySource = MDep->getSource(); in processMemCpyMemCpyDependence()
1470 if (hasUndefContents(MSSA, BAA, MemCpy->getSource(), MD, CopySize)) in performStackMoveOptzn()
1731 if (M->getSource() == M->getDest()) { in processMemCpy()
1750 if (auto *GV = dyn_cast<GlobalVariable>(M->getSource())) in processMemCpy()
1799 if (performCallSlotOptzn(M, M, M->getDest(), M->getSource(), in processMemMove()
1825 if (hasUndefContents(MSSA, BAA, M->getSource(), M in processByValArgument()
[all...]
H A DAlignmentFromAssumptions.cpp251 getNewAlignment(AASCEV, AlignSCEV, OffSCEV, MTI->getSource(), SE); in processAssumption()
/freebsd-src/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-src/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-src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h164 Instruction *getSource(const MemoryDepChecker &DepChecker) const;
888 inline Instruction *MemoryDepChecker::Dependence::getSource(
821 inline Instruction *MemoryDepChecker::Dependence::getSource( getSource() function
/freebsd-src/contrib/llvm-project/clang/include/clang/Driver/
H A DJob.h189 const Action &getSource() const { return Source; } in getSource() function
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp310 Check(AA->alias(MCI->getSource(), Size, MCI->getDest(), Size) != in visitCallBase()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h531 inline std::optional<StringRef> getSource() const;
640 getChecksum(), getSource()); in cloneImpl()
665 std::optional<StringRef> getSource() const { in getSource()
697 std::optional<StringRef> DIScope::getSource() const { in getSource()
699 return F->getSource(); in getSource()
2028 std::optional<StringRef> getSource() const { return getScope()->getSource(); } in isPseudoProbeDiscriminator()
2700 std::optional<StringRef> getSource() const {
2702 return F->getSource();
664 std::optional<StringRef> getSource() const { getSource() function
696 std::optional<StringRef> DIScope::getSource() const { getSource() function
1970 std::optional<StringRef> getSource() const { return getScope()->getSource(); } getSource() function
2635 std::optional<StringRef> getSource() const { getSource() function

12