Home
last modified time | relevance | path

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

12345678

/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/Support/
H A DTrieRawHashMap.cpp170 ImplType *Impl = ::new (Memory) ImplType(StartBit, NumBits); in create() local
171 return std::unique_ptr<ImplType>(Impl); in create()
213 if (ImplType *Impl = ImplPtr.load()) in getOrCreateImpl() local
214 return *Impl; in getOrCreateImpl()
218 std::unique_ptr<ImplType> Impl = ImplType::create(0, NumRootBits); in getOrCreateImpl() local
223 if (ImplPtr.compare_exchange_strong(ExistingImpl, Impl.get())) in getOrCreateImpl()
224 return *Impl.release(); in getOrCreateImpl()
234 ImplType *Impl = ImplPtr.load(); in find() local
235 if (!Impl) in find()
238 TrieSubtrie *S = Impl->getRoot(); in find()
[all …]
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()
/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/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h290 const TargetLibraryInfoImpl *Impl; variable
299 explicit TargetLibraryInfo(const TargetLibraryInfoImpl &Impl,
301 : Impl(&Impl) {
345 return Impl->isValidProtoForLibFunc(FTy, F, M); in isValidProtoForLibFunc()
353 return Impl->getLibFunc(funcName, F); in getLibFunc()
357 return Impl->getLibFunc(FDecl, F); in getLibFunc()
370 return Impl->getLibFunc(Opcode, Ty, F); in getLibFunc()
390 return Impl->getState(F); in getState()
398 return Impl->isFunctionVectorizable(F, VF); in isFunctionVectorizable()
401 return Impl->isFunctionVectorizable(F); in isFunctionVectorizable()
[all …]
/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.h447 ImplTy Impl; variable
452 Impl.insert(N); in ExplodedNodeSet()
459 Impl.insert(N); in Add()
465 unsigned size() const { return Impl.size(); } in size()
466 bool empty() const { return Impl.empty(); } in empty()
467 bool erase(ExplodedNode *N) { return Impl.remove(N); } in erase()
469 void clear() { Impl.clear(); } in clear()
474 Impl = S.Impl; in insert()
476 Impl.insert_range(S); in insert()
479 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()
177 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/CodeGen/
H A DLiveStacks.cpp75 LiveStacks Impl; in run() local
76 Impl.init(MF); in run()
77 return Impl; in run()
87 Impl = LiveStacks(); in runOnMachineFunction()
88 Impl.init(MF); in runOnMachineFunction()
92 void LiveStacksWrapperLegacy::releaseMemory() { Impl = LiveStacks(); } in releaseMemory()
95 Impl.print(OS); in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h366 explicit AMDGPULibFunc() : Impl(std::unique_ptr<AMDGPULibFuncImpl>()) {} in AMDGPULibFunc()
380 std::string getName() const { return Impl->getName(); } in getName()
381 unsigned getNumArgs() const { return Impl->getNumArgs(); } in getNumArgs()
382 EFuncId getId() const { return Impl->getId(); } in getId()
383 ENamePrefix getPrefix() const { return Impl->getPrefix(); } in getPrefix()
388 bool isMangled() const { return Impl->isMangled(); } in isMangled()
389 void setId(EFuncId Id) { Impl->setId(Id); } in setId()
391 return Impl->parseFuncName(MangledName); in parseFuncName()
413 std::string mangle() const { return Impl->mangle(); } in mangle()
415 void setName(StringRef N) { Impl->setName(N); } in setName()
[all …]
H A DAMDGPUAnnotateUniformValues.cpp92 AMDGPUAnnotateUniformValues Impl(UI, MSSA, AA, F); in run() local
93 Impl.visit(F); in run()
95 if (!Impl.changed()) in run()
134 AMDGPUAnnotateUniformValues Impl(UI, MSSA, AA, F); in runOnFunction() local
135 Impl.visit(F); in runOnFunction()
136 return Impl.changed(); in runOnFunction()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDynamicRecursiveASTVisitor.cpp92 template <bool Const> struct Impl : RecursiveASTVisitor<Impl<Const>> { struct
94 Impl(DynamicRecursiveASTVisitorBase<Const> &Visitor) : Visitor(Visitor) {} in Impl() function
194 typename RecursiveASTVisitor<Impl>::DataRecursionQueue * = nullptr) { in dataTraverseNode()
283 return Impl<Const>(*this).RecursiveASTVisitor<Impl<Const>>::Function( \
291 return Impl<Const>(*this).RecursiveASTVisitor<Impl<Const>>::Function( \
327 return Impl<Const>(*this) in FORWARD_TO_BASE_EXACT()
328 .RecursiveASTVisitor<Impl<Const>>::TraverseLambdaCapture( in FORWARD_TO_BASE_EXACT()
335 return Impl<Const>(*this).RecursiveASTVisitor<Impl<Const>>::dataTraverseNode( in dataTraverseNode()
/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...]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveDebugVariables.h72 std::unique_ptr<LiveDebugVariables> Impl; variable
81 LiveDebugVariables &getLDV() { return *Impl; } in getLDV()
82 const LiveDebugVariables &getLDV() const { return *Impl; } in getLDV()
85 if (Impl) in releaseMemory()
86 Impl->releaseMemory(); in releaseMemory()
/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.cpp179 Implementation Impl; in loadHeaders() local
180 Impl.InputBuffer = std::move(InputBuffer); in loadHeaders()
181 Impl.FM = FM; in loadHeaders()
183 if (llvm::Error Err = Impl.parse(Impl.InputBuffer->getBuffer())) in loadHeaders()
186 Destination.reserve(Destination.size() + Impl.HeaderList.size()); in loadHeaders()
187 llvm::move(Impl.HeaderList, std::back_inserter(Destination)); in loadHeaders()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMagic.h22 enum Impl { enum
68 file_magic(Impl V) : V(V) {} in file_magic()
69 operator Impl() const { return V; } in Impl() function
72 Impl V = unknown;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp159 CFGuardImpl Impl; member in __anon51b3f2350111::CFGuard
165 CFGuard(CFGuardImpl::Mechanism M) : FunctionPass(ID), Impl(M) { in CFGuard()
169 bool doInitialization(Module &M) override { return Impl.doInitialization(M); } in doInitialization()
170 bool runOnFunction(Function &F) override { return Impl.runOnFunction(F); } in runOnFunction()
308 CFGuardImpl Impl(GuardMechanism); in run() local
309 bool Changed = Impl.doInitialization(*F.getParent()); in run()
310 Changed |= Impl.runOnFunction(F); in run()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h871 template <typename Impl>
874 explicit PolymorphicAction(const Impl& impl) : impl_(impl) {}
888 explicit MonomorphicImpl(const Impl& impl) : impl_(impl) {}
895 Impl impl_;
898 Impl impl_;
915 template <typename Impl>
916 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) {
917 return PolymorphicAction<Impl>(impl);
944 return Impl<U>(std::move(value_));
955 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.h139 template <typename Impl>
142 Impl &impl() { return static_cast<Impl &>(*this); } in impl()
143 const Impl &impl() const { return static_cast<const Impl &>(*this); } in impl()

12345678