Home
last modified time | relevance | path

Searched refs:AddrDisc (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp102 Register AddrDisc = Disc; in extractPtrauthBlendDiscriminators() local
108 AddrDisc = AArch64::NoRegister; in extractPtrauthBlendDiscriminators()
110 return std::make_tuple(ConstDisc, AddrDisc); in extractPtrauthBlendDiscriminators()
116 return std::make_tuple(ConstDisc, AddrDisc); in extractPtrauthBlendDiscriminators()
122 AddrDisc = DiscMI->getOperand(2).getReg(); in extractPtrauthBlendDiscriminators()
125 return std::make_tuple(ConstDisc, AddrDisc); in extractPtrauthBlendDiscriminators()
H A DAArch64CallLowering.cpp1124 Register AddrDisc = 0; in lowerTailCall() local
1126 std::tie(IntDisc, AddrDisc) = in lowerTailCall()
1130 MIB.addUse(AddrDisc); in lowerTailCall()
1131 if (AddrDisc != AArch64::NoRegister) { in lowerTailCall()
1393 Register AddrDisc = 0; in lowerCall() local
1395 std::tie(IntDisc, AddrDisc) = in lowerCall()
1399 MIB.addUse(AddrDisc); in lowerCall()
1400 if (AddrDisc != AArch64::NoRegister) { in lowerCall()
H A DAArch64InstructionSelector.cpp6746 Register AddrDisc = I.getOperand(3).getReg(); in selectPtrAuthGlobalValue() local
6806 std::optional<APInt> AddrDiscVal = getIConstantVRegVal(AddrDisc, MRI); in selectPtrAuthGlobalValue()
6819 .addReg(HasAddrDisc ? AddrDisc : AArch64::XZR) in selectPtrAuthGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PointerAuth.cpp55 Register AddrDisc, unsigned IntDisc) const;
391 Register Result, Register AddrDisc, in emitBlend() argument
396 if (Result != AddrDisc) in emitBlend()
399 .addReg(AddrDisc) in emitBlend()
411 Register AddrDisc = MBBI->getOperand(1).getReg(); in expandPAuthBlend() local
413 emitBlend(MBBI, ResultReg, AddrDisc, IntDisc); in expandPAuthBlend()
H A DAArch64AsmPrinter.cpp151 unsigned emitPtrauthDiscriminator(uint16_t Disc, unsigned AddrDisc,
1746 unsigned AddrDisc, in emitPtrauthDiscriminator() argument
1749 if (AddrDisc == AArch64::NoRegister) in emitPtrauthDiscriminator()
1750 AddrDisc = AArch64::XZR; in emitPtrauthDiscriminator()
1755 return AddrDisc; in emitPtrauthDiscriminator()
1758 if (AddrDisc == AArch64::XZR) { in emitPtrauthDiscriminator()
1771 .addReg(AddrDisc) in emitPtrauthDiscriminator()
2011 unsigned AddrDisc = MI->getOperand(3).getReg(); in emitPtrauthBranch() local
2014 unsigned DiscReg = emitPtrauthDiscriminator(Disc, AddrDisc, InstsEmitted); in emitPtrauthBranch()
2158 const unsigned AddrDisc = MI.getOperand(2).getReg(); in LowerMOVaddrPAC() local
[all …]
H A DAArch64ExpandPseudoInsts.cpp853 const MachineOperand &AddrDisc = MI.getOperand(4); in expandCALL_RVMARKER() local
859 MachineOperand Ops[] = {CallTarget, Key, IntDisc, AddrDisc}; in expandCALL_RVMARKER()
H A DAArch64ISelDAGToDAG.cpp1490 SDValue AddrDisc; in extractPtrauthBlendDiscriminators() local
1498 AddrDisc = Disc->getOperand(1); in extractPtrauthBlendDiscriminators()
1512 if (!AddrDisc) in extractPtrauthBlendDiscriminators()
1513 AddrDisc = DAG->getRegister(AArch64::XZR, MVT::i64); in extractPtrauthBlendDiscriminators()
1517 AddrDisc); in extractPtrauthBlendDiscriminators()
H A DAArch64InstrInfo.td1773 GPR64noip:$AddrDisc),
1775 GPR64noip:$AddrDisc)]>, Sched<[]> {
1788 GPR64noip:$AddrDisc),
1791 GPR64noip:$AddrDisc)]>, Sched<[]> {
1802 GPR64noip:$AddrDisc), []>, Sched<[]> {
1829 def AUT : Pseudo<(outs), (ins i32imm:$Key, i64imm:$Disc, GPR64noip:$AddrDisc),
1860 GPR64noip:$AddrDisc, i64imm:$Disc), []>,
1871 GPR64noip:$AddrDisc, i64imm:$Disc), []>,
1894 i64imm:$Disc, tcGPR64:$AddrDisc),
1898 i64imm:$Disc, tcGPR64:$AddrDisc),
[all …]
H A DAArch64ISelLowering.cpp345 SDValue AddrDisc; in extractPtrauthBlendDiscriminators() local
353 AddrDisc = Disc->getOperand(1); in extractPtrauthBlendDiscriminators()
368 if (!AddrDisc) in extractPtrauthBlendDiscriminators()
369 AddrDisc = DAG->getRegister(AArch64::NoRegister, MVT::i64); in extractPtrauthBlendDiscriminators()
373 AddrDisc); in extractPtrauthBlendDiscriminators()
8829 SDValue AddrDisc, IntDisc; in LowerCall() local
8830 std::tie(IntDisc, AddrDisc) = in LowerCall()
8839 Ops.push_back(AddrDisc); in LowerCall()
10858 SDValue AddrDisc = DAG.getRegister(AArch64::XZR, MVT::i64); in LowerBRIND() local
10861 {Dest, Key, Disc, AddrDisc, Chain}); in LowerBRIND()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1017 Constant *AddrDisc);
1027 ConstantInt *Disc, Constant *AddrDisc);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2047 ConstantInt *Disc, Constant *AddrDisc) { in get() argument
2048 Constant *ArgVec[] = {Ptr, Key, Disc, AddrDisc}; in get()
2059 ConstantInt *Disc, Constant *AddrDisc) in ConstantPtrAuth() argument
2064 assert(AddrDisc->getType()->isPointerTy()); in ConstantPtrAuth()
2068 setOperand(3, AddrDisc); in ConstantPtrAuth()
H A DCore.cpp1683 LLVMValueRef Disc, LLVMValueRef AddrDisc) { in LLVMConstantPtrAuth() argument
1686 unwrap<ConstantInt>(Disc), unwrap<Constant>(AddrDisc))); in LLVMConstantPtrAuth()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp403 Register Addr, Register AddrDisc) { in buildConstantPtrAuth() argument
408 MIB.addUse(AddrDisc); in buildConstantPtrAuth()
H A DIRTranslator.cpp3515 Register AddrDisc = getOrCreateVReg(*CPA->getAddrDiscriminator()); in translate() local
3516 EntryBuilder->buildConstantPtrAuth(Reg, CPA, Addr, AddrDisc); in translate()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4120 Constant *Disc = nullptr, *AddrDisc = nullptr; in parseValID() local
4132 (EatIfPresent(lltok::comma) && parseGlobalTypeAndValue(AddrDisc))) in parseValID()
4156 if (AddrDisc) { in parseValID()
4157 if (!AddrDisc->getType()->isPointerTy()) in parseValID()
4161 AddrDisc = ConstantPointerNull::get(PointerType::get(Context, 0)); in parseValID()
4164 ID.ConstantVal = ConstantPtrAuth::get(Ptr, KeyC, DiscC, AddrDisc); in parseValID()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h894 Register Addr, Register AddrDisc);
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h2418 LLVMValueRef Disc, LLVMValueRef AddrDisc);