Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp63 const SourceInfo &E = S.Current->getSource(OpPC); in diagnoseMissingInitializer()
72 const SourceInfo &E = S.Current->getSource(OpPC); in diagnoseUnknownDecl()
98 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseNonConstVariable()
151 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive()
169 const SourceInfo &E = S.Current->getSource(OpPC); in CheckTemporary()
266 const SourceInfo &E = S.Current->getSource(OpPC); in CheckArray()
274 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
285 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
345 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckNull()
356 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
[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 { in getSource() function
96 return M->getSource(F, PC); in getSource()
99 return F->getSource(PC); in getSource()
H A DEvalEmitter.h75 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource() function
76 return (F && F->hasBody()) ? F->getSource(PC) : CurrentSource; in getSource()
H A DInterpFrame.cpp240 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource() function in InterpFrame
244 return Caller->getSource(RetPC); in getSource()
246 return S.getSource(Func, PC); in getSource()
H A DInterp.h154 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckShift()
213 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckDivRem()
236 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckArraySize()
512 const SourceInfo &E = S.Current->getSource(OpPC); in Divc()
917 const SourceInfo &Loc = S.Current->getSource(OpPC);
933 const SourceInfo &Loc = S.Current->getSource(OpPC);
951 const SourceInfo &Loc = S.Current->getSource(OpPC);
980 const SourceInfo &Loc = S.Current->getSource(OpPC);
990 const SourceInfo &Loc = S.Current->getSource(OpPC);
996 const SourceInfo &Loc = S.Current->getSource(OpPC);
[all …]
H A DFunction.cpp36 SourceInfo Function::getSource(CodePtr PC) const { in getSource() function in Function
H A DPointer.h279 DeclTy getSource() const { in getSource() function
281 return getDeclDesc()->getSource(); in getSource()
284 return asIntPointer().Desc ? asIntPointer().Desc->getSource() : DeclTy(); in getSource()
H A DInterpFrame.h115 virtual SourceInfo getSource(CodePtr PC) const;
H A DFunction.h132 SourceInfo getSource(CodePtr PC) const;
H A DDescriptor.h196 const DeclTy &getSource() const { return Source; } in getSource() function
H A DPointer.cpp373 return A.getSource() == B.getSource(); in hasSameBase()
/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(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 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.cpp35 for (const auto &MCI : getSource()) { in toJSON()
H A DInstructionView.h52 llvm::ArrayRef<llvm::MCInst> getSource() const { return Source; } in getSource() function
/freebsd/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 performMemCpyToMemSetOptzn()
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 processMemCpy()
1825 if (hasUndefContents(MSSA, BAA, M->getSource(), MD, M->getLength())) { in processMemCpy()
1839 auto *SrcAlloca = dyn_cast<AllocaInst>(M->getSource()); in processMemCpy()
[all …]
H A DAlignmentFromAssumptions.cpp251 getNewAlignment(AASCEV, AlignSCEV, OffSCEV, MTI->getSource(), SE); in processAssumption()
/freebsd/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/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/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h164 Instruction *getSource(const MemoryDepChecker &DepChecker) const;
888 inline Instruction *MemoryDepChecker::Dependence::getSource( in getSource() function
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DJob.h189 const Action &getSource() const { return Source; } in getSource() function
/freebsd/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() function
697 std::optional<StringRef> DIScope::getSource() const { in getSource() function
699 return F->getSource(); in getSource()
2028 std::optional<StringRef> getSource() const { return getScope()->getSource(); } in getSource() function
2700 std::optional<StringRef> getSource() const { in getSource() function
2702 return F->getSource(); in getSource()

123