Home
last modified time | relevance | path

Searched refs:Cap (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVModuleAnalysis.h46 const std::optional<Capability::Capability> Cap; member
52 std::optional<Capability::Capability> Cap = {},
55 : IsSatisfiable(IsSatisfiable), Cap(Cap), Exts(Exts), MinVer(MinVer), in IsSatisfiable()
57 Requirements(Capability::Capability Cap) : Requirements(true, {Cap}) {} in Requirements()
119 bool isCapabilityAvailable(Capability::Capability Cap) const { in isCapabilityAvailable()
120 return AvailableCaps.contains(Cap); in isCapabilityAvailable()
H A DSPIRVModuleAnalysis.cpp76 if (Reqs.isCapabilityAvailable(Cap)) in getSymbolicOperandRequirements()
254 MAI.Reqs.addCapability(Cap); in processDefInstrs()
411 for (const auto &Cap : ToPrune) { in pruneCapabilities() local
412 AllCaps.insert(Cap); in pruneCapabilities()
423 for (const auto &Cap : ToAdd) { in addCapabilities() local
430 MinimalCaps.push_back(Cap); in addCapabilities()
439 if (Req.Cap.has_value()) in addRequirements()
440 addCapabilities({Req.Cap.value()}); in addRequirements()
497 for (auto Cap : MinimalCaps) { in checkSatisfiable() local
498 if (AvailableCaps.contains(Cap)) in checkSatisfiable()
[all …]
H A DSPIRVAsmPrinter.cpp331 for (const auto &Cap : MAI->Reqs.getMinimalCapabilities()) { in outputGlobalRequirements() local
334 Inst.addOperand(MCOperand::createImm(Cap)); in outputGlobalRequirements()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.h208 const BlockDecl::Capture *Cap) { in makeIndex() argument
217 v.Cap = Cap; in makeIndex()
222 const BlockDecl::Capture *Cap) { in makeConstant() argument
225 v.Cap = Cap; in makeConstant()
237 const BlockDecl::Capture *Cap; variable
292 Captures[C.Cap->getVariable()] = &C; in buildCaptureMap()
H A DCGBlocks.cpp98 if (Cap.isConstantOrTrivial()) in getBlockDescriptorName()
103 if (Cap.CopyKind == Cap.DisposeKind) { in getBlockDescriptorName()
1685 const BlockDecl::Capture &CI = *Cap.Cap; in getBlockCaptureStr()
1694 (Cap.CopyKind == Cap.DisposeKind && in getBlockCaptureStr()
1695 Cap.CopyFlags == Cap.DisposeFlags)) && in getBlockCaptureStr()
1699 Kind = Cap.DisposeKind; in getBlockCaptureStr()
1700 Flags = Cap.DisposeFlags; in getBlockCaptureStr()
1702 Kind = Cap.CopyKind; in getBlockCaptureStr()
1703 Flags = Cap.CopyFlags; in getBlockCaptureStr()
1790 for (auto &Cap : Captures) { in getCopyDestroyHelperFuncName() local
[all …]
H A DCGOpenMPRuntime.cpp7665 getMapModifiersForPrivateClauses(const CapturedStmt::Capture &Cap) const { in getMapModifiersForPrivateClauses()
7671 if (FirstPrivateDecls.count(Cap.getCapturedVar())) { in getMapModifiersForPrivateClauses()
7672 if (Cap.getCapturedVar()->getType()->isAnyPointerType()) in getMapModifiersForPrivateClauses()
7678 auto I = LambdasMap.find(Cap.getCapturedVar()->getCanonicalDecl()); in getMapModifiersForPrivateClauses()
8428 void generateInfoForCapture(const CapturedStmt::Capture *Cap, in generateInfoForCapture() argument
8431 assert(!Cap->capturesVariableArrayType() && in generateInfoForCapture()
8435 const ValueDecl *VD = Cap->capturesThis() in generateInfoForCapture()
8437 : Cap->getCapturedVar()->getCanonicalDecl(); in generateInfoForCapture()
11469 for (const CapturedStmt::Capture &Cap : CS->captures()) { in tryToDisableInnerAnalysis() local
11470 if (Cap.capturesVariable() || Cap.capturesVariableByCopy()) in tryToDisableInnerAnalysis()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DArrayRecycler.h125 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate() argument
127 if (T *Ptr = pop(Cap.getBucket())) in allocate()
130 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
137 void deallocate(Capacity Cap, T *Ptr) { in deallocate() argument
138 push(Cap.getBucket(), Ptr); in deallocate()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h150 bool Cap = true; in getFormattedParserClassName() local
151 std::transform(N.begin(), N.end(), N.begin(), [&Cap](unsigned char C) { in getFormattedParserClassName()
152 if (Cap == true) { in getFormattedParserClassName()
154 Cap = false; in getFormattedParserClassName()
156 Cap = true; in getFormattedParserClassName()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp62 for (auto Cap : LC) { in compileFunc() local
68 unsigned Offset = R->getField(Cap.second)->Offset; in compileFunc()
69 this->LambdaCaptures[Cap.first] = { in compileFunc()
70 Offset, Cap.second->getType()->isReferenceType()}; in compileFunc()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp229 for (auto &Cap : Captures) in isVLATypeCaptured() local
230 if (Cap.isVLATypeCapture() && Cap.getCapturedVLAType() == VAT) in isVLATypeCaptured()
H A DSemaLambda.cpp1824 ExprResult Sema::BuildCaptureInit(const Capture &Cap, in BuildCaptureInit() argument
1828 if (Cap.isVLATypeCapture()) in BuildCaptureInit()
1832 if (Cap.isInitCapture()) in BuildCaptureInit()
1833 return cast<VarDecl>(Cap.getVariable())->getInit(); in BuildCaptureInit()
1839 ImplicitCaptureLoc.isValid() ? ImplicitCaptureLoc : Cap.getLocation(); in BuildCaptureInit()
1855 if (Cap.isThisCapture()) { in BuildCaptureInit()
1858 if (Cap.isCopyCapture()) in BuildCaptureInit()
1863 assert(Cap.isVariableCapture() && "unknown kind of capture"); in BuildCaptureInit()
1864 ValueDecl *Var = Cap.getVariable(); in BuildCaptureInit()
1881 Name, Cap.getCaptureType(), Loc); in BuildCaptureInit()
H A DSemaStmt.cpp4726 for (const sema::Capture &Cap : RSI->Captures) { in buildCapturedStmtCaptureList() local
4727 if (Cap.isInvalid()) in buildCapturedStmtCaptureList()
4731 ExprResult Init = S.BuildCaptureInit(Cap, Cap.getLocation(), in buildCapturedStmtCaptureList()
4738 FieldDecl *Field = S.BuildCaptureField(RSI->TheRecordDecl, Cap); in buildCapturedStmtCaptureList()
4741 if (Cap.isThisCapture()) { in buildCapturedStmtCaptureList()
4742 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), in buildCapturedStmtCaptureList()
4744 } else if (Cap.isVLATypeCapture()) { in buildCapturedStmtCaptureList()
4748 assert(Cap.isVariableCapture() && "unknown kind of capture"); in buildCapturedStmtCaptureList()
4754 Cap.getLocation(), in buildCapturedStmtCaptureList()
4755 Cap.isReferenceCapture() ? CapturedStmt::VCK_ByRef in buildCapturedStmtCaptureList()
[all …]
H A DSemaExceptionSpec.cpp1204 Cap = Lambda->capture_init_begin(), in canThrow() local
1206 Cap != CapEnd; ++Cap) in canThrow()
1207 CT = mergeCanThrow(CT, canThrow(*Cap)); in canThrow()
H A DSemaExpr.cpp17191 for (Capture &Cap : BSI->Captures) { in ActOnBlockStmtExpr()
17192 if (Cap.isInvalid() || Cap.isThisCapture()) in ActOnBlockStmtExpr()
17196 auto *Var = cast<VarDecl>(Cap.getVariable()); in ActOnBlockStmtExpr()
17198 if (getLangOpts().CPlusPlus && Cap.isCopyCapture()) { in ActOnBlockStmtExpr()
17200 Cap.getCaptureType()->getAs<RecordType>()) { in ActOnBlockStmtExpr()
17217 SourceLocation Loc = Cap.getLocation(); in ActOnBlockStmtExpr()
17251 BlockDecl::Capture NewCap(Var, Cap.isBlockCapture(), Cap.isNested(), in ActOnBlockStmtExpr()
19274 const Capture &Cap = CSI->getCapture(Var); in isVariableAlreadyCapturedInScopeInfo() local
19275 if (Cap.isCopyCapture() && in isVariableAlreadyCapturedInScopeInfo()
20683 const Capture &Cap = LSI->getCapture(D); in FixDependencyOfIdExpressionsInLambdaWithDependentObjectParameter() local
[all …]
H A DSemaInit.cpp7914 const LambdaCapture &Cap = *CapI++; in visitLocalsRetainedByInitializer() local
7917 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer()
7918 Path.push_back({IndirectLocalPathEntry::LambdaCaptureInit, E, &Cap}); in visitLocalsRetainedByInitializer()
7925 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer()
/freebsd-14.2/contrib/netbsd-tests/bin/df/
H A Dt_df.sh36 Filesystem 1K-blocks Used Avail %Cap Mounted on
94 Filesystem Size Used Avail %Cap Mounted on
/freebsd-14.2/contrib/elftoolchain/libelf/
H A Dlibelf_align.c64 [ELF_T_CAP] = MALIGN(Cap),
H A Delf_types.m440 `CAP, Cap',
/freebsd-14.2/sys/cddl/compat/opensolaris/sys/
H A Delf.h33 __sElfN(Cap);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFunction.h1081 MachineOperand *allocateOperandArray(OperandCapacity Cap) {
1082 return OperandRecycler.allocate(Cap, Allocator);
1088 void deallocateOperandArray(OperandCapacity Cap, MachineOperand *Array) {
1089 OperandRecycler.deallocate(Cap, Array);
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp899 CapabilityExpr Cap; member
926 const auto *Entry = FSet.findLock(FactMan, UnderlyingMutex.Cap); in handleRemovalFromIntersection()
931 Handler.handleMutexHeldEndOfScope(UnderlyingMutex.Cap.getKind(), in handleRemovalFromIntersection()
932 UnderlyingMutex.Cap.toString(), loc(), in handleRemovalFromIntersection()
942 lock(FSet, FactMan, UnderlyingMutex.Cap, entry.kind(), entry.loc(), in handleLock()
945 unlock(FSet, FactMan, UnderlyingMutex.Cap, entry.loc(), &Handler); in handleLock()
959 unlock(FSet, FactMan, UnderlyingMutex.Cap, UnlockLoc, TSHandler); in handleUnlock()
964 lock(FSet, FactMan, UnderlyingMutex.Cap, kind, UnlockLoc, TSHandler); in handleUnlock()
/freebsd-14.2/sys/contrib/device-tree/Bindings/display/panel/
H A Dpanel-simple.yaml225 # Logic Technologies LT161010-2NHC 7" WVGA TFT Cap Touch Module
229 # Logic Technologies LT170410-2WHC 10.1" 1280x800 IPS TFT Cap Touch Mod.
241 # Multi-Inno Technology Co.,Ltd MI1010AIT-1CP 10.1" 1280x800 LVDS IPS Cap Touch Mod.
/freebsd-14.2/sys/contrib/device-tree/src/mips/ingenic/
H A Dgcw0.dts87 "LLINEIN", "Cap-less",
88 "RLINEIN", "Cap-less",
/freebsd-14.2/sys/dev/mpt/mpilib/
H A Dmpi_cnfg.h1501 #define MPI_SCSIPORTPAGE0_CAP_GET_MIN_SYNC_PERIOD(Cap) \ argument
1502 ( ((Cap) & MPI_SCSIPORTPAGE0_CAP_MIN_SYNC_PERIOD_MASK) \
1507 #define MPI_SCSIPORTPAGE0_CAP_GET_MAX_SYNC_OFFSET(Cap) \ argument
1508 ( ((Cap) & MPI_SCSIPORTPAGE0_CAP_MAX_SYNC_OFFSET_MASK) \
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h46 T *Cap = nullptr; variable
54 Cap = Inline + N; in clearInline()
71 Cap = First + NewCap; in reserve()
75 PODSmallVector() : First(Inline), Last(First), Cap(Inline + N) {} in PODSmallVector()
90 Cap = Other.Cap; in PODSmallVector()
109 Cap = Other.Cap;
116 std::swap(Cap, Other.Cap);
123 if (Last == Cap) in push_back()

12