Home
last modified time | relevance | path

Searched refs:CPI (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/CodeGen/ARM/Windows/
H A Dtls.ll24 ; CHECK-NEXT: ldr [[SLOT:r[0-9]]], [[CPI:\.LCPI[0-9]+_[0-9]+]]
28 ; CHECK: [[CPI]]:
44 ; CHECK-NEXT: ldr [[SLOT:r[0-9]]], [[CPI:\.LCPI[0-9]+_[0-9]+]]
48 ; CHECK: [[CPI]]:
64 ; CHECK-NEXT: ldr [[SLOT:r[0-9]]], [[CPI:\.LCPI[0-9]+_[0-9]+]]
68 ; CHECK: [[CPI]]:
84 ; CHECK-NEXT: ldr [[SLOT:r[0-9]]], [[CPI:\.LCPI[0-9]+_[0-9]+]]
88 ; CHECK: [[CPI]]:
108 ; CHECK: [[CPI]]:
128 ; CHECK: [[CPI]]:
[all …]
H A Dlong-calls.ll13 ; CHECK: ldr [[REG:r[0-9]+]], [[CPI:\.LCPI[_0-9]+]]
16 ; CHECK: [[CPI]]:
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp305 unsigned CPI; member
309 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry()
604 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry()
625 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign()
762 unsigned CPI = MO.getIndex(); in initializeFunctionInfo() local
763 MachineInstr *CPEMI = CPEMIs[CPI]; in initializeFunctionInfo()
1064 LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" << CPE.CPI in findInRangeCPEntry()
1071 MO.setIndex(CPE.CPI); in findInRangeCPEntry()
1120 LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" << CPE.CPI in findLongFormInRangeCPEntry()
1127 MO.setIndex(CPE.CPI); in findLongFormInRangeCPEntry()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp167 unsigned CPI; member
171 : CPEMI(Cpemi), CPI(Cpi), RefCount(Rc) {} in CPEntry()
454 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry()
469 unsigned CPI = CPEMI.getOperand(1).getIndex(); in getCPEAlign() local
471 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign()
568 MachineInstr *CPEMI = CPEMIs[CPI]; in initializeFunctionInfo()
833 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI); in decrementCPEReferenceCount()
863 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry()
874 << CPEs[I].CPI << "\n"); in findInRangeCPEntry()
1133 decrementCPEReferenceCount(CPI, CPEMI); in handleConstantPoolUser()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dcall-zos-01.ll107 ; CHECK: larl [[GENREG:[0-9]+]], @{{CPI[0-9]+_[0-9]+}}
116 ; CHECK: larl [[GENREG:[0-9]+]], @{{CPI[0-9]+_[0-9]+}}
126 ; CHECK: larl [[GENREG:[0-9]+]], @{{CPI[0-9]+_[0-9]+}}
149 ; CHECK: larl 1, @{{CPI[0-9]+_[0-9]+}}
158 ; CHECK: larl 1, @{{CPI[0-9]+_[0-9]+}}
167 ; CHECK: larl 1, @{{CPI[0-9]+_[0-9]+}}
177 ; CHECK: larl 1, @{{CPI[0-9]+_[0-9]+}}
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp161 unsigned CPI; member
514 AFI->recordCPEClone(i, CPE.CPI); in runOnMachineFunction()
723 unsigned CPI = getCombinedIndex(CPEMI); in getCPEAlign() local
871 assert(CPI < CPEMIs.size()); in initializeFunctionInfo()
928 CPI = JumpTableEntryIndices[CPI]; in initializeFunctionInfo()
931 MachineInstr *CPEMI = CPEMIs[CPI]; in initializeFunctionInfo()
1233 unsigned CPI = getCombinedIndex(CPEMI); in findInRangeCPEntry() local
1244 LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" << CPE.CPI in findInRangeCPEntry()
1251 MO.setIndex(CPE.CPI); in findInRangeCPEntry()
1541 unsigned CPI = getCombinedIndex(CPEMI); in handleConstantPoolUser() local
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp253 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI()); in prepareEHPads() local
256 if (CPI->getNumArgOperands() == 1 && in prepareEHPads()
257 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads()
326 auto *CPI = cast<CatchPadInst>(FPI); in prepareEHPad() local
335 OperandBundleDef("funclet", CPI)); in prepareEHPad()
H A DWinEHPrepare.cpp149 for (const CatchPadInst *CPI : Handlers) { in addTryBlockMapEntry() local
151 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0)); in addTryBlockMapEntry()
156 HT.Adjectives = cast<ConstantInt>(CPI->getArgOperand(1))->getZExtValue(); in addTryBlockMapEntry()
157 HT.Handler = CPI->getParent(); in addTryBlockMapEntry()
159 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts())) in addTryBlockMapEntry()
534 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers() local
535 ParentPad = CPI->getParentPad(); in calculateClrEHStateNumbers()
/llvm-project-15.0.7/llvm/lib/MC/
H A DConstantPools.cpp102 for (auto &CPI : ConstantPools) { in emitAll() local
103 MCSection *Section = CPI.first; in emitAll()
104 ConstantPool &CP = CPI.second; in emitAll()
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/msa/
H A Dshift_constant_pool.ll24 ; MIPS32: [[LABEL:\$CPI[0-9]+_[0-9]+]]:
52 ; MIPS32: [[LABEL:\$CPI[0-9]+_[0-9]+]]:
80 ; MIPS32: [[LABEL:\$CPI[0-9]+_[0-9]+]]:
107 ; MIPS32: [[LABEL:\$CPI[0-9]+_[0-9]+]]:
134 ; MIPS32: [[LABEL:\$CPI[0-9]+_[0-9]+]]:
161 ; MIPS32: [[LABEL:\$CPI[0-9]+_[0-9]+]]:
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp230 llvm::CatchPadInst *CPI = nullptr; in EmitTryCatchStmt() local
233 if ((CPI = dyn_cast_or_null<llvm::CatchPadInst>(Handler.Block->getFirstNonPHI()))) { in EmitTryCatchStmt()
234 CGF.CurrentFuncletPad = CPI; in EmitTryCatchStmt()
235 CPI->setOperand(2, CGF.getExceptionSlot().getPointer()); in EmitTryCatchStmt()
263 if (CPI) in EmitTryCatchStmt()
264 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in EmitTryCatchStmt()
H A DCGCXXABI.h662 llvm::CatchPadInst *CPI; member
664 CatchRetScope(llvm::CatchPadInst *CPI) : CPI(CPI) {} in CatchRetScope()
668 CGF.Builder.CreateCatchRet(CPI, BB); in Emit()
H A DCGException.cpp1024 auto *CPI = CGF.Builder.CreateCatchPad(CatchSwitch, CatchTypes); in emitWasmCatchPadBlock() local
1033 llvm::CallInst *Exn = CGF.Builder.CreateCall(GetExnFn, CPI); in emitWasmCatchPadBlock()
1035 llvm::CallInst *Selector = CGF.Builder.CreateCall(GetSelectorFn, CPI); in emitWasmCatchPadBlock()
1235 auto *CPI = cast<llvm::CatchPadInst>(WasmCatchStartBlock->getFirstNonPHI()); in ExitCXXTryStmt() local
1236 CurrentFuncletPad = CPI; in ExitCXXTryStmt()
2243 llvm::CatchPadInst *CPI = in ExitSEHTryStmt() local
2246 Builder.CreateCatchRet(CPI, ExceptBB); in ExitSEHTryStmt()
2253 llvm::Value *Code = Builder.CreateCall(SEHCodeIntrin, {CPI}); in ExitSEHTryStmt()
H A DCGCleanup.cpp1021 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock() local
1028 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad); in PopCleanupBlock()
1044 if (CPI) in PopCleanupBlock()
1045 Builder.CreateCleanupRet(CPI, NextAction); in PopCleanupBlock()
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/llvm-ir/
H A Dret.ll178 ; O32-DAG: lwc1 $f0, %lo($CPI
179 ; N64-DAG: lwc1 $f0, %got_ofst($CPI
211 ; O32-DAG: ldc1 $f0, %lo($CPI
212 ; N64-DAG: ldc1 $f0, %got_ofst($CPI
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb/
H A Dthumb-imm.ll11 ; CHECK-NOT: CPI
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dimm.ll17 ; CHECK-NOT: CPI
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrBuilder.h223 addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI, in addConstantPoolReference() argument
227 .addConstantPoolIndex(CPI, 0, OpFlags).addReg(0); in addConstantPoolReference()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1654 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CPI) { in getCleanupRetUnwindDest() argument
1655 for (const User *U : CPI->users()) in getCleanupRetUnwindDest()
1830 if (auto *CPI = dyn_cast<CatchPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj() local
1831 UnwindDest = CPI->getCatchSwitch()->getUnwindDest(); in handleLongjmpableCallsForWasmSjLj()
1834 if (auto *CPI = dyn_cast<CleanupPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj() local
1840 UnwindDest = getCleanupRetUnwindDest(CPI); in handleLongjmpableCallsForWasmSjLj()
1841 Value *ParentPad = CPI->getParentPad(); in handleLongjmpableCallsForWasmSjLj()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp4032 CPI); in visitEHPadPredecessors()
4035 CPI->getCatchSwitch(), CPI); in visitEHPadPredecessors()
4140 BasicBlock *BB = CPI.getParent(); in visitCatchPadInst()
4148 CPI.getParentPad()); in visitCatchPadInst()
4152 Check(BB->getFirstNonPHI() == &CPI, in visitCatchPadInst()
4155 visitEHPadPredecessors(CPI); in visitCatchPadInst()
4156 visitFuncletPadInst(CPI); in visitCatchPadInst()
4168 BasicBlock *BB = CPI.getParent(); in visitCleanupPadInst()
4183 visitEHPadPredecessors(CPI); in visitCleanupPadInst()
4184 visitFuncletPadInst(CPI); in visitCleanupPadInst()
[all …]
/llvm-project-15.0.7/clang/docs/
H A DSafeStack.rst20 SafeStack is a part of the `Code-Pointer Integrity (CPI) Project
86 that are stored on the heap or the unsafe stack, such as `CPI
109 The `CPI paper <https://dslab.epfl.ch/pubs/cpi.pdf>`_ describes two alternative,
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h279 Register getCatchPadExceptionPointerVReg(const Value *CPI,
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1163 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { in hasExceptionPointerOrCodeUser() argument
1164 for (const User *U : CPI->users()) { in hasExceptionPointerOrCodeUser()
1179 const CatchPadInst *CPI) { in mapWasmLandingPadIndex() argument
1184 CPI->getNumArgOperands() == 1 && in mapWasmLandingPadIndex()
1185 cast<Constant>(CPI->getArgOperand(0))->isNullValue(); in mapWasmLandingPadIndex()
1188 bool IsCatchLongjmp = CPI->getNumArgOperands() == 0; in mapWasmLandingPadIndex()
1192 for (const User *U : CPI->users()) { in mapWasmLandingPadIndex()
1223 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) { in PrepareEHLandingPad() local
1224 if (hasExceptionPointerOrCodeUser(CPI)) { in PrepareEHLandingPad()
1254 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) in PrepareEHLandingPad() local
[all …]
H A DFunctionLoweringInfo.cpp551 const Value *CPI, const TargetRegisterClass *RC) { in getCatchPadExceptionPointerVReg() argument
553 auto I = CatchPadExceptionPointers.insert({CPI, 0}); in getCatchPadExceptionPointerVReg()
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dbswap.ll32 ; MIPS16-DAG: lw $[[R7:[0-9]+]], $CPI

12