| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 179 template <typename T> TargetTransformInfo(T Impl); 1915 T Impl; variable 1918 Model(T Impl) : Impl(std::move(Impl)) {} in Model() argument 1922 return Impl.getDataLayout(); in getDataLayout() 1929 return Impl.getGEPCost(PointeeType, Ptr, Operands, CostKind); in getGEPCost() 1932 return Impl.getInliningThresholdMultiplier(); in getInliningThresholdMultiplier() 1935 return Impl.adjustInliningThreshold(CB); in adjustInliningThreshold() 1938 return Impl.getInlinerVectorBonusPercent(); in getInlinerVectorBonusPercent() 1941 return Impl.getMemcpyCost(I); in getMemcpyCost() 1946 return Impl.getInstructionCost(U, Operands, CostKind); in getInstructionCost() [all …]
|
| H A D | TargetLibraryInfo.h | 239 const TargetLibraryInfoImpl *Impl; variable 246 explicit TargetLibraryInfo(const TargetLibraryInfoImpl &Impl, 248 : Impl(&Impl), OverrideAsUnavailable(NumLibFuncs) { 272 : Impl(TLI.Impl), OverrideAsUnavailable(TLI.OverrideAsUnavailable) {} in TargetLibraryInfo() 275 Impl = TLI.Impl; 299 return Impl->isValidProtoForLibFunc(FTy, F, M); in isValidProtoForLibFunc() 307 return Impl->getLibFunc(funcName, F); in getLibFunc() 311 return Impl->getLibFunc(FDecl, F); in getLibFunc() 336 return Impl->getState(F); in getState() 344 return Impl->isFunctionVectorizable(F, VF); in isFunctionVectorizable() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/xray/ |
| H A D | xray_log_interface.cpp | 41 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 …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/orc/ |
| H A D | interval_map.h | 53 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 …]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 58 class ASTDiff::Impl { class in clang::diff::ASTDiff 60 SyntaxTree::Impl &T1, &T2; 63 Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, 72 NodeId getMapped(const std::unique_ptr<SyntaxTree::Impl> &Tree, in getMapped() 113 class SyntaxTree::Impl { class in clang::diff::SyntaxTree 115 Impl(SyntaxTree *Parent, ASTContext &AST); 117 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST); 118 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST); 120 Impl(SyntaxTree *Parent, in Impl() function in clang::diff::SyntaxTree::Impl 122 : Impl(Parent, dyn_cast<Stmt>(Node), AST) {} in Impl() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | TFLiteUtils.cpp | 188 : 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() 233 Impl = std::move(Other.Impl); in operator =() 238 return Impl->getOutput(Index)->data.data; in getUntypedTensorValue() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Remarks/ |
| H A D | RemarkStringTable.cpp | 42 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()
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | RangedConstraintManager.h | 31 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 D | ExplodedGraph.h | 463 ImplTy Impl; variable 468 Impl.insert(N); in ExplodedNodeSet() 474 if (N && !static_cast<ExplodedNode*>(N)->isSink()) Impl.insert(N); in Add() 480 unsigned size() const { return Impl.size(); } in size() 481 bool empty() const { return Impl.empty(); } in empty() 482 bool erase(ExplodedNode *N) { return Impl.remove(N); } in erase() 484 void clear() { Impl.clear(); } in clear() 489 Impl = S.Impl; in insert() 491 Impl.insert(S.begin(), S.end()); in insert() 494 iterator begin() { return Impl.begin(); } in begin() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ASTUnresolvedSet.h | 99 mutable ASTUnresolvedSet Impl; variable 105 if (Impl.Decls.isLazy()) in get() 107 return Impl; in get() 110 void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); } in reserve() 113 assert(Impl.empty() || Impl.Decls.isLazy()); in addLazyDecl() 114 Impl.Decls.setLazy(true); in addLazyDecl() 115 Impl.addDecl(C, reinterpret_cast<NamedDecl *>(ID << 2), AS); in addLazyDecl()
|
| H A D | AbstractBasicWriter.h | 119 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 D | AbstractBasicReader.h | 122 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | Signposts.cpp | 105 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 D | CrashRecoveryContext.cpp | 121 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() 439 CrashRecoveryContextImpl *CRCI = (CrashRecoveryContextImpl *)Impl; in HandleExit() 519 if (CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *)Impl) in RunSafelyOnThread()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 360 explicit AMDGPULibFunc() : Impl(std::unique_ptr<AMDGPULibFuncImpl>()) {} in AMDGPULibFunc() 372 std::string getName() const { return Impl->getName(); } in getName() 373 unsigned getNumArgs() const { return Impl->getNumArgs(); } in getNumArgs() 374 EFuncId getId() const { return Impl->getId(); } in getId() 375 ENamePrefix getPrefix() const { return Impl->getPrefix(); } in getPrefix() 380 bool isMangled() const { return Impl->isMangled(); } in isMangled() 381 void setId(EFuncId Id) { Impl->setId(Id); } in setId() 383 return Impl->parseFuncName(MangledName); in parseFuncName() 388 std::string mangle() const { return Impl->mangle(); } in mangle() 390 void setName(StringRef N) { Impl->setName(N); } in setName() [all …]
|
| H A D | AMDGPULibFunc.cpp | 684 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in parse() 689 F.Impl = std::make_unique<AMDGPUMangledLibFunc>(); in parse() 691 F.Impl = std::make_unique<AMDGPUUnmangledLibFunc>(); in parse() 692 if (F.Impl->parseFuncName(FuncName)) in parse() 695 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in parse() 1024 if (auto *MF = dyn_cast<AMDGPUMangledLibFunc>(F.Impl.get())) in AMDGPULibFunc() 1025 Impl.reset(new AMDGPUMangledLibFunc(*MF)); in AMDGPULibFunc() 1026 else if (auto *UMF = dyn_cast<AMDGPUUnmangledLibFunc>(F.Impl.get())) in AMDGPULibFunc() 1027 Impl.reset(new AMDGPUUnmangledLibFunc(*UMF)); in AMDGPULibFunc() 1029 Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in AMDGPULibFunc() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | BinaryByteStream.h | 234 : Impl(std::move(Buffer), Endian) {} in FileBufferByteStream() 237 return Impl.getEndian(); in getEndian() 242 return Impl.readBytes(Offset, Size, Buffer); in readBytes() 247 return Impl.readLongestContiguousChunk(Offset, Buffer); in readLongestContiguousChunk() 250 uint64_t getLength() override { return Impl.getLength(); } in getLength() 253 return Impl.writeBytes(Offset, Data); in writeBytes() 256 Error commit() override { return Impl.commit(); } in commit() 259 uint8_t *getBufferStart() const { return Impl.getBufferStart(); } in getBufferStart() 262 uint8_t *getBufferEnd() const { return Impl.getBufferEnd(); } in getBufferEnd() 265 StreamImpl Impl;
|
| H A D | VirtualFileSystem.h | 182 std::shared_ptr<detail::DirIterImpl> Impl; // Input iterator semantics on copy variable 186 : Impl(std::move(I)) { in directory_iterator() 187 assert(Impl.get() != nullptr && "requires non-null implementation"); in directory_iterator() 188 if (Impl->CurrentEntry.path().empty()) in directory_iterator() 189 Impl.reset(); // Normalize the end iterator to Impl == nullptr. in directory_iterator() 197 assert(Impl && "attempting to increment past end"); in increment() 198 EC = Impl->increment(); in increment() 199 if (Impl->CurrentEntry.path().empty()) in increment() 200 Impl.reset(); // Normalize the end iterator to Impl == nullptr. in increment() 204 const directory_entry &operator*() const { return Impl->CurrentEntry; } [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/ASTDiff/ |
| H A D | ASTDiff.h | 61 : 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;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
| H A D | Magic.h | 21 enum Impl { enum 63 file_magic(Impl V) : V(V) {} in file_magic() 64 operator Impl() const { return V; } in Impl() function 67 Impl V = unknown;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/Utils/ |
| H A D | TFUtils.h | 72 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;
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.h | 144 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()
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 609 Impl = new TransformActionsImpl(capturedDiags, ctx, PP); in TransformActions() 613 delete static_cast<TransformActionsImpl*>(Impl); in ~TransformActions() 617 static_cast<TransformActionsImpl*>(Impl)->startTransaction(); in startTransaction() 621 return static_cast<TransformActionsImpl*>(Impl)->commitTransaction(); in commitTransaction() 625 static_cast<TransformActionsImpl*>(Impl)->abortTransaction(); in abortTransaction() 630 static_cast<TransformActionsImpl*>(Impl)->insert(loc, text); in insert() 635 static_cast<TransformActionsImpl*>(Impl)->insertAfterToken(loc, text); in insertAfterToken() 639 static_cast<TransformActionsImpl*>(Impl)->remove(range); in remove() 643 static_cast<TransformActionsImpl*>(Impl)->removeStmt(S); in removeStmt() 647 static_cast<TransformActionsImpl*>(Impl)->replace(range, text); in replace() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ParentMap.cpp | 111 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()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
| H A D | optimize2.C | 59 class Impl : virtual public Base 70 Impl *impl = new Impl(); in main()
|