Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp305 unsigned CPI; member
309 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry()
373 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
389 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
602 *MipsConstantIslands::findConstPoolEntry(unsigned CPI, in findConstPoolEntry() argument
604 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry()
623 unsigned CPI = CPEMI.getOperand(1).getIndex(); in getCPEAlign() local
624 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign()
625 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign()
762 unsigned CPI = MO.getIndex(); in initializeFunctionInfo() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp167 unsigned CPI; member
171 : CPEMI(Cpemi), CPI(Cpi), RefCount(Rc) {} in CPEntry()
231 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
247 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr *CPEMI);
452 CSKYConstantIslands::findConstPoolEntry(unsigned CPI, in findConstPoolEntry() argument
454 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry()
469 unsigned CPI = CPEMI.getOperand(1).getIndex(); in getCPEAlign() local
470 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign()
471 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign()
567 unsigned CPI = MI.getOperand(Op).getIndex(); in initializeFunctionInfo() local
[all …]
H A DCSKYInstrInfo.cpp585 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 DARMConstantIslandPass.cpp161 unsigned CPI; member
165 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry()
249 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
255 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
512 AFI->recordCPEClone(i, CPE.CPI); in runOnMachineFunction()
701 ARMConstantIslands::findConstPoolEntry(unsigned CPI, in findConstPoolEntry() argument
703 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry()
730 unsigned CPI = getCombinedIndex(CPEMI); in getCPEAlign() local
731 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign()
732 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign()
[all …]
H A DARMAsmPrinter.cpp1375 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp284 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 DWinEHPrepare.cpp163 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()
683 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers() local
684 ParentPad = CPI->getParentPad(); in calculateClrEHStateNumbers()
H A DMachineFunction.cpp823 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) { in addLandingPad() local
824 for (unsigned I = CPI->arg_size(); I != 0; --I) { in addLandingPad()
826 dyn_cast<GlobalValue>(CPI->getArgOperand(I - 1)->stripPointerCasts()); in addLandingPad()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DConstantPools.cpp103 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 DCGCXXABI.h672 llvm::CatchPadInst *CPI; member
674 CatchRetScope(llvm::CatchPadInst *CPI) : CPI(CPI) {} in CatchRetScope()
678 CGF.Builder.CreateCatchRet(CPI, BB); in Emit()
H A DCGObjCRuntime.cpp234 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().emitRawPointer(CGF)); in EmitTryCatchStmt()
237 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in EmitTryCatchStmt()
H A DCGException.cpp1042 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()
1259 auto *CPI = cast<llvm::CatchPadInst>(WasmCatchStartBlock->getFirstNonPHI()); 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 DCGCleanup.cpp1028 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock() local
1035 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad); in PopCleanupBlock()
1053 if (CPI) in PopCleanupBlock()
1054 Builder.CreateCleanupRet(CPI, NextAction); in PopCleanupBlock()
/freebsd/contrib/llvm-project/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()
H A DX86InstructionSelector.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/
H A DPPCInstructionSelector.cpp663 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 DWebAssemblyLowerEmscriptenEHSjLj.cpp1540 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CPI) { in getCleanupRetUnwindDest() argument
1541 for (const User *U : CPI->users()) in getCleanupRetUnwindDest()
1707 if (auto *CPI = dyn_cast<CatchPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj() local
1708 UnwindDest = CPI->getCatchSwitch()->getUnwindDest(); in handleLongjmpableCallsForWasmSjLj()
1711 if (auto *CPI = dyn_cast<CleanupPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj() local
1717 UnwindDest = getCleanupRetUnwindDest(CPI); in handleLongjmpableCallsForWasmSjLj()
1718 Value *ParentPad = CPI->getParentPad(); in handleLongjmpableCallsForWasmSjLj()
/freebsd/stand/forth/
H A Dmenu.rc112 set optionsmenu_caption[3]="[A]CPI Support off"
113 set optionstoggled_text[3]="[A]CPI Support On"
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp602 void visitCatchPadInst(CatchPadInst &CPI);
604 void visitCleanupPadInst(CleanupPadInst &CPI);
4396 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) { in visitEHPadPredecessors() local
4398 Check(BB->getUniquePredecessor() == CPI->getCatchSwitch()->getParent(), in visitEHPadPredecessors()
4401 CPI); in visitEHPadPredecessors()
4402 Check(BB != CPI->getCatchSwitch()->getUnwindDest(), in visitEHPadPredecessors()
4404 CPI->getCatchSwitch(), CPI); in visitEHPadPredecessors()
4513 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { in visitCatchPadInst() argument
4514 BasicBlock *BB = CPI.getParent(); in visitCatchPadInst()
4518 "CatchPadInst needs to be in a function with a personality.", &CPI); in visitCatchPadInst()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h281 Register getCatchPadExceptionPointerVReg(const Value *CPI,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1337 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { in hasExceptionPointerOrCodeUser() argument
1338 for (const User *U : CPI->users()) { in hasExceptionPointerOrCodeUser()
1353 const CatchPadInst *CPI) { in mapWasmLandingPadIndex() argument
1358 CPI->arg_size() == 1 && in mapWasmLandingPadIndex()
1359 cast<Constant>(CPI->getArgOperand(0))->isNullValue(); in mapWasmLandingPadIndex()
1362 bool IsCatchLongjmp = CPI->arg_size() == 0; in mapWasmLandingPadIndex()
1366 for (const User *U : CPI->users()) { in mapWasmLandingPadIndex()
1397 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) { in PrepareEHLandingPad() local
1398 if (hasExceptionPointerOrCodeUser(CPI)) { in PrepareEHLandingPad()
1404 unsigned VReg = FuncInfo->getCatchPadExceptionPointerVReg(CPI, PtrRC); in PrepareEHLandingPad()
[all …]
H A DFunctionLoweringInfo.cpp557 const Value *CPI, const TargetRegisterClass *RC) { in getCatchPadExceptionPointerVReg() argument
559 auto I = CatchPadExceptionPointers.insert({CPI, 0}); in getCatchPadExceptionPointerVReg()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp148 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 DSCCPSolver.cpp659 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst() argument
660 markOverdefined(&CPI); in visitCatchSwitchInst()
661 visitTerminator(CPI); in visitCatchSwitchInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1532 unsigned CPI = MF.getConstantPool()->getConstantPoolIndex(CFP, Alignment); in materializeFP() local
1542 .addConstantPoolIndex(CPI, 0, OpFlag); in materializeFP()
1567 BuildMI(*I.getParent(), I, DbgLoc, TII.get(Opc), DstReg), CPI, PICBase, in materializeFP()

12