Home
last modified time | relevance | path

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

12345678910

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h246 unsigned getFlags() const { return Flags; } in getFlags() function
397 return getFlags() & Scope::ClassInheritanceScope; in isClassInheritanceScope()
415 if (S->getFlags() & ObjCMethodScope) in isInObjcMethodScope()
426 if (S->getFlags() & ObjCMethodScope) in isInObjcMethodOuterScope()
435 return getFlags() & Scope::TemplateParamScope; in isTemplateParamScope()
441 return getFlags() & Scope::FunctionPrototypeScope; in isFunctionPrototypeScope()
452 return getFlags() & Scope::AtCatchScope; in isAtCatchScope()
461 if (S->getFlags() & Scope::SwitchScope) in isSwitchScope()
510 return getFlags() & ScopeFlags::ContinueScope; in isContinueScope()
518 return getFlags() & ScopeFlags::FnTryCatchScope; in isFnTryCatchScope()
[all …]
/freebsd-14.2/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()
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()
201 return getFlags() & (0x1 << ELF_IsMemoryTagged_Shift); in isMemtag()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolMachO.h66 return getFlags() & SF_NoDeadStrip; in isNoDeadStrip()
73 return getFlags() & SF_WeakReference; in isWeakReference()
80 return getFlags() & SF_WeakDefinition; in isWeakDefinition()
87 return getFlags() & SF_SymbolResolver; in isSymbolResolver()
98 return getFlags() & SF_AltEntry; in isAltEntry()
103 bool isCold() const { return getFlags() & SF_Cold; } in isCold()
114 uint16_t Flags = getFlags(); in getEncodedFlags()
H A DMCSymbolCOFF.h43 return (getFlags() & SF_ClassMask) >> SF_ClassShift; in getClass()
50 …return static_cast<COFF::WeakExternalCharacteristics>((getFlags() & SF_WeakExternalCharacteristics… in getWeakExternalCharacteristics()
62 return getFlags() & SF_SafeSEH; in isSafeSEH()
H A DMCSymbolWasm.h56 return getFlags() & wasm::WASM_SYMBOL_EXPORTED; in isExported()
63 return getFlags() & wasm::WASM_SYMBOL_NO_STRIP; in isNoStrip()
69 bool isTLS() const { return getFlags() & wasm::WASM_SYMBOL_TLS; } in isTLS()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordVisitor.cpp31 auto [SymName, SymKind] = parseSymbol(GR.getName(), GR.getFlags()); in visitGlobal()
34 Symbols->addGlobal(SymKind, SymName, GR.getFlags(), Targ); in visitGlobal()
45 IV->getFlags(), Targ); in addIVars()
52 ObjCR.getFlags(), Targ); in visitObjCInterface()
55 ObjCR.getFlags(), Targ); in visitObjCInterface()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorSymbolDef.h32 const JITSymbolFlags &getFlags() const { return Flags; } in getFlags() function
39 LHS.getFlags() == RHS.getFlags();
91 return DefArgList::size(ESD.getAddress(), ESD.getFlags()); in size()
95 return DefArgList::serialize(BOB, ESD.getAddress(), ESD.getFlags()); in serialize()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/
H A Dexecutor_symbol_def.h82 const JITSymbolFlags &getFlags() const { return Flags; } in getFlags() function
87 LHS.getFlags() == RHS.getFlags();
132 return DefArgList::size(ESD.getAddress(), ESD.getFlags()); in size()
136 return DefArgList::serialize(BOB, ESD.getAddress(), ESD.getFlags()); in serialize()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStream.h55 virtual BinaryStreamFlags getFlags() const { return BSF_None; } in getFlags() function
85 BinaryStreamFlags getFlags() const override { return BSF_Write; } in getFlags() function
89 if (!(getFlags() & BSF_Append)) in checkOffsetForWrite()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp45 Flags |= parent->getFlags() & OpenMPSimdDirectiveScope; in setFlags()
47 if (parent->getFlags() & OpenMPOrderClauseScope) in setFlags()
83 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags()
196 unsigned Flags = getFlags(); in dumpImpl()
/freebsd-14.2/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.cpp42 return isZeroFill(getFlags()) ? 0 : getSize(); in getFileSize()
207 if (isThreadLocalVariables(getFlags()) && isa<Defined>(referentSym)) { in writeTo()
289 switch (sectionType(getFlags())) { in WordLiteralInputSection()
309 switch (sectionType(getFlags())) { in getOffset()
322 uint32_t type = sectionType(isec->getFlags()); in isCodeSection()
326 uint32_t attr = isec->getFlags() & SECTION_ATTRIBUTES_USR; in isCodeSection()
/freebsd-14.2/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()
429 if (!(UA.Addr->getFlags() & NodeAttrs::Undef)) { in getAllReachedUses()
511 uint16_t F = A.Addr->getFlags(); in computePhiInfo()
604 if (D.Addr->getFlags() & NodeAttrs::PhiRef) { in computePhiInfo()
[all …]
/freebsd-14.2/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.h151 if (getFlags()->may_return_null) in init()
153 if (getFlags()->zero_contents) in init()
155 else if (getFlags()->pattern_fill_contents) in init()
157 if (getFlags()->dealloc_type_mismatch) in init()
159 if (getFlags()->delete_size_mismatch) in init()
184 Opt.Enabled = getFlags()->GWP_ASAN_Enabled; in initGwpAsan()
186 getFlags()->GWP_ASAN_MaxSimultaneousAllocations; in initGwpAsan()
187 Opt.SampleRate = getFlags()->GWP_ASAN_SampleRate; in initGwpAsan()
189 Opt.Recoverable = getFlags()->GWP_ASAN_Recoverable; in initGwpAsan()
231 if (getFlags()->GWP_ASAN_InstallSignalHandlers) in unmapTestOnly()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp591 if (getFlags().hasNoUnsignedWrap()) in print_details()
594 if (getFlags().hasNoSignedWrap()) in print_details()
597 if (getFlags().hasExact()) in print_details()
600 if (getFlags().hasDisjoint()) in print_details()
603 if (getFlags().hasNonNeg()) in print_details()
606 if (getFlags().hasNoNaNs()) in print_details()
609 if (getFlags().hasNoInfs()) in print_details()
612 if (getFlags().hasNoSignedZeros()) in print_details()
615 if (getFlags().hasAllowReciprocal()) in print_details()
618 if (getFlags().hasAllowContract()) in print_details()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DRTDyldObjectLinkingLayer.cpp42 KV.second.getFlags()}; in lookup()
125 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.cpp296 Flags[KV.first] = KV.second.getFlags(); in extractFlags()
890 if (Symbols[Name].getFlags().hasError()) in addDependencies()
925 if (OtherSymEntry.getFlags().hasError()) { in addDependencies()
979 assert(!KV.second.getFlags().hasError() && in resolve()
992 if (SymI->second.getFlags().hasError()) in resolve()
995 auto Flags = KV.second.getFlags(); in resolve()
1077 if (SymI->second.getFlags().hasError()) in emit()
1716 if (I->second.getFlags().isStrong() || in defineImpl()
2399 if (!SymI->second.getFlags().isExported() && in IL_updateCandidatesFor()
2418 if (SymI->second.getFlags().hasError()) { in IL_updateCandidatesFor()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPostLegalizerCombiner.cpp200 B.buildInstr(Opc, {MI.getOperand(0)}, {X, Y}, MI.getFlags()); in applySelectFCmpToFMinToFMaxLegacy()
280 MI.getFlags()); in applyUCharToFloat()
283 MI.getFlags()); in applyUCharToFloat()
284 B.buildFPTrunc(DstReg, Cvt0, MI.getFlags()); in applyUCharToFloat()
320 .setMIFlags(MI.getFlags()); in matchRcpSqrtToRsq()
330 .setMIFlags(MI.getFlags()); in matchRcpSqrtToRsq()
379 B.buildInstr(NewOpc, {MI.getOperand(0)}, {CvtSrc}, MI.getFlags()); in applyCvtF32UByteN()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h751 DIFlags getFlags() const { return Flags; } in getFlags() function
767 return (getFlags() & FlagAccessibility) == FlagPrivate; in isPrivate()
773 return (getFlags() & FlagAccessibility) == FlagPublic; in isPublic()
781 return getFlags() & FlagObjcClassComplete; in isObjcClassComplete()
783 bool isVector() const { return getFlags() & FlagVector; } in isVector()
790 return getFlags() & FlagTypePassByReference; in isTypePassByReference()
1749 DIFlags getFlags() const { return Flags; } in getFlags() function
1764 return (getFlags() & FlagAccessibility) == FlagPublic; in isPublic()
1769 return getFlags() & FlagAllCallsDescribed; in areAllCallsDescribed()
1802 bool isThunk() const { return getFlags() & FlagThunk; } in isThunk()
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dbitmask_enum_test.cpp134 static Flags getFlags() { in getFlags() function
141 TEST(BitmaskEnumTest, EnumInStruct) { EXPECT_EQ(3, Container::getFlags()); } in TEST()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h222 Flags getFlags() const { return FlagVals; } in getFlags() function
342 LHS.getFlags() == RHS.getFlags() &&

12345678910