Home
last modified time | relevance | path

Searched refs:PF (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Support/
H A DMemory.cpp34 raw_ostream &operator<<(raw_ostream &OS, const Memory::ProtectionFlags &PF) { in operator <<() argument
35 assert((PF & ~(Memory::MF_READ | Memory::MF_WRITE | Memory::MF_EXEC)) == 0 && in operator <<()
38 return OS << (PF & Memory::MF_READ ? 'R' : '-') in operator <<()
39 << (PF & Memory::MF_WRITE ? 'W' : '-') in operator <<()
40 << (PF & Memory::MF_EXEC ? 'X' : '-'); in operator <<()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A DMemoryFlags.h41 std::underlying_type_t<sys::Memory::ProtectionFlags> PF = 0; in toSysMemoryProtectionFlags() local
43 PF |= sys::Memory::MF_READ; in toSysMemoryProtectionFlags()
45 PF |= sys::Memory::MF_WRITE; in toSysMemoryProtectionFlags()
47 PF |= sys::Memory::MF_EXEC; in toSysMemoryProtectionFlags()
48 return static_cast<sys::Memory::ProtectionFlags>(PF); in toSysMemoryProtectionFlags()
53 inline MemProt fromSysMemoryProtectionFlags(sys::Memory::ProtectionFlags PF) { in fromSysMemoryProtectionFlags() argument
55 if (PF & sys::Memory::MF_READ) in fromSysMemoryProtectionFlags()
57 if (PF & sys::Memory::MF_WRITE) in fromSysMemoryProtectionFlags()
59 if (PF & sys::Memory::MF_EXEC) in fromSysMemoryProtectionFlags()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DTargetProcessControlTypes.h42 toWireProtectionFlags(sys::Memory::ProtectionFlags PF) { in toWireProtectionFlags() argument
44 if (PF & sys::Memory::MF_READ) in toWireProtectionFlags()
46 if (PF & sys::Memory::MF_WRITE) in toWireProtectionFlags()
48 if (PF & sys::Memory::MF_EXEC) in toWireProtectionFlags()
55 int PF = 0; in fromWireProtectionFlags() local
57 PF |= sys::Memory::MF_READ; in fromWireProtectionFlags()
59 PF |= sys::Memory::MF_WRITE; in fromWireProtectionFlags()
61 PF |= sys::Memory::MF_EXEC; in fromWireProtectionFlags()
62 return static_cast<sys::Memory::ProtectionFlags>(PF); in fromWireProtectionFlags()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetSubtargetInfo.cpp19 ArrayRef<SubtargetFeatureKV> PF, ArrayRef<SubtargetSubTypeKV> PD, in TargetSubtargetInfo() argument
23 : MCSubtargetInfo(TT, CPU, TuneCPU, FS, PF, PD, WPR, WL, RA, IS, OC, FP) {} in TargetSubtargetInfo()
H A DRDFGraph.cpp749 const Constant *PF = F.hasPersonalityFn() ? F.getPersonalityFn() in getLandingPadLiveIns() local
752 if (RegisterId R = TLI.getExceptionPointerRegister(PF)) in getLandingPadLiveIns()
754 if (!isFuncletEHPersonality(classifyEHPersonality(PF))) { in getLandingPadLiveIns()
755 if (RegisterId R = TLI.getExceptionSelectorRegister(PF)) in getLandingPadLiveIns()
H A DMachineFunction.cpp753 if (const auto *PF = in addLandingPad() local
755 getMMI().addPersonality(PF); in addLandingPad()
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/
H A Dtag-types.cpp65 float *PF; member in Class
88 const float *PF; member
H A Dglobals-fundamental.cpp378 float *PF = &F; variable
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dblock-explicit-return-type.m5 typedef float * PF; typedef
47 (void)^PF { return &gf; };
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCAssembler.cpp719 const MCPseudoProbeAddrFragment &PF = cast<MCPseudoProbeAddrFragment>(F); in writeFragment() local
720 OS << PF.getContents(); in writeFragment()
916 MCPseudoProbeAddrFragment &PF = cast<MCPseudoProbeAddrFragment>(Frag); in layout() local
917 Fixups = PF.getFixups(); in layout()
918 Contents = PF.getContents(); in layout()
1152 MCPseudoProbeAddrFragment &PF) { in relaxPseudoProbeAddr() argument
1153 uint64_t OldSize = PF.getContents().size(); in relaxPseudoProbeAddr()
1155 bool Abs = PF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxPseudoProbeAddr()
1158 SmallVectorImpl<char> &Data = PF.getContents(); in relaxPseudoProbeAddr()
1161 PF.getFixups().clear(); in relaxPseudoProbeAddr()
H A DMCWin64EH.cpp1575 unsigned PF = 0; // Number of extra pushed registers in tryARMPackedUnwind() local
1639 if (!parseRegMask(Inst.Register, HasLR, HasR11, PF, IntRegs)) in tryARMPackedUnwind()
1646 if (Step != 3 || !HasR11 || IntRegs >= 0 || PF > 0) in tryARMPackedUnwind()
1653 if (Step != 3 || !HasR11 || (IntRegs < 0 && PF == 0)) in tryARMPackedUnwind()
1754 PF == 0 && Inst.Offset == 16) { in tryARMPackedUnwind()
1763 } else if (PF == Inst.Offset / 4) { in tryARMPackedUnwind()
1841 if (EF != PF && EF != StackAdjust) in tryARMPackedUnwind()
1921 assert(PF == 0 || EF == 0 || in tryARMPackedUnwind()
1923 if (PF > 0 || EF > 0) { in tryARMPackedUnwind()
1924 StackAdjust = PF > 0 ? (PF - 1) : (EF - 1); in tryARMPackedUnwind()
[all …]
H A DMCSubtargetInfo.cpp226 StringRef FS, ArrayRef<SubtargetFeatureKV> PF, in MCSubtargetInfo() argument
234 ProcFeatures(PF), ProcDesc(PD), WriteProcResTable(WPR), in MCSubtargetInfo()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp536 int (*PF)(int, char **, const char **) = in runFunction() local
541 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
550 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; in runFunction() local
554 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
563 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; in runFunction() local
564 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
/llvm-project-15.0.7/llvm/tools/bugpoint/
H A DExtractFunction.cpp90 const Function *PF = PBB->getParent(); in deleteInstructionFromProgram() local
94 RFI, std::distance(PF->getParent()->begin(), Module::const_iterator(PF))); in deleteInstructionFromProgram()
97 std::advance(RBI, std::distance(PF->begin(), Function::const_iterator(PBB))); in deleteInstructionFromProgram()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy.cpp744 Function *PF = OpenModule->getFunction(FnName); in getFunction() local
745 if (PF && !PF->empty()) { in getFunction()
751 if (!PF) in getFunction()
752 PF = Function::Create(F->getFunctionType(), in getFunction()
756 return PF; in getFunction()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp734 Function *PF = OpenModule->getFunction(FnName); in getFunction() local
735 if (PF && !PF->empty()) { in getFunction()
741 if (!PF) in getFunction()
742 PF = Function::Create(F->getFunctionType(), in getFunction()
746 return PF; in getFunction()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DMemory.h173 raw_ostream &operator<<(raw_ostream &OS, const Memory::ProtectionFlags &PF);
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp833 Function *PF = OpenModule->getFunction(FnName); in getFunction() local
834 if (PF && !PF->empty()) { in getFunction()
840 if (!PF) in getFunction()
841 PF = Function::Create(F->getFunctionType(), in getFunction()
845 return PF; in getFunction()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp901 Function *PF = CurrentModule->getFunction(FnName); in getFunction() local
902 if (PF && !PF->empty()) { in getFunction()
908 if (!PF) in getFunction()
909 PF = Function::Create(F->getFunctionType(), in getFunction()
913 return PF; in getFunction()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dnullptr.cpp78 template <int *PI, void (*PF)(), int A::*PM, void (A::*PMF)()>
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dunused-using-decls.cpp54 ostream &operator<<(ostream &(*PF)(ostream &));
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetSubtargetInfo.h63 StringRef FS, ArrayRef<SubtargetFeatureKV> PF,
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h98 StringRef FS, ArrayRef<SubtargetFeatureKV> PF,
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/Inputs/
H A Dglobals-fundamental.lldbinit122 target variable PF
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrSystem.td754 // "Successful execution of the leaf clears RAX (set to zero) and ZF, CF, PF,
756 // indicated in RAX with ZF set to 1 and CF, PF, AF, OF, and SF are cleared."

12