Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.cpp130 const SourceInfo &E = S.Current->getSource(OpPC); in diagnoseMissingInitializer()
148 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseUnknownDecl()
164 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseUnknownDecl()
178 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseNonConstVariable()
226 const SourceInfo &E = S.Current->getSource(OpPC); in CheckTemporary()
379 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive()
405 const SourceInfo &E = S.Current->getSource(OpPC); in CheckArray()
413 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
424 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
508 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckNull()
[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 DInterpFrame.cpp243 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource() function in InterpFrame
247 return Caller->getSource(RetPC); in getSource()
251 SourceInfo Result = S.getSource(Func, PC); in getSource()
253 return Caller->getSource(RetPC); in getSource()
H A DInterpState.h109 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource() function
111 return M->getSource(F, PC); in getSource()
114 return F->getSource(PC); in getSource()
H A DEvalEmitter.h83 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource() function
84 return (F && F->hasBody()) ? F->getSource(PC) : CurrentSource; in getSource()
H A DInterp.h184 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckShift()
247 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckDivRem()
278 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckArraySize()
577 const SourceInfo &E = S.Current->getSource(OpPC); in Divc()
592 const SourceInfo &E = S.Current->getSource(OpPC); in Divc()
1050 const SourceInfo &Loc = S.Current->getSource(OpPC);
1058 const SourceInfo &Loc = S.Current->getSource(OpPC);
1072 S.CCEDiag(S.Current->getSource(OpPC),
1111 const SourceInfo &Loc = S.Current->getSource(OpPC);
1133 const SourceInfo &Loc = S.Current->getSource(OpPC);
[all …]
H A DInterpBuiltin.cpp136 auto Loc = S.Current->getSource(OpPC); in diagnoseNonConstexprBuiltin()
1524 const SourceInfo &Loc = S.Current->getSource(OpPC); in interp__builtin_operator_new()
1619 const SourceInfo &Loc = S.Current->getSource(OpPC); in interp__builtin_operator_delete()
1770 S.FFDiag(S.Current->getSource(OpPC), diag::note_constexpr_memcpy_null) in interp__builtin_memcpy()
1782 S.FFDiag(S.Current->getSource(OpPC), diag::note_constexpr_memcpy_null) in interp__builtin_memcpy()
1810 S.FFDiag(S.Current->getSource(OpPC), in interp__builtin_memcpy()
1828 S.FFDiag(S.Current->getSource(OpPC), diag::note_constexpr_memcpy_type_pun) in interp__builtin_memcpy()
1837 S.FFDiag(S.Current->getSource(OpPC), in interp__builtin_memcpy()
1844 S.FFDiag(S.Current->getSource(OpPC), diag::note_constexpr_memcpy_nontrivial) in interp__builtin_memcpy()
1854 S.FFDiag(S.Current->getSource(OpPC), in interp__builtin_memcpy()
[all …]
H A DFunction.cpp62 SourceInfo Function::getSource(CodePtr PC) const { in getSource() function in Function
H A DSource.h104 virtual SourceInfo getSource(const Function *F, CodePtr PC) const = 0;
H A DPointer.h305 DeclTy getSource() const { in getSource() function
307 return getDeclDesc()->getSource(); in getSource()
313 return asIntPointer().Desc ? asIntPointer().Desc->getSource() : DeclTy(); in getSource()
H A DInterpFrame.h122 SourceInfo getSource(CodePtr PC) const;
H A DFunction.h151 SourceInfo getSource(CodePtr PC) const;
/freebsd/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(getSource().size()); in ResourcePressureView()
63 ArrayRef<llvm::MCInst> Source = getSource(); in onEvent()
155 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerIter()
183 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerInst()
213 ArrayRef<llvm::MCInst> Source = getSource(); in toJSON()
H A DInstructionInfoView.cpp52 ArrayRef<llvm::MCInst> Source = getSource(); in printView()
192 for (const auto I : zip(getSource(), IIVD)) { in collectData()
268 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/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp289 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs()
290 Cmd.getSource().getKind() == driver::Action::BackendJobClass || in stripPositionalArgs()
291 Cmd.getSource().getKind() == driver::Action::CompileJobClass || in stripPositionalArgs()
292 Cmd.getSource().getKind() == driver::Action::PrecompileJobClass) { in stripPositionalArgs()
293 CompileAnalyzer.run(&Cmd.getSource()); in stripPositionalArgs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1120 if (BAA.isMustAlias(MDep->getDest(), MDep->getSource())) in processMemCpyMemCpyDependence()
1127 if (M->getSource() != MDep->getDest()) { in processMemCpyMemCpyDependence()
1129 M->getSource()->getPointerOffsetFrom(MDep->getDest(), DL); in processMemCpyMemCpyDependence()
1161 auto *CopySource = MDep->getSource(); in processMemCpyMemCpyDependence()
1437 if (hasUndefContents(MSSA, BAA, MemCpy->getSource(), MD, CopySize)) in overreadUndefContents()
1464 if (MemCpy->getSource() != MemSet->getDest()) { in performMemCpyToMemSetOptzn()
1466 MemCpy->getSource()->getPointerOffsetFrom(MemSet->getDest(), DL); in performMemCpyToMemSetOptzn()
1749 if (M->getSource() == M->getDest()) { in processMemCpy()
1768 if (auto *GV = dyn_cast<GlobalVariable>(M->getSource())) in processMemCpy()
1817 if (performCallSlotOptzn(M, M, M->getDest(), M->getSource(), in processMemCpy()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILCBufferAccess.cpp219 DL.getIndexTypeSizeInBits(MCI->getSource()->getType()), Offset); in copyArrayElemsForMemCpy()
241 if (MCI->getSource() != CBR.Member) in replaceMemCpy()
268 MCI->getSource()->getName()); in replaceMemCpy()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DCompilation.cpp225 if (A == &(CI.second->getSource())) in ActionFailed()
237 return !ActionFailed(&C.getSource(), FailingCommands); in InputsOk()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp294 Constant *Src = dyn_cast<Constant>(MTI->getSource()); in analyzeLoadFromClobberingMemInst()
450 Constant *Src = cast<Constant>(MTI->getSource()); in getMemInstValueForLoad()
474 Constant *Src = cast<Constant>(MTI->getSource()); in getConstantMemInstValueForLoad()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h161 Instruction *getSource(const MemoryDepChecker &DepChecker) const;
971 inline Instruction *MemoryDepChecker::Dependence::getSource( in getSource() function
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DJob.h188 const Action &getSource() const { return Source; } in getSource() function

123