Home
last modified time | relevance | path

Searched refs:Impl (Results 1 – 25 of 134) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h221 template <typename T> TargetTransformInfo(T Impl);
2195 T Impl; variable
2198 Model(T Impl) : Impl(std::move(Impl)) {} in Model() argument
2202 return Impl.getDataLayout(); in getDataLayout()
2209 return Impl.getGEPCost(PointeeType, Ptr, Operands, AccessType, CostKind); in getGEPCost()
2216 return Impl.getPointersChainCost(Ptrs, Base, Info, AccessTy, CostKind); in getPointersChainCost()
2219 return Impl.getInliningThresholdMultiplier(); in getInliningThresholdMultiplier()
2222 return Impl.adjustInliningThreshold(CB); in adjustInliningThreshold()
2225 return Impl.getInliningCostBenefitAnalysisSavingsMultiplier(); in getInliningCostBenefitAnalysisSavingsMultiplier()
2228 return Impl.getInliningCostBenefitAnalysisProfitableMultiplier(); in getInliningCostBenefitAnalysisProfitableMultiplier()
[all …]
H A DTargetLibraryInfo.h286 const TargetLibraryInfoImpl *Impl; variable
293 explicit TargetLibraryInfo(const TargetLibraryInfoImpl &Impl,
295 : Impl(&Impl), OverrideAsUnavailable(NumLibFuncs) {
339 return Impl->isValidProtoForLibFunc(FTy, F, M); in isValidProtoForLibFunc()
347 return Impl->getLibFunc(funcName, F); in getLibFunc()
351 return Impl->getLibFunc(FDecl, F); in getLibFunc()
364 return Impl->getLibFunc(Opcode, Ty, F); in getLibFunc()
382 return Impl->getState(F); in getState()
390 return Impl->isFunctionVectorizable(F, VF); in isFunctionVectorizable()
393 return Impl->isFunctionVectorizable(F); in isFunctionVectorizable()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_log_interface.cpp41 XRayLogImpl Impl; member
65 XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT { in __xray_log_register_mode() argument
66 if (Impl.flush_log == nullptr || Impl.handle_arg0 == nullptr || in __xray_log_register_mode()
67 Impl.log_finalize == nullptr || Impl.log_init == nullptr) in __xray_log_register_mode()
79 NewModeImpl->Impl = Impl; in __xray_log_register_mode()
90 CurrentXRayImpl = it->Impl; in __xray_log_select_mode()
92 __xray_set_handler(it->Impl.handle_arg0); in __xray_log_select_mode()
106 void __xray_set_log_impl(XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT { in __xray_set_log_impl() argument
107 if (Impl.log_init == nullptr || Impl.log_finalize == nullptr || in __xray_set_log_impl()
108 Impl.handle_arg0 == nullptr || Impl.flush_log == nullptr) { in __xray_set_log_impl()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dinterval_map.h53 bool empty() const { return Impl.empty(); } in empty()
55 void clear() { Impl.clear(); } in clear()
57 iterator begin() { return Impl.begin(); } in begin()
58 iterator end() { return Impl.end(); } in end()
60 const_iterator begin() const { return Impl.begin(); } in begin()
61 const_iterator end() const { return Impl.end(); } in end()
69 auto I = Impl.upper_bound(K); in find()
94 auto J = Impl.upper_bound(KS); in erase()
106 Impl.erase(I); in erase()
110 Impl.insert( in erase()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTFLiteUtils.cpp188 : Impl(new TFModelEvaluatorImpl(SavedModelPath, InputSpecs, OutputSpecs, in TFModelEvaluator()
190 if (!Impl->isValid()) in TFModelEvaluator()
191 Impl.reset(); in TFModelEvaluator()
214 return EvaluationResult(Impl->evaluate()); in evaluate()
218 TfLiteTensor *T = Impl->getInput()[Index]; in getUntypedInput()
225 std::unique_ptr<EvaluationResultImpl> Impl) in EvaluationResult() argument
226 : Impl(std::move(Impl)) {} in EvaluationResult()
229 : Impl(std::move(Other.Impl)) {} in EvaluationResult()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkStringTable.cpp42 auto Impl = [&](StringRef &S) { S = add(S).second; }; in internalize() local
43 Impl(R.PassName); in internalize()
44 Impl(R.RemarkName); in internalize()
45 Impl(R.FunctionName); in internalize()
47 Impl(R.Loc->SourceFilePath); in internalize()
49 Impl(Arg.Key); in internalize()
50 Impl(Arg.Val); in internalize()
52 Impl(Arg.Loc->SourceFilePath); in internalize()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRangedConstraintManager.h31 Range(const llvm::APSInt &From, const llvm::APSInt &To) : Impl(&From, &To) { in Range()
40 const llvm::APSInt &From() const { return *Impl.first; } in From()
41 const llvm::APSInt &To() const { return *Impl.second; } in To()
57 bool operator==(const Range &RHS) const { return Impl == RHS.Impl; }
61 std::pair<const llvm::APSInt *, const llvm::APSInt *> Impl;
110 UnderlyingType Impl; variable
115 const_iterator begin() const { return Impl->begin(); } in begin()
116 const_iterator end() const { return Impl->end(); } in end()
117 size_t size() const { return Impl->size(); } in size()
119 bool isEmpty() const { return Impl->empty(); } in isEmpty()
[all …]
H A DExplodedGraph.h460 ImplTy Impl; variable
465 Impl.insert(N); in ExplodedNodeSet()
471 if (N && !static_cast<ExplodedNode*>(N)->isSink()) Impl.insert(N); in Add()
477 unsigned size() const { return Impl.size(); } in size()
478 bool empty() const { return Impl.empty(); } in empty()
479 bool erase(ExplodedNode *N) { return Impl.remove(N); } in erase()
481 void clear() { Impl.clear(); } in clear()
486 Impl = S.Impl; in insert()
488 Impl.insert(S.begin(), S.end()); in insert()
491 iterator begin() { return Impl.begin(); } in begin()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTUnresolvedSet.h104 mutable ASTUnresolvedSet Impl; variable
110 if (Impl.Decls.isLazy()) in get()
112 return Impl; in get()
115 void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); } in reserve()
118 assert(Impl.empty() || Impl.Decls.isLazy()); in addLazyDecl()
119 Impl.Decls.setLazy(true); in addLazyDecl()
120 Impl.addLazyDecl(C, ID, AS); in addLazyDecl()
H A DAbstractBasicWriter.h119 template <class Impl>
120 class DataStreamBasicWriter : public BasicWriterBase<Impl> {
122 using BasicWriterBase<Impl>::asImpl;
123 DataStreamBasicWriter(ASTContext &ctx) : BasicWriterBase<Impl>(ctx) {} in DataStreamBasicWriter()
128 Impl &find(const char *propertyName) { in find()
134 Impl &writeObject() { return asImpl(); } in writeObject()
178 auto &ctx = ((BasicWriterBase<Impl> *)this)->getASTContext(); in writeLValuePathSerializationHelper()
H A DAbstractBasicReader.h122 template <class Impl>
123 class DataStreamBasicReader : public BasicReaderBase<Impl> {
125 using BasicReaderBase<Impl>::asImpl;
126 DataStreamBasicReader(ASTContext &ctx) : BasicReaderBase<Impl>(ctx) {} in DataStreamBasicReader()
129 using BasicReaderBase<Impl>::getASTContext;
133 Impl &find(const char *propertyName) { in find()
144 Impl &readObject() { return asImpl(); } in readObject()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h366 explicit AMDGPULibFunc() : Impl(std::unique_ptr<AMDGPULibFuncImpl>()) {}
380 std::string getName() const { return Impl->getName(); } in isMangled()
381 unsigned getNumArgs() const { return Impl->getNumArgs(); } in setId()
382 EFuncId getId() const { return Impl->getId(); } in parseFuncName()
383 ENamePrefix getPrefix() const { return Impl->getPrefix(); } in parseFuncName()
388 bool isMangled() const { return Impl->isMangled(); } in mangle()
389 void setId(EFuncId Id) { Impl->setId(Id); }
391 return Impl->parseFuncName(MangledName); in setPrefix()
399 std::string mangle() const { return Impl->mangle(); }
401 void setName(StringRef N) { Impl
405 std::unique_ptr<AMDGPULibFuncImpl> Impl; global() variable
[all...]
H A DAMDGPULibFunc.cpp694 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in parse()
699 F.Impl = std::make_unique<AMDGPUMangledLibFunc>(); in parse()
701 F.Impl = std::make_unique<AMDGPUUnmangledLibFunc>(); in parse()
702 if (F.Impl->parseFuncName(FuncName)) in parse()
705 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in parse()
1086 if (auto *MF = dyn_cast<AMDGPUMangledLibFunc>(F.Impl.get())) in AMDGPULibFunc()
1087 Impl = std::make_unique<AMDGPUMangledLibFunc>(*MF); in AMDGPULibFunc()
1088 else if (auto *UMF = dyn_cast<AMDGPUUnmangledLibFunc>(F.Impl.get())) in AMDGPULibFunc()
1089 Impl = std::make_unique<AMDGPUUnmangledLibFunc>(*UMF); in AMDGPULibFunc()
1091 Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in AMDGPULibFunc()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSignposts.cpp105 Impl = std::make_unique<SignpostEmitterImpl>(); in SignpostEmitter()
113 return Impl->isEnabled(); in isEnabled()
121 if (Impl == nullptr) in startInterval()
123 return Impl->startInterval(O, Name); in startInterval()
129 if (Impl == nullptr) in endInterval()
131 Impl->endInterval(O, Name); in endInterval()
H A DCrashRecoveryContext.cpp121 CrashRecoveryContextImpl *CRCI = (CrashRecoveryContextImpl *) Impl; in ~CrashRecoveryContext()
232 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely()
233 Impl = new CrashRecoveryContextImpl(this); in RunSafely()
416 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely()
418 Impl = CRCI; in RunSafely()
442 CrashRecoveryContextImpl *CRCI = (CrashRecoveryContextImpl *)Impl; in HandleExit()
522 if (CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *)Impl) in RunSafelyOnThread()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryByteStream.h233 : Impl(std::move(Buffer), Endian) {} in FileBufferByteStream()
235 llvm::endianness getEndian() const override { return Impl.getEndian(); }
239 return Impl.readBytes(Offset, Size, Buffer);
244 return Impl.readLongestContiguousChunk(Offset, Buffer);
247 uint64_t getLength() override { return Impl.getLength(); } in readLongestContiguousChunk()
250 return Impl.writeBytes(Offset, Data); in getLength()
253 Error commit() override { return Impl.commit(); } in writeBytes()
256 uint8_t *getBufferStart() const { return Impl.getBufferStart(); } in commit()
259 uint8_t *getBufferEnd() const { return Impl.getBufferEnd(); } in getBufferStart()
262 StreamImpl Impl; in getBufferEnd()
[all...]
H A DVirtualFileSystem.h180 std::shared_ptr<detail::DirIterImpl> Impl; // Input iterator semantics on copy variable
184 : Impl(std::move(I)) { in directory_iterator()
185 assert(Impl.get() != nullptr && "requires non-null implementation"); in directory_iterator()
186 if (Impl->CurrentEntry.path().empty()) in directory_iterator()
187 Impl.reset(); // Normalize the end iterator to Impl == nullptr. in directory_iterator()
195 assert(Impl && "attempting to increment past end"); in increment()
196 EC = Impl->increment(); in increment()
197 if (Impl->CurrentEntry.path().empty()) in increment()
198 Impl.reset(); // Normalize the end iterator to Impl == nullptr. in increment()
202 const directory_entry &operator*() const { return Impl->CurrentEntry; }
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h61 : TreeImpl(std::make_unique<Impl>(this, Node, AST)) {} in SyntaxTree()
86 class Impl; variable
87 std::unique_ptr<Impl> TreeImpl;
118 class Impl; variable
121 std::unique_ptr<Impl> DiffImpl;
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFileList.cpp181 Implementation Impl; in loadHeaders() local
182 Impl.InputBuffer = std::move(InputBuffer); in loadHeaders()
183 Impl.FM = FM; in loadHeaders()
185 if (llvm::Error Err = Impl.parse(Impl.InputBuffer->getBuffer())) in loadHeaders()
188 Destination.reserve(Destination.size() + Impl.HeaderList.size()); in loadHeaders()
189 llvm::move(Impl.HeaderList, std::back_inserter(Destination)); in loadHeaders()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp156 CFGuardImpl Impl; member in __anon51b3f2350111::CFGuard
162 CFGuard(CFGuardImpl::Mechanism M) : FunctionPass(ID), Impl(M) { in CFGuard()
166 bool doInitialization(Module &M) override { return Impl.doInitialization(M); } in doInitialization()
167 bool runOnFunction(Function &F) override { return Impl.runOnFunction(F); } in runOnFunction()
305 CFGuardImpl Impl(GuardMechanism); in run() local
306 bool Changed = Impl.doInitialization(*F.getParent()); in run()
307 Changed |= Impl.runOnFunction(F); in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMagic.h21 enum Impl { enum
67 file_magic(Impl V) : V(V) {}
68 operator Impl() const { return V; }
71 Impl V = unknown;
64 operator Impl() const { return V; } Impl() function
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h867 template <typename Impl>
870 explicit PolymorphicAction(const Impl& impl) : impl_(impl) {}
884 explicit MonomorphicImpl(const Impl& impl) : impl_(impl) {}
891 Impl impl_;
894 Impl impl_;
911 template <typename Impl>
912 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) {
913 return PolymorphicAction<Impl>(impl);
940 return Impl<U>(std::move(value_));
951 return Impl<U>(value_);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DTFUtils.h72 EvaluationResult(std::unique_ptr<EvaluationResultImpl> Impl);
73 std::unique_ptr<EvaluationResultImpl> Impl; variable
98 bool isValid() const { return !!Impl; } in isValid()
104 std::unique_ptr<TFModelEvaluatorImpl> Impl;
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.h144 template <typename Impl>
147 Impl &impl() { return static_cast<Impl &>(*this); } in impl()
148 const Impl &impl() const { return static_cast<const Impl &>(*this); } in impl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp111 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { in ParentMap()
115 Impl = M; in ParentMap()
120 delete (MapTy*) Impl; in ~ParentMap()
125 BuildParentMap(*(MapTy*) Impl, S); in addStmt()
132 MapTy *M = reinterpret_cast<MapTy *>(Impl); in setParent()
137 MapTy* M = (MapTy*) Impl; in getParent()

123456