| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 305 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 …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantIslandPass.cpp | 167 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() 829 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI); in decrementCPEReferenceCount() 859 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry() 870 << CPEs[I].CPI << "\n"); in findInRangeCPEntry() 1129 decrementCPEReferenceCount(CPI, CPEMI); in handleConstantPoolUser() [all …]
|
| H A D | CSKYInstrInfo.cpp | 585 unsigned CPI = MCP->getConstantPoolIndex(CPV, Align(4)); in getGlobalBaseReg() local 591 .addConstantPoolIndex(CPI) in getGlobalBaseReg()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMConstantIslandPass.cpp | 161 unsigned CPI; member 512 AFI->recordCPEClone(i, CPE.CPI); in runOnMachineFunction() 730 unsigned CPI = getCombinedIndex(CPEMI); in getCPEAlign() local 885 assert(CPI < CPEMIs.size()); in initializeFunctionInfo() 942 CPI = JumpTableEntryIndices[CPI]; in initializeFunctionInfo() 945 MachineInstr *CPEMI = CPEMIs[CPI]; in initializeFunctionInfo() 1247 unsigned CPI = getCombinedIndex(CPEMI); in findInRangeCPEntry() local 1258 LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" << CPE.CPI in findInRangeCPEntry() 1265 MO.setIndex(CPE.CPI); in findInRangeCPEntry() 1555 unsigned CPI = getCombinedIndex(CPEMI); in handleConstantPoolUser() local [all …]
|
| H A D | ARMAsmPrinter.cpp | 1375 unsigned CPI = MI->getOperand(1).getIndex(); in EmitUnwindingInstruction() local 1377 if (CPI >= MCP->getConstants().size()) in EmitUnwindingInstruction() 1378 CPI = AFI->getOriginalCPIdx(CPI); in EmitUnwindingInstruction() 1379 assert(CPI != -1U && "Invalid constpool index"); in EmitUnwindingInstruction() 1382 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI]; in EmitUnwindingInstruction()
|
| H A D | ARMBaseInstrInfo.cpp | 1765 static unsigned duplicateCPV(MachineFunction &MF, unsigned &CPI) { in duplicateCPV() argument 1769 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPI]; in duplicateCPV() 1804 CPI = MCP->getConstantPoolIndex(NewCPV, MCPE.getAlign()); in duplicateCPV() 1824 unsigned CPI = Orig.getOperand(1).getIndex(); in reMaterialize() local 1825 unsigned PCLabelId = duplicateCPV(MF, CPI); in reMaterialize() 1827 .addConstantPoolIndex(CPI) in reMaterialize() 1846 unsigned CPI = I->getOperand(1).getIndex(); in duplicate() local 1847 unsigned PCLabelId = duplicateCPV(MF, CPI); in duplicate() 1848 I->getOperand(1).setIndex(CPI); in duplicate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | ConstantPools.cpp | 102 for (auto &CPI : ConstantPools) { in emitAll() local 103 MCSection *Section = CPI.first; in emitAll() 104 ConstantPool &CP = CPI.second; in emitAll()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WasmEHPrepare.cpp | 284 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI()); in prepareEHPads() local 287 if (CPI->arg_size() == 1 && in prepareEHPads() 288 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads() 357 auto *CPI = cast<CatchPadInst>(FPI); in prepareEHPad() local 366 OperandBundleDef("funclet", CPI)); in prepareEHPad()
|
| H A D | WinEHPrepare.cpp | 162 for (const CatchPadInst *CPI : Handlers) { in addTryBlockMapEntry() local 164 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0)); in addTryBlockMapEntry() 169 HT.Adjectives = cast<ConstantInt>(CPI->getArgOperand(1))->getZExtValue(); in addTryBlockMapEntry() 170 HT.Handler = CPI->getParent(); in addTryBlockMapEntry() 172 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts())) in addTryBlockMapEntry() 682 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers() local 683 ParentPad = CPI->getParentPad(); in calculateClrEHStateNumbers()
|
| H A D | MachineFunction.cpp | 811 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) { in addLandingPad() local 812 for (unsigned I = CPI->arg_size(); I != 0; --I) { in addLandingPad() 814 dyn_cast<GlobalValue>(CPI->getArgOperand(I - 1)->stripPointerCasts()); in addLandingPad()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.h | 681 llvm::CatchPadInst *CPI; member 683 CatchRetScope(llvm::CatchPadInst *CPI) : CPI(CPI) {} in CatchRetScope() 687 CGF.Builder.CreateCatchRet(CPI, BB); in Emit()
|
| H A D | CGObjCRuntime.cpp | 234 if (auto *CPI = dyn_cast_or_null<llvm::CatchPadInst>(CPICandidate)) { in EmitTryCatchStmt() local 235 CGF.CurrentFuncletPad = CPI; in EmitTryCatchStmt() 236 CPI->setOperand(2, CGF.getExceptionSlot().getPointer()); in EmitTryCatchStmt() 237 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in EmitTryCatchStmt()
|
| H A D | CGException.cpp | 1042 auto *CPI = CGF.Builder.CreateCatchPad(CatchSwitch, CatchTypes); in emitWasmCatchPadBlock() local 1051 llvm::CallInst *Exn = CGF.Builder.CreateCall(GetExnFn, CPI); in emitWasmCatchPadBlock() 1053 llvm::CallInst *Selector = CGF.Builder.CreateCall(GetSelectorFn, CPI); in emitWasmCatchPadBlock() 1258 auto *CPI = cast<llvm::CatchPadInst>(WasmCatchStartBlock->getFirstNonPHI()); in ExitCXXTryStmt() local 1259 CurrentFuncletPad = CPI; in ExitCXXTryStmt() 2252 llvm::CatchPadInst *CPI = in ExitSEHTryStmt() local 2255 Builder.CreateCatchRet(CPI, ExceptBB); in ExitSEHTryStmt() 2262 llvm::Value *Code = Builder.CreateCall(SEHCodeIntrin, {CPI}); in ExitSEHTryStmt()
|
| H A D | CGCleanup.cpp | 1030 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock() local 1037 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad); in PopCleanupBlock() 1055 if (CPI) in PopCleanupBlock() 1056 Builder.CreateCleanupRet(CPI, NextAction); in PopCleanupBlock()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrBuilder.h | 223 addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI, in addConstantPoolReference() argument 227 .addConstantPoolIndex(CPI, 0, OpFlags).addReg(0); in addConstantPoolReference()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
| H A D | PPCInstructionSelector.cpp | 663 unsigned CPI = I.getOperand(1).getIndex(); in selectConstantPool() local 682 .addConstantPoolIndex(CPI) in selectConstantPool() 689 .addConstantPoolIndex(CPI); in selectConstantPool() 694 .addConstantPoolIndex(CPI) in selectConstantPool() 701 .addConstantPoolIndex(CPI); in selectConstantPool()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1648 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CPI) { in getCleanupRetUnwindDest() argument 1649 for (const User *U : CPI->users()) in getCleanupRetUnwindDest() 1822 if (auto *CPI = dyn_cast<CatchPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj() local 1823 UnwindDest = CPI->getCatchSwitch()->getUnwindDest(); in handleLongjmpableCallsForWasmSjLj() 1826 if (auto *CPI = dyn_cast<CleanupPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj() local 1832 UnwindDest = getCleanupRetUnwindDest(CPI); in handleLongjmpableCallsForWasmSjLj() 1833 Value *ParentPad = CPI->getParentPad(); in handleLongjmpableCallsForWasmSjLj()
|
| /freebsd-14.2/stand/forth/ |
| H A D | menu.rc | 112 set optionsmenu_caption[3]="[A]CPI Support off" 113 set optionstoggled_text[3]="[A]CPI Support On"
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 4266 CPI); in visitEHPadPredecessors() 4269 CPI->getCatchSwitch(), CPI); in visitEHPadPredecessors() 4374 BasicBlock *BB = CPI.getParent(); in visitCatchPadInst() 4382 CPI.getParentPad()); in visitCatchPadInst() 4386 Check(BB->getFirstNonPHI() == &CPI, in visitCatchPadInst() 4389 visitEHPadPredecessors(CPI); in visitCatchPadInst() 4390 visitFuncletPadInst(CPI); in visitCatchPadInst() 4402 BasicBlock *BB = CPI.getParent(); in visitCleanupPadInst() 4417 visitEHPadPredecessors(CPI); in visitCleanupPadInst() 4418 visitFuncletPadInst(CPI); in visitCleanupPadInst() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | FunctionLoweringInfo.h | 289 Register getCatchPadExceptionPointerVReg(const Value *CPI,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGISel.cpp | 1226 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { in hasExceptionPointerOrCodeUser() argument 1227 for (const User *U : CPI->users()) { in hasExceptionPointerOrCodeUser() 1242 const CatchPadInst *CPI) { in mapWasmLandingPadIndex() argument 1247 CPI->arg_size() == 1 && in mapWasmLandingPadIndex() 1248 cast<Constant>(CPI->getArgOperand(0))->isNullValue(); in mapWasmLandingPadIndex() 1251 bool IsCatchLongjmp = CPI->arg_size() == 0; in mapWasmLandingPadIndex() 1255 for (const User *U : CPI->users()) { in mapWasmLandingPadIndex() 1286 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) { in PrepareEHLandingPad() local 1287 if (hasExceptionPointerOrCodeUser(CPI)) { in PrepareEHLandingPad() 1317 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) in PrepareEHLandingPad() local [all …]
|
| H A D | FunctionLoweringInfo.cpp | 540 const Value *CPI, const TargetRegisterClass *RC) { in getCatchPadExceptionPointerVReg() argument 542 auto I = CatchPadExceptionPointers.insert({CPI, 0}); in getCatchPadExceptionPointerVReg()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 148 if (const auto *CPI = dyn_cast<CatchPadInst>(I)) { in isBlockValidForExtraction() local 149 for (const auto *U : CPI->users()) in isBlockValidForExtraction() 159 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction() local 160 for (const auto *U : CPI->users()) in isBlockValidForExtraction()
|
| H A D | SCCPSolver.cpp | 635 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst() argument 636 markOverdefined(&CPI); in visitCatchSwitchInst() 637 visitTerminator(CPI); in visitCatchSwitchInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86InstructionSelector.cpp | 1497 unsigned CPI = MF.getConstantPool()->getConstantPoolIndex(CFP, Alignment); in materializeFP() local 1507 .addConstantPoolIndex(CPI, 0, OpFlag); in materializeFP() 1532 BuildMI(*I.getParent(), I, DbgLoc, TII.get(Opc), DstReg), CPI, PICBase, in materializeFP()
|