Searched refs:ReadOnly (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DSectionKind.h33 /// ReadOnly - Data that is never written to at program runtime by the
36 ReadOnly, enumerator in enum:llvm::SectionKind::Kind
123 return K == ReadOnly || isMergeableCString() ||
181 static SectionKind getReadOnly() { return get(ReadOnly); }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DForceFunctionAttrs.cpp53 .Case("readonly", Attribute::ReadOnly)
H A DFunctionAttrs.cpp284 F->removeFnAttr(Attribute::ReadOnly);
299 F->addFnAttr(ReadsMemory ? Attribute::ReadOnly : Attribute::ReadNone);
442 /// Returns Attribute::None, Attribute::ReadOnly or Attribute::ReadNone.
567 return IsRead ? Attribute::ReadOnly : Attribute::ReadNone;
664 assert((R == Attribute::ReadOnly || R == Attribute::ReadNone)
675 A->removeAttr(Attribute::ReadOnly);
678 R == Attribute::ReadOnly ? ++NumReadOnlyArg : ++NumReadNoneArg;
837 if (K == Attribute::ReadOnly) {
838 ReadAttr = Attribute::ReadOnly;
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h152 ReadOnly, enumerator in enum:llvm::CodeGenIntrinsic::ArgAttrKind
H A DCodeGenTarget.cpp820 } else if (Property->isSubClassOf("ReadOnly")) {
822 ArgumentAttributes.emplace_back(ArgNo, ReadOnly, 0);
H A DIntrinsicEmitter.cpp696 case CodeGenIntrinsic::ReadOnly:
699 OS << "Attribute::ReadOnly";
828 OS << "Attribute::ReadOnly,";
834 OS << "Attribute::ReadOnly";
839 OS << "Attribute::ReadOnly,";
845 OS << "Attribute::ReadOnly,";
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.h73 std::set<unsigned> ReadOnly;
H A DHexagonMCChecker.cpp39 ReadOnly.insert(Hexagon::PC);
40 ReadOnly.insert(Hexagon::C9_8);
511 if (ReadOnly.find(Register) != ReadOnly.end()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp128 /* On an argument, ReadOnly attribute indicates that the function does
137 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) {
H A DAMDGPUHSAMetadataStreamer.cpp75 .Case("read_only", AccessQualifier::ReadOnly)
H A DAMDGPULibFunc.cpp990 Attribute::ReadOnly);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h167 enum Flags { HaveGV = 1, ReadOnly = 2, WriteOnly = 4 }; enumerator in enum:llvm::CalleeInfo::ValueInfo::Flags
197 return RefAndFlags.getInt() & ReadOnly;
205 return RefAndFlags.getInt() & (ReadOnly | WriteOnly);
208 unsigned BadAccessMask = ReadOnly | WriteOnly;
215 RefAndFlags.setInt(RefAndFlags.getInt() | ReadOnly);
546 unsigned ReadOnly : 1; member in struct:llvm::CalleeInfo::FunctionSummary::FFlags
821 GVarFlags(bool ReadOnly, bool WriteOnly, bool Constant, argument
823 : MaybeReadOnly(ReadOnly), MaybeWriteOnly(WriteOnly),
837 // can be 'Constant' while not being 'ReadOnly' on several occasions:
839 // - its address is taken, meaning that unlike 'ReadOnly' var
[all...]
H A DFunction.h507 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly);
510 addFnAttr(Attribute::ReadOnly);
H A DInstrTypes.h1006 if (A == Attribute::ReadOnly || A == Attribute::NoCapture)
1584 return dataOperandHasImpliedAttr(OpNo + 1, Attribute::ReadOnly) ||
1679 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly);
1682 addAttribute(AttributeList::FunctionIndex, Attribute::ReadOnly);
1988 case Attribute::ReadOnly:
/freebsd-13-stable/stand/efi/include/
H A Defiprot.h93 BOOLEAN ReadOnly; member in struct:__anon8014
324 BOOLEAN ReadOnly; member in struct:__anon8016
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DLinkerScript.h127 enum class ConstraintKind { NoConstraint, ReadOnly, ReadWrite }; member in class:lld::elf::ConstraintKind
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h44 ReadOnly = 1, member in class:llvm::AMDGPU::HSAMD::AccessQualifier
/freebsd-13-stable/stand/efi/gptboot/
H A Dproto.c92 if (dev->Media->ReadOnly)
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1957 bool ReadOnly, bool ReadNone, const AsmStmt &S,
1968 else if (ReadOnly)
1970 llvm::Attribute::ReadOnly);
2058 bool ReadOnly = true, ReadNone = true; local
2139 ReadOnly = ReadNone = false;
2288 ReadOnly = ReadNone = false;
2336 UpdateAsmCallInst(cast<llvm::CallBase>(*Result), HasSideEffect, ReadOnly,
2341 UpdateAsmCallInst(cast<llvm::CallBase>(*Result), HasSideEffect, ReadOnly,
1956 UpdateAsmCallInst(llvm::CallBase &Result, bool HasSideEffect, bool ReadOnly, bool ReadNone, const AsmStmt &S, const std::vector<llvm::Type *> &ResultRegTypes, CodeGenFunction &CGF, std::vector<llvm::Value *> &RegResults) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DAMDGPUMetadata.cpp32 YIO.enumCase(EN, "ReadOnly", AccessQualifier::ReadOnly);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp467 F.hasFnAttribute(Attribute::ReadOnly),
713 F->hasFnAttribute(Attribute::ReadOnly),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp394 char FlagRep[] = {FlagValue(F.ReadNone), FlagValue(F.ReadOnly),
H A DAttributes.cpp406 if (hasAttribute(Attribute::ReadOnly))
1827 .addAttribute(Attribute::ReadOnly)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp100 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly))
102 F.addParamAttr(ArgNo, Attribute::ReadOnly);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp66 bool ReadOnly = true; member in struct:__anon4032::MulCandidate

Completed in 168 milliseconds

12