Home
last modified time | relevance | path

Searched refs:getFlags (Results 1 – 25 of 260) sorted by relevance

1234567891011

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h262 unsigned getFlags() const { return Flags; } in getFlags() function
408 bool isFunctionScope() const { return getFlags() & Scope::FnScope; } in isFunctionScope()
411 bool isClassScope() const { return getFlags() & Scope::ClassScope; } in isClassScope()
416 return getFlags() & Scope::ClassInheritanceScope; in isClassInheritanceScope()
434 if (S->getFlags() & ObjCMethodScope) in isInObjcMethodScope()
445 if (S->getFlags() & ObjCMethodScope) in isInObjcMethodOuterScope()
454 return getFlags() & Scope::TemplateParamScope; in isTemplateParamScope()
460 return getFlags() & Scope::FunctionPrototypeScope; in isFunctionPrototypeScope()
466 return getFlags() & Scope::FunctionDeclarationScope; in isFunctionDeclarationScope()
471 return getFlags() & Scope::AtCatchScope; in isAtCatchScope()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSymbolELF.cpp62 uint32_t OtherFlags = getFlags() & ~(0x3 << ELF_STB_Shift); in setBinding()
121 uint32_t OtherFlags = getFlags() & ~(0x7 << ELF_STT_Shift); in setType()
151 uint32_t OtherFlags = getFlags() & ~(0x3 << ELF_STV_Shift); in setVisibility()
164 uint32_t OtherFlags = getFlags() & ~(0x7 << ELF_STO_Shift); in setOther()
174 uint32_t OtherFlags = getFlags() & ~(0x1 << ELF_WeakrefUsedInReloc_Shift); in setIsWeakrefUsedInReloc()
179 return getFlags() & (0x1 << ELF_WeakrefUsedInReloc_Shift); in isWeakrefUsedInReloc()
183 uint32_t OtherFlags = getFlags() & ~(0x1 << ELF_IsSignature_Shift); in setIsSignature()
188 return getFlags() & (0x1 << ELF_IsSignature_Shift); in isSignature()
192 uint32_t OtherFlags = getFlags() & ~(0x1 << ELF_BindingSet_Shift); in setIsBindingSet()
197 return getFlags() & (0x1 << ELF_BindingSet_Shift); in isBindingSet()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordVisitor.cpp34 Symbols->addGlobal(SymKind, SymName, GR.getFlags(), Targ); in visitGlobal()
37 Symbols->addGlobal(SymKind, SymName, GR.getFlags(), Targ); in visitGlobal()
43 Symbols->addGlobal(EncodeKind::GlobalSymbol, GR.getName(), GR.getFlags(), in visitGlobal()
55 IV->getFlags(), Targ); in addIVars()
63 ObjCR.getFlags(), Targ); in visitObjCInterface()
66 ObjCR.getFlags(), Targ); in visitObjCInterface()
73 ObjCR.getFlags(), Targ); in visitObjCInterface()
77 ObjCR.getFlags(), Targ); in visitObjCInterface()
81 ObjCR.getFlags(), Targ); in visitObjCInterface()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolMachO.h70 return getFlags() & SF_NoDeadStrip; in isNoDeadStrip()
77 return getFlags() & SF_WeakReference; in isWeakReference()
84 return getFlags() & SF_WeakDefinition; in isWeakDefinition()
91 return getFlags() & SF_SymbolResolver; in isSymbolResolver()
102 return getFlags() & SF_AltEntry; in isAltEntry()
107 bool isCold() const { return getFlags() & SF_Cold; } in isCold()
130 uint16_t Flags = getFlags(); in getEncodedFlags()
H A DMCSymbolCOFF.h44 return (getFlags() & SF_ClassMask) >> SF_ClassShift; in getClass()
51 …return static_cast<COFF::WeakExternalCharacteristics>((getFlags() & SF_WeakExternalCharacteristics… in getWeakExternalCharacteristics()
63 return getFlags() & SF_SafeSEH; in isSafeSEH()
H A DMCSymbolWasm.h57 return getFlags() & wasm::WASM_SYMBOL_EXPORTED; in isExported()
64 return getFlags() & wasm::WASM_SYMBOL_NO_STRIP; in isNoStrip()
70 bool isTLS() const { return getFlags() & wasm::WASM_SYMBOL_TLS; } in isTLS()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DTapiFile.cpp27 static uint32_t getFlags(const Symbol *Sym) { in getFlags() function
60 Symbols.emplace_back(StringRef(), Symbol->getName(), getFlags(Symbol), in TapiFile()
66 getFlags(Symbol), ::getType(Symbol)); in TapiFile()
69 getFlags(Symbol), ::getType(Symbol)); in TapiFile()
71 getFlags(Symbol), ::getType(Symbol)); in TapiFile()
76 getFlags(Symbol), ::getType(Symbol)); in TapiFile()
79 Symbols.emplace_back(ObjC2IVarPrefix, Symbol->getName(), getFlags(Symbol), in TapiFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorSymbolDef.h32 const JITSymbolFlags &getFlags() const { return Flags; }
39 LHS.getFlags() == RHS.getFlags();
91 return DefArgList::size(ESD.getAddress(), ESD.getFlags());
95 return DefArgList::serialize(BOB, ESD.getAddress(), ESD.getFlags());
31 const JITSymbolFlags &getFlags() const { return Flags; } getFlags() function
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DJITSymbol.cpp70 Expected<uint32_t> SymbolFlagsOrErr = Symbol.getFlags(); in fromObjectSymbol()
95 Expected<uint32_t> SymbolFlagsOrErr = Symbol.getFlags(); in fromObjectSymbol()
115 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
127 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
157 if (!Sym.getFlags().isStrong()) in getResponsibilitySet()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStream.h55 virtual BinaryStreamFlags getFlags() const { return BSF_None; }
85 BinaryStreamFlags getFlags() const override { return BSF_Write; }
89 if (!(getFlags() & BSF_Append)) in checkOffsetForWrite()
56 virtual BinaryStreamFlags getFlags() const { return BSF_None; } getFlags() function
86 BinaryStreamFlags getFlags() const override { return BSF_Write; } getFlags() function
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp68 static SymbolFlags getFlags(bool WeakDef, bool ThreadLocal = false) { in getFlags() function
246 *Access, getFlags(WeakDef, ThreadLocal)); in VisitVarDecl()
299 D, *Access, getFlags(WeakDef), Inlined); in VisitFunctionDecl()
492 D, Access, getFlags(WeakDef)); in emitVTableSymbols()
636 D, *Access, getFlags(WeakDef)); in VisitCXXRecordDecl()
643 D, *Access, getFlags(WeakDef)); in VisitCXXRecordDecl()
658 D, *Access, getFlags(WeakDef)); in VisitCXXRecordDecl()
664 *Access, getFlags(WeakDef)); in VisitCXXRecordDecl()
671 D, *Access, getFlags(WeakDef)); in VisitCXXRecordDecl()
687 *Access, getFlags(WeakDef)); in VisitCXXRecordDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp46 Flags |= parent->getFlags() & OpenMPSimdDirectiveScope; in setFlags()
48 if (parent->getFlags() & OpenMPOrderClauseScope) in setFlags()
86 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags()
199 unsigned Flags = getFlags(); in dumpImpl()
/freebsd/contrib/llvm-project/lld/MachO/
H A DMarkLive.cpp174 if (!(isec->getFlags() & S_ATTR_LIVE_SUPPORT) || isec->live) in markTransitively()
263 if (isec->getFlags() & S_ATTR_NO_DEAD_STRIP) { in markLive()
269 if (sectionType(isec->getFlags()) == S_MOD_INIT_FUNC_POINTERS || in markLive()
270 sectionType(isec->getFlags()) == S_MOD_TERM_FUNC_POINTERS) { in markLive()
272 sectionType(isec->getFlags()) != S_MOD_INIT_FUNC_POINTERS); in markLive()
H A DInputSection.cpp58 sectionType(isec->getFlags()) == S_MOD_INIT_FUNC_POINTERS) { in addInputSection()
88 return isZeroFill(getFlags()) ? 0 : getSize(); in getFileSize()
251 if (isThreadLocalVariables(getFlags()) && isa<Defined>(referentSym)) { in writeTo()
336 switch (sectionType(getFlags())) { in WordLiteralInputSection()
356 switch (sectionType(getFlags())) { in getOffset()
369 uint32_t type = sectionType(isec->getFlags()); in isCodeSection()
373 uint32_t attr = isec->getFlags() & SECTION_ATTRIBUTES_USR; in isCodeSection()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFLiveness.cpp117 if (RefA.Addr->getFlags() & NodeAttrs::Undef) in getAllReachingDefs()
141 if (TA.Addr->getFlags() & NodeAttrs::PhiRef) in getAllReachingDefs()
176 bool IsPhi = TA.Addr->getFlags() & NodeAttrs::PhiRef; in getAllReachingDefs()
288 uint16_t Flags = DA.Addr->getFlags(); in getAllReachingDefs()
296 return DA.Addr->getFlags() & NodeAttrs::Dead; in getAllReachingDefs()
320 if (!(DA.Addr->getFlags() & NodeAttrs::PhiRef)) in getAllReachingDefsRecImpl()
337 if (!(DA.Addr->getFlags() & NodeAttrs::PhiRef)) in getAllReachingDefsRecImpl()
383 if (!(R.Addr->getFlags() & NodeAttrs::Clobbering)) in getNearestAliasedRef()
425 bool IsDead = DefA.Addr->getFlags() & NodeAttrs::Dead; in getAllReachedUses()
429 if (!(UA.Addr->getFlags() & NodeAttrs::Undef)) { in getAllReachedUses()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPostLegalizerCombiner.cpp202 B.buildInstr(Opc, {MI.getOperand(0)}, {X, Y}, MI.getFlags()); in applySelectFCmpToFMinFMaxLegacy()
240 MI.getFlags()); in applyUCharToFloat()
243 MI.getFlags()); in applyUCharToFloat()
244 B.buildFPTrunc(DstReg, Cvt0, MI.getFlags()); in applyUCharToFloat()
280 .setMIFlags(MI.getFlags()); in matchRcpSqrtToRsq()
290 .setMIFlags(MI.getFlags()); in matchRcpSqrtToRsq()
308 uint32_t Flags = MI.getFlags(); in applyFDivSqrtToRsqF16()
358 B.buildInstr(NewOpc, {MI.getOperand(0)}, {CvtSrc}, MI.getFlags()); in applyCvtF32UByteN()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dflags.cpp17 Flags *getFlags() { in getFlags() function
64 Flags *F = getFlags(); in initFlags()
H A Dcombined.h158 if (getFlags()->may_return_null) in init()
160 if (getFlags()->zero_contents) in init()
162 else if (getFlags()->pattern_fill_contents) in init()
164 if (getFlags()->dealloc_type_mismatch) in init()
166 if (getFlags()->delete_size_mismatch) in init()
173 static_cast<u32>(getFlags()->quarantine_max_chunk_size); in init()
179 const s32 ReleaseToOsIntervalMs = getFlags()->release_to_os_interval_ms; in init()
183 static_cast<uptr>(getFlags()->quarantine_size_kb << 10), in init()
184 static_cast<uptr>(getFlags()->thread_local_quarantine_size_kb << 10)); in init()
206 Opt.Enabled = getFlags()->GWP_ASAN_Enabled; in initGwpAsan()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DRTDyldObjectLinkingLayer.cpp44 KV.second.getFlags()}; in lookup()
124 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); in emit()
241 uint32_t SymFlags = cantFail(Sym.getFlags()); in onObjLoad()
261 I->second.setFlags(I->second.getFlags() | JITSymbolFlags::Weak); in onObjLoad()
266 uint32_t SymFlags = cantFail(Sym.getFlags()); in onObjLoad()
313 auto Flags = KV.second.getFlags(); in onObjLoad()
H A DObjectFileInterface.cpp47 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); in getMachOObjectFileSymbolInfo()
104 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); in getELFObjectFileSymbolInfo()
159 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); in getCOFFObjectFileSymbolInfo()
240 Expected<uint32_t> SymFlagsOrErr = Sym.getFlags(); in getGenericObjectFileSymbolInfo()
H A DCore.cpp204 if (Sym.getFlags().hasMaterializationSideEffectsOnly()) in notifySymbolMetRequiredState()
316 Flags[Name] = Def.getFlags(); in extractFlags()
919 assert(!KV.second.getFlags().hasError() && in resolve()
932 if (SymI->second.getFlags().hasError()) in resolve()
935 auto Flags = KV.second.getFlags(); in resolve()
938 (SymI->second.getFlags() & ~JITSymbolFlags::Common) && in resolve()
962 JITSymbolFlags ResolvedFlags = ResolvedSym.getFlags(); in resolve()
1168 OS << " " << KV.second->getFlags() << " " << KV.second->getState(); in dump()
1419 if (I->second.getFlags().isStrong() || in defineImpl()
2271 if (!SymI->second.getFlags().isExported() && in IL_updateCandidatesFor()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp630 if (getFlags().hasNoUnsignedWrap()) in print_details()
633 if (getFlags().hasNoSignedWrap()) in print_details()
636 if (getFlags().hasExact()) in print_details()
639 if (getFlags().hasDisjoint()) in print_details()
642 if (getFlags().hasNonNeg()) in print_details()
645 if (getFlags().hasNoNaNs()) in print_details()
648 if (getFlags().hasNoInfs()) in print_details()
651 if (getFlags().hasNoSignedZeros()) in print_details()
654 if (getFlags().hasAllowReciprocal()) in print_details()
657 if (getFlags().hasAllowContract()) in print_details()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h752 DIFlags getFlags() const { return Flags; } in getFlags() function
768 return (getFlags() & FlagAccessibility) == FlagPrivate; in isPrivate()
771 return (getFlags() & FlagAccessibility) == FlagProtected; in isProtected()
774 return (getFlags() & FlagAccessibility) == FlagPublic; in isPublic()
776 bool isForwardDecl() const { return getFlags() & FlagFwdDecl; } in isForwardDecl()
777 bool isAppleBlockExtension() const { return getFlags() & FlagAppleBlock; } in isAppleBlockExtension()
778 bool isVirtual() const { return getFlags() & FlagVirtual; } in isVirtual()
779 bool isArtificial() const { return getFlags() & FlagArtificial; } in isArtificial()
780 bool isObjectPointer() const { return getFlags() & FlagObjectPointer; } in isObjectPointer()
782 return getFlags() & FlagObjcClassComplete; in isObjcClassComplete()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h223 Flags getFlags() const { return FlagVals; } in getFlags() function
350 LHS.getFlags() == RHS.getFlags() &&
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h254 JITSymbolFlags getFlags() const { return Flags; } in getFlags() function
285 : CachedAddr(Sym.getAddress()), Flags(Sym.getFlags()) {} in JITSymbol()
354 JITSymbolFlags getFlags() const { return Flags; } in getFlags() function

1234567891011