Home
last modified time | relevance | path

Searched +defs:C +defs:empty (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTUnresolvedSet.h45 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} in ASTUnresolvedSet()
56 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl()
60 void addLazyDecl(ASTContext &C, GlobalDeclID ID, AccessSpecifier AS) { in addLazyDecl()
86 bool empty() const { return Decls.empty(); } in empty() function
89 void reserve(ASTContext &C, unsigned N) { in reserve()
93 void append(ASTContext &C, iterator I, iterator E) { in append()
109 ASTUnresolvedSet &get(ASTContext &C) const { in get()
115 void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); } in reserve()
117 void addLazyDecl(ASTContext &C, GlobalDeclID ID, AccessSpecifier AS) { in addLazyDecl()
H A DASTVector.h60 ASTVector(const ASTContext &C, unsigned N) : Capacity(nullptr, false) { in ASTVector()
108 bool empty() const { return Begin == End; } in empty() function
162 void push_back(const_reference Elt, const ASTContext &C) { in push_back()
173 void reserve(const ASTContext &C, unsigned N) { in reserve()
184 void append(const ASTContext &C, in_iter in_start, in_iter in_end) { in append()
202 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { in append()
219 iterator insert(const ASTContext &C, iterator I, const T &Elt) { in insert()
240 iterator insert(const ASTContext &C, iterator I, size_type NumToInsert, in insert()
289 iterator insert(const ASTContext &C, iterator I, ItTy From, ItTy To) { in insert()
341 void resize(const ASTContext &C, unsigned N, const T &NV) { in resize()
[all …]
H A DDeclTemplate.h137 bool empty() const { return NumParams == 0; } in empty() function
229 FixedSizeTemplateParameterListStorage(const ASTContext &C, in FixedSizeTemplateParameterListStorage()
338 if (const auto *C = Storage->ValueOrInherited.template dyn_cast<Chain *>()) in get() local
348 if (const auto *C = ValueOrInherited.template dyn_cast<Chain *>()) in getInheritedFrom() local
360 void setInherited(const ASTContext &C, ParmDecl *InheritedFrom) { in setInherited()
823 RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC, in RedeclarableTemplateDecl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h76 for (auto C : Node->Callers) in deleteTrieNode() local
91 bool empty() const { return Alloc == nullptr; } in empty() function
138 bool empty() const { return N == nullptr; } in empty() function
H A DLazyCallGraph.h281 bool empty() { in empty() function
502 bool isChildOf(const SCC &C) const { return C.isParentOf(*this); } in isChildOf()
508 bool isDescendantOf(const SCC &C) const { return C.isAncestorOf(*this); } in isDescendantOf()
619 iterator find(SCC &C) const { in find()
991 if (SCC *C = lookupSCC(N)) in lookupRefSCC() local
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DMapLattice.h41 Container C; variable
52 explicit MapLattice(Container C) { C = std::move(C); } in MapLattice()
67 bool empty() const { return C.empty(); } in empty() function
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Support/
H A DBumpVector.h75 explicit BumpVector(BumpVectorContext &C, unsigned N) { in BumpVector()
114 bool empty() const { return Begin == End; } in empty() function
168 void push_back(const_reference Elt, BumpVectorContext &C) { in push_back()
182 BumpVectorContext &C) { in insert()
197 void reserve(BumpVectorContext &C, unsigned N) { in reserve()
234 void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) { in grow()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DSequenceToOffsetTable.h29 static inline void printChar(raw_ostream &OS, char C) { in printChar()
97 bool empty() const { return Seqs.empty(); } in empty() function
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DConstantPools.cpp41 const MCConstantExpr *C = dyn_cast<MCConstantExpr>(Value); in addEntry() local
70 bool ConstantPool::empty() { return Entries.empty(); } in empty() function in ConstantPool
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.cpp50 const MCConstantExpr *C = dyn_cast<MCConstantExpr>(Value); addEntry() local
75 bool CSKYConstantPool::empty() { return Entries.empty(); } empty() function in CSKYConstantPool
[all...]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMemoryModelRelaxationAnnotations.cpp139 bool MMRAMetadata::empty() const { return Tags.empty(); } in empty() function in MMRAMetadata
161 if (const auto *C = dyn_cast<CallBase>(&I)) in isReadWriteMemCall() local
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DRustDemangle.cpp37 bool empty() const { return Name.empty(); } in empty() function
170 static inline bool isDigit(const char C) { return '0' <= C && C <= '9'; } in isDigit()
172 static inline bool isHexDigit(const char C) { in isHexDigit()
176 static inline bool isLower(const char C) { return 'a' <= C && C <= 'z'; } in isLower()
178 static inline bool isUpper(const char C) { return 'A' <= C && C <= 'Z'; } in isUpper()
181 static inline bool isValid(const char C) { in isValid()
386 static bool parseBasicType(char C, BasicType &Type) { in parseBasicType()
544 char C = consume(); in demangleType() local
638 for (char C : Ident.Name) { in demangleFnSig() local
732 char C = consume(); in demangleConst() local
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCloneDetection.h107 bool empty() const { return size() == 0; } in empty() function
185 static void constrainClones(std::vector<CloneGroup> &CloneGroups, T C) { in constrainClones()
195 static void constrainClones(std::vector<CloneGroup> &CloneGroups, T1 C, in constrainClones()
H A DCFG.h159 const ConstructionContext *C) in CFGConstructor()
198 explicit CFGCXXRecordTypedCall(const Expr *E, const ConstructionContext *C) in CFGCXXRecordTypedCall()
611 ElementList(BumpVectorContext &C) : Impl(C, 4) {} in ElementList()
619 void push_back(CFGElement e, BumpVectorContext &C) { Impl.push_back(e, C); } in push_back()
622 BumpVectorContext &C) { in insert()
644 bool empty() const { return Impl.empty(); } in empty() function
889 explicit CFGBlock(unsigned blockid, BumpVectorContext &C, CFG *parent) in CFGBlock()
947 bool empty() const { return Elements.empty(); } in empty() function
1126 void appendStmt(Stmt *statement, BumpVectorContext &C) { in appendStmt()
1131 BumpVectorContext &C) { in appendConstructor()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineScheduler.h157 MachineSchedRegistry(const char *N, const char *D, ScheduleDAGCtor C) in MachineSchedRegistry()
302 ScheduleDAGMI(MachineSchedContext *C, std::unique_ptr<MachineSchedStrategy> S, in ScheduleDAGMI()
437 ScheduleDAGMILive(MachineSchedContext *C, in ScheduleDAGMILive()
555 bool empty() const { return Queue.empty(); } in empty() function
717 static IntervalTy getResourceIntervalBottom(unsigned C, unsigned AcquireAtCycle, in getResourceIntervalBottom()
722 static IntervalTy getResourceIntervalTop(unsigned C, unsigned AcquireAtCycle, in getResourceIntervalTop()
809 bool empty() const { return _Intervals.empty(); } in empty() function
1172 GenericSchedulerBase(const MachineSchedContext *C) : Context(C) {} in GenericSchedulerBase()
1212 GenericScheduler(const MachineSchedContext *C): in GenericScheduler()
1305 PostGenericScheduler(const MachineSchedContext *C) in PostGenericScheduler()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringRef.h134 [[nodiscard]] constexpr bool empty() const { return Length == 0; } in empty() function
415 [[nodiscard]] bool contains(char C) const { in contains()
427 [[nodiscard]] bool contains_insensitive(char C) const { in contains_insensitive()
436 [[nodiscard]] size_t count(char C) const { in count()
H A DSmallPtrSet.h93 [[nodiscard]] bool empty() const { return size() == 0; } in empty() function
490 size_t C = 1; in RoundUpToPowerOfTwo() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DomainReassignment.cpp331 bool empty() const { return Edges.empty(); } in empty() function in __anond9661d290111::Closure
429 void X86DomainReassignment::visitRegister(Closure &C, Register Reg, in visitRegister()
452 void X86DomainReassignment::encloseInstr(Closure &C, MachineInstr *MI) { in encloseInstr()
477 double X86DomainReassignment::calculateCost(const Closure &C, in calculateCost()
488 bool X86DomainReassignment::isReassignmentProfitable(const Closure &C, in isReassignmentProfitable()
493 void X86DomainReassignment::reassign(const Closure &C, RegDomain Domain) const { in reassign() argument
543 void X86DomainReassignment::buildClosure(Closure &C, Register Reg) { in buildClosure()
808 Closure C(ClosureID++, {MaskDomain}); in runOnMachineFunction() local
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h120 bool empty() const { return M.empty(); } in empty() function
174 template <typename Collection> explicit Array(const Collection &C) { in Array()
309 Value(const std::vector<Elt> &C) : Value(json::Array(C)) {} in Value()
314 Value(const std::map<std::string, Elt> &C) : Value(json::Object(C)) {} in Value()
547 inline bool Array::empty() const { return V.empty(); } in empty() function
598 ObjectKey(const ObjectKey &C) { *this = C; } in ObjectKey()
599 ObjectKey(ObjectKey &&C) : ObjectKey(static_cast<const ObjectKey &&>(C)) {} in ObjectKey() function
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp45 bool empty() const { return Storage.empty(); } in empty() function in __anon35eb8c210111::PriorityQueue
265 DifferenceEngine::Context C(Engine, L, R); in unify() local
295 DifferenceEngine::Context C(Engine, BDC.LBB, BDC.RBB); in checkAndReportDiffCandidates() local
302 DifferenceEngine::Context C(Engine, L, R); in diff() local
948 Context C(*this, L, R); in diff() local
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp762 CXXStaticCastExpr::Create(const ASTContext &C, QualType T, ExprValueKind VK, in Create()
779 CXXStaticCastExpr *CXXStaticCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty()
788 CXXDynamicCastExpr *CXXDynamicCastExpr::Create(const ASTContext &C, QualType T, in Create()
807 CXXDynamicCastExpr *CXXDynamicCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty()
853 CXXReinterpretCastExpr::Create(const ASTContext &C, QualType T, in Create()
871 CXXReinterpretCastExpr::CreateEmpty(const ASTContext &C, unsigned PathSize) { in CreateEmpty()
876 CXXConstCastExpr *CXXConstCastExpr::Create(const ASTContext &C, QualType T, in Create()
885 CXXConstCastExpr *CXXConstCastExpr::CreateEmpty(const ASTContext &C) { in CreateEmpty()
890 CXXAddrspaceCastExpr::Create(const ASTContext &C, QualType T, ExprValueKind VK, in Create()
898 CXXAddrspaceCastExpr *CXXAddrspaceCastExpr::CreateEmpty(const ASTContext &C) { in CreateEmpty()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp264 explicit MappingConfig(LLVMContext &C) : Context(C) { in MappingConfig()
453 if (Constant *C = dyn_cast<Constant>(V)) in getShadow() local
458 bool empty() const { return Map.empty(); } in empty() function in __anon1c7024df0111::ValueToShadowMap
1261 static FunctionType *makeDoubleDouble(LLVMContext &C) { in makeDoubleDouble()
1265 static FunctionType *makeX86FP80X86FP80(LLVMContext &C) { in makeX86FP80X86FP80()
1270 static FunctionType *makeDoubleDoubleI32(LLVMContext &C) { in makeDoubleDoubleI32()
1275 static FunctionType *makeX86FP80X86FP80I32(LLVMContext &C) { in makeX86FP80X86FP80I32()
1281 static FunctionType *makeDoubleDoubleDouble(LLVMContext &C) { in makeDoubleDoubleDouble()
1286 static FunctionType *makeX86FP80X86FP80X86FP80(LLVMContext &C) { in makeX86FP80X86FP80X86FP80()
1292 static FunctionType *makeDoubleDoubleDoubleDouble(LLVMContext &C) { in makeDoubleDoubleDoubleDouble()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h80 bool empty() const { in empty() function
380 BitTracker::RegisterCell::ref(const RegisterCell &C) { in ref()
H A DHexagonISelDAGToDAG.cpp282 SDNode *C = Ch.getNode(); in tryLoadOfLoadIntrinsic() local
595 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Mul_1)) { in SelectSHL() local
793 SDNode *C = CurDAG->getMachineNode(OpcCarry, SDLoc(N), N->getVTList(), in SelectAddSubCarry() local
818 SDNode *C; in SelectVAlign() local
892 SDValue C = CurDAG->getTargetConstant(-1, dl, MVT::i32); in SelectV2Q() local
905 SDValue C = CurDAG->getTargetConstant(-1, dl, MVT::i32); in SelectQ2V() local
922 SDValue C = CurDAG->getTargetConstant(0x3f800000, dl, MVT::i32); in FDiv() local
973 SDValue C = CurDAG->getTargetConstant(0x3f800000, dl, MVT::i32); in FastFDiv() local
1188 SDValue C = T1.getOperand(1); in ppAddrReorderAddShl() local
1692 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Val.getOperand(0))) { in keepsLowBits() local
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOptionDocEmitter.cpp35 bool empty() { in empty() function
214 for (char C : Option->getValueAsString("Name")) in canSphinxCopeWithOption() local

12