| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 303 unsigned CPI; member 307 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry() 371 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI); 387 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI); 600 *MipsConstantIslands::findConstPoolEntry(unsigned CPI, in findConstPoolEntry() argument 602 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry() 621 unsigned CPI = CPEMI.getOperand(1).getIndex(); in getCPEAlign() local 622 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign() 623 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign() 760 unsigned CPI = MO.getIndex(); in initializeFunctionInfo() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantIslandPass.cpp | 166 unsigned CPI; member 170 : CPEMI(Cpemi), CPI(Cpi), RefCount(Rc) {} in CPEntry() 225 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI); 241 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr *CPEMI); 446 CSKYConstantIslands::findConstPoolEntry(unsigned CPI, in findConstPoolEntry() argument 448 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry() 463 unsigned CPI = CPEMI.getOperand(1).getIndex(); in getCPEAlign() local 464 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign() 465 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign() 561 unsigned CPI = MI.getOperand(Op).getIndex(); in initializeFunctionInfo() local [all …]
|
| H A D | CSKYInstrInfo.cpp | 585 unsigned CPI = MCP->getConstantPoolIndex(CPV, Align(4)); in getGlobalBaseReg() local 591 .addConstantPoolIndex(CPI) in getGlobalBaseReg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMConstantIslandPass.cpp | 160 unsigned CPI; member 164 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry() 245 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI); 251 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI); 512 AFI->recordCPEClone(i, CPE.CPI); in runOnMachineFunction() 702 ARMConstantIslands::findConstPoolEntry(unsigned CPI, in findConstPoolEntry() argument 704 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry() 731 unsigned CPI = getCombinedIndex(CPEMI); in getCPEAlign() local 732 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign() 733 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign() [all …]
|
| H A D | ARMAsmPrinter.cpp | 1402 unsigned CPI = MI->getOperand(1).getIndex(); in EmitUnwindingInstruction() local 1404 if (CPI >= MCP->getConstants().size()) in EmitUnwindingInstruction() 1405 CPI = AFI->getOriginalCPIdx(CPI); in EmitUnwindingInstruction() 1406 assert(CPI != -1U && "Invalid constpool index"); in EmitUnwindingInstruction() 1409 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI]; in EmitUnwindingInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WasmEHPrepare.cpp | 284 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHIIt()); 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 | StaticDataSplitter.cpp | 142 int CPI = Op.getIndex(); in getConstant() local 143 if (CPI == -1) in getConstant() 147 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI]; in getConstant()
|
| H A D | WinEHPrepare.cpp | 163 for (const CatchPadInst *CPI : Handlers) { in addTryBlockMapEntry() local 165 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0)); in addTryBlockMapEntry() 170 HT.Adjectives = cast<ConstantInt>(CPI->getArgOperand(1))->getZExtValue(); in addTryBlockMapEntry() 171 HT.Handler = CPI->getParent(); in addTryBlockMapEntry() 173 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts())) in addTryBlockMapEntry() 687 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers() local 688 ParentPad = CPI->getParentPad(); in calculateClrEHStateNumbers()
|
| H A D | MachineFunction.cpp | 865 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) { in addLandingPad() local 866 for (unsigned I = CPI->arg_size(); I != 0; --I) { in addLandingPad() 868 dyn_cast<GlobalValue>(CPI->getArgOperand(I - 1)->stripPointerCasts()); in addLandingPad()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | ConstantPools.cpp | 103 for (auto &CPI : ConstantPools) { in emitAll() local 104 MCSection *Section = CPI.first; in emitAll() 105 ConstantPool &CP = CPI.second; in emitAll()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.h | 672 llvm::CatchPadInst *CPI; member 674 CatchRetScope(llvm::CatchPadInst *CPI) : CPI(CPI) {} in CatchRetScope() 678 CGF.Builder.CreateCatchRet(CPI, BB); in Emit()
|
| H A D | CGObjCRuntime.cpp | 232 if (auto *CPI = dyn_cast_or_null<llvm::CatchPadInst>(CPICandidate)) { in EmitTryCatchStmt() local 233 CGF.CurrentFuncletPad = CPI; in EmitTryCatchStmt() 234 CPI->setOperand(2, CGF.getExceptionSlot().emitRawPointer(CGF)); in EmitTryCatchStmt() 235 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 = in ExitCXXTryStmt() local 1260 CurrentFuncletPad = CPI; in ExitCXXTryStmt() 2255 llvm::CatchPadInst *CPI = in ExitSEHTryStmt() local 2258 Builder.CreateCatchRet(CPI, ExceptBB); in ExitSEHTryStmt() 2265 llvm::Value *Code = Builder.CreateCall(SEHCodeIntrin, {CPI}); in ExitSEHTryStmt()
|
| H A D | CGCleanup.cpp | 1044 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock() local 1051 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad); in PopCleanupBlock() 1069 if (CPI) in PopCleanupBlock() 1070 Builder.CreateCleanupRet(CPI, NextAction); in PopCleanupBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrBuilder.h | 220 addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI, in addConstantPoolReference() argument 224 .addConstantPoolIndex(CPI, 0, OpFlags).addReg(0); in addConstantPoolReference()
|
| H A D | X86InstructionSelector.cpp | |
| /freebsd/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/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1545 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CPI) { in getCleanupRetUnwindDest() argument 1546 for (const User *U : CPI->users()) in getCleanupRetUnwindDest() 1713 if (auto *CPI = dyn_cast<CatchPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj() local 1714 UnwindDest = CPI->getCatchSwitch()->getUnwindDest(); in handleLongjmpableCallsForWasmSjLj() 1717 if (auto *CPI = dyn_cast<CleanupPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj() local 1723 UnwindDest = getCleanupRetUnwindDest(CPI); in handleLongjmpableCallsForWasmSjLj() 1724 Value *ParentPad = CPI->getParentPad(); in handleLongjmpableCallsForWasmSjLj()
|
| /freebsd/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/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | FunctionLoweringInfo.h | 287 Register getCatchPadExceptionPointerVReg(const Value *CPI,
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 611 void visitCatchPadInst(CatchPadInst &CPI); 613 void visitCleanupPadInst(CleanupPadInst &CPI); 4564 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) { in visitEHPadPredecessors() local 4566 Check(BB->getUniquePredecessor() == CPI->getCatchSwitch()->getParent(), in visitEHPadPredecessors() 4569 CPI); in visitEHPadPredecessors() 4570 Check(BB != CPI->getCatchSwitch()->getUnwindDest(), in visitEHPadPredecessors() 4572 CPI->getCatchSwitch(), CPI); in visitEHPadPredecessors() 4681 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { in visitCatchPadInst() argument 4682 BasicBlock *BB = CPI.getParent(); in visitCatchPadInst() 4686 "CatchPadInst needs to be in a function with a personality.", &CPI); in visitCatchPadInst() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGISel.cpp | 1353 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { in hasExceptionPointerOrCodeUser() argument 1354 for (const User *U : CPI->users()) { in hasExceptionPointerOrCodeUser() 1369 const CatchPadInst *CPI) { in mapWasmLandingPadIndex() argument 1374 CPI->arg_size() == 1 && in mapWasmLandingPadIndex() 1375 cast<Constant>(CPI->getArgOperand(0))->isNullValue(); in mapWasmLandingPadIndex() 1378 bool IsCatchLongjmp = CPI->arg_size() == 0; in mapWasmLandingPadIndex() 1382 for (const User *U : CPI->users()) { in mapWasmLandingPadIndex() 1413 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHIIt())) { in PrepareEHLandingPad() local 1414 if (hasExceptionPointerOrCodeUser(CPI)) { in PrepareEHLandingPad() 1420 Register VReg = FuncInfo->getCatchPadExceptionPointerVReg(CPI, PtrRC); in PrepareEHLandingPad() [all …]
|
| H A D | FunctionLoweringInfo.cpp | 562 const Value *CPI, const TargetRegisterClass *RC) { in getCatchPadExceptionPointerVReg() argument 564 auto I = CatchPadExceptionPointers.insert({CPI, 0}); in getCatchPadExceptionPointerVReg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 144 if (const auto *CPI = dyn_cast<CatchPadInst>(I)) { in isBlockValidForExtraction() local 145 for (const auto *U : CPI->users()) in isBlockValidForExtraction() 155 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction() local 156 for (const auto *U : CPI->users()) in isBlockValidForExtraction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Instruction.h | 1591 CatchPadInst(llvm::CatchPadInst *CPI, Context &Ctx) in CatchPadInst() argument 1592 : FuncletPadInst(ClassID::CatchPad, Opcode::CatchPad, CPI, Ctx) {} in CatchPadInst() 1609 CleanupPadInst(llvm::CleanupPadInst *CPI, Context &Ctx) in CleanupPadInst() argument 1610 : FuncletPadInst(ClassID::CleanupPad, Opcode::CleanupPad, CPI, Ctx) {} in CleanupPadInst()
|