Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp106 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckInitialized()
138 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive()
156 const SourceInfo &E = S.Current->getSource(OpPC); in CheckTemporary()
197 const SourceInfo &E = S.Current->getSource(OpPC); in CheckArray()
204 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
235 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckNull()
244 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
253 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
265 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckConst()
276 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckMutable()
[all …]
H A DInterpState.h84 SourceInfo getSource(Function *F, CodePtr PC) const override { in getSource() function
85 return M ? M->getSource(F, PC) : F->getSource(PC); in getSource()
H A DSource.cpp32 if (const Expr *E = getSource(F, PC).asExpr()) in getExpr()
38 return getSource(F, PC).getLoc(); in getLocation()
H A DEvalEmitter.h74 SourceInfo getSource(Function *F, CodePtr PC) const override { in getSource() function
75 return F ? F->getSource(PC) : CurrentSource; in getSource()
H A DInterpFrame.cpp182 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource() function in InterpFrame
183 return S.getSource(Func, PC); in getSource()
H A DFunction.cpp34 SourceInfo Function::getSource(CodePtr PC) const { in getSource() function in Function
H A DSource.h107 virtual SourceInfo getSource(Function *F, CodePtr PC) const = 0;
H A DInterpFrame.h109 virtual SourceInfo getSource(CodePtr PC) const;
H A DFunction.h100 SourceInfo getSource(CodePtr PC) const;
H A DInterp.h183 const SourceInfo &Loc = S.Current->getSource(OpPC);
749 S.CCEDiag(S.Current->getSource(OpPC), diag::note_constexpr_array_index) in OffsetHelper()
903 const SourceInfo &Loc = S.Current->getSource(OpPC); in Shr()
918 const SourceInfo &Loc = S.Current->getSource(OpPC); in Shl()
/freebsd-13.1/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()
96 for (const auto I : zip(getSource(), IIVD)) { in collectData()
136 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.h51 llvm::ArrayRef<llvm::MCInst> getSource() const { return Source; } in getSource() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1060 if (M->getSource() != MDep->getDest() || MDep->isVolatile()) in processMemCpyMemCpyDependence()
1068 if (M->getSource() == MDep->getSource()) in processMemCpyMemCpyDependence()
1172 if (!AA->isNoAlias(MemoryLocation(MemCpy->getSource(), in processMemSetMemCpyDependence()
1398 if (M->getSource() == M->getDest()) { in processMemCpy()
1405 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(M->getSource())) in processMemCpy()
1469 M, M, M->getDest(), M->getSource(), in processMemCpy()
1525 if (performCallSlotOptzn(M, M, M->getDest(), M->getSource(), in processMemCpy()
1643 getOrEnforceKnownAlignment(MDep->getSource(), ByValAlign, DL, &CB, AC, in processByValArgument()
1648 if (MDep->getSource()->getType()->getPointerAddressSpace() != in processByValArgument()
1672 Value *TmpCast = MDep->getSource(); in processByValArgument()
[all …]
H A DAlignmentFromAssumptions.cpp298 getNewAlignment(AASCEV, AlignSCEV, OffSCEV, MTI->getSource(), SE); in processAssumption()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp294 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs()
295 Cmd.getSource().getKind() == driver::Action::BackendJobClass || in stripPositionalArgs()
296 Cmd.getSource().getKind() == driver::Action::CompileJobClass) { in stripPositionalArgs()
297 CompileAnalyzer.run(&Cmd.getSource()); in stripPositionalArgs()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/
H A DCompilation.cpp224 if (A == &(CI.second->getSource())) in ActionFailed()
236 return !ActionFailed(&C.getSource(), FailingCommands); in InputsOk()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h151 Instruction *getSource(const LoopAccessInfo &LAI) const;
777 inline Instruction *MemoryDepChecker::Dependence::getSource( in getSource() function
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Driver/
H A DJob.h182 const Action &getSource() const { return Source; } in getSource() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp392 Constant *Src = dyn_cast<Constant>(MTI->getSource()); in analyzeLoadFromClobberingMemInst()
585 Constant *Src = cast<Constant>(MTI->getSource()); in getMemInstValueForLoadHelper()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h488 inline Optional<StringRef> getSource() const;
599 getChecksum(), getSource()); in cloneImpl()
622 Optional<StringRef> getSource() const { in getSource() function
651 Optional<StringRef> DIScope::getSource() const { in getSource() function
653 return F->getSource(); in getSource()
1627 Optional<StringRef> getSource() const { return getScope()->getSource(); } in getSource() function
2531 Optional<StringRef> getSource() const { in getSource() function
2533 return F->getSource(); in getSource()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp305 Assert(AA->alias(MCI->getSource(), Size, MCI->getDest(), Size) != in visitCallBase()
322 Assert(AA->alias(MCII->getSource(), LS, MCII->getDest(), LS) != in visitCallBase()

12