HomeSort by: relevance | last modified time | path
    Searched refs:CPI (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/MC/
ConstantPools.cpp 89 for (auto &CPI : ConstantPools) {
90 MCSection *Section = CPI.first;
91 ConstantPool &CP = CPI.second;
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsConstantIslandPass.cpp 305 unsigned CPI;
308 CPEntry(MachineInstr *cpemi, unsigned cpi, unsigned rc = 0)
309 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
373 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
389 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
550 // identity mapping of CPI's to CPE's.
580 LLVM_DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
602 *MipsConstantIslands::findConstPoolEntry(unsigned CPI,
604 std::vector<CPEntry> &CPEs = CPEntries[CPI];
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
WasmEHPrepare.cpp 264 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI());
267 if (CPI->getNumArgOperands() == 1 &&
268 cast<Constant>(CPI->getArgOperand(0))->isNullValue())
337 auto *CPI = cast<CatchPadInst>(FPI);
346 OperandBundleDef("funclet", CPI));
WinEHPrepare.cpp 149 for (const CatchPadInst *CPI : Handlers) {
151 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0));
156 HT.Adjectives = cast<ConstantInt>(CPI->getArgOperand(1))->getZExtValue();
157 HT.Handler = CPI->getParent();
159 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts()))
534 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI))
535 ParentPad = CPI->getParentPad();
MachineFunction.cpp 737 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) {
738 for (unsigned I = CPI->getNumArgOperands(); I != 0; --I) {
739 Value *TypeInfo = CPI->getArgOperand(I - 1)->stripPointerCasts();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGObjCRuntime.cpp 231 llvm::CatchPadInst *CPI = nullptr;
234 if ((CPI = dyn_cast_or_null<llvm::CatchPadInst>(Handler.Block->getFirstNonPHI()))) {
235 CGF.CurrentFuncletPad = CPI;
236 CPI->setOperand(2, CGF.getExceptionSlot().getPointer());
264 if (CPI)
265 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI);
CGCXXABI.h 646 llvm::CatchPadInst *CPI;
648 CatchRetScope(llvm::CatchPadInst *CPI) : CPI(CPI) {}
652 CGF.Builder.CreateCatchRet(CPI, BB);
CGException.cpp 1018 auto *CPI = CGF.Builder.CreateCatchPad(CatchSwitch, CatchTypes);
1027 llvm::CallInst *Exn = CGF.Builder.CreateCall(GetExnFn, CPI);
1029 llvm::CallInst *Selector = CGF.Builder.CreateCall(GetSelectorFn, CPI);
1229 auto *CPI = cast<llvm::CatchPadInst>(WasmCatchStartBlock->getFirstNonPHI());
1230 CurrentFuncletPad = CPI;
2236 llvm::CatchPadInst *CPI =
2239 Builder.CreateCatchRet(CPI, ExceptBB);
2246 llvm::Value *Code = Builder.CreateCall(SEHCodeIntrin, {CPI});
CGCleanup.cpp 1009 llvm::CleanupPadInst *CPI = nullptr;
1016 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad);
1032 if (CPI)
1033 Builder.CreateCleanupRet(CPI, NextAction);
MicrosoftCXXABI.cpp 897 llvm::CatchPadInst *CPI =
899 CGF.CurrentFuncletPad = CPI;
904 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI);
909 CPI->setArgOperand(2, var.getObjectAddress(CGF).getPointer());
910 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMConstantIslandPass.cpp 160 unsigned CPI;
163 CPEntry(MachineInstr *cpemi, unsigned cpi, unsigned rc = 0)
164 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
245 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
251 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
490 AFI->recordCPEClone(i, CPE.CPI);
540 // identity mapping of CPI's to CPE's.
568 LLVM_DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
669 ARMConstantIslands::findConstPoolEntry(unsigned CPI,
    [all...]
ARMAsmPrinter.cpp 257 "CPI" + Twine(getFunctionNumber()) + "_" +
1256 unsigned CPI = MI->getOperand(1).getIndex();
1258 if (CPI >= MCP->getConstants().size())
1259 CPI = AFI->getOriginalCPIdx(CPI);
1260 assert(CPI != -1U && "Invalid constpool index");
1263 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI];
ARMBaseInstrInfo.cpp 1733 /// Create a copy of a const pool value. Update CPI to the new index and return
1735 static unsigned duplicateCPV(MachineFunction &MF, unsigned &CPI) {
1739 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPI];
1774 CPI = MCP->getConstantPoolIndex(NewCPV, MCPE.getAlign());
1794 unsigned CPI = Orig.getOperand(1).getIndex();
1795 unsigned PCLabelId = duplicateCPV(MF, CPI);
1797 .addConstantPoolIndex(CPI)
1816 unsigned CPI = I->getOperand(1).getIndex();
1817 unsigned PCLabelId = duplicateCPV(MF, CPI);
1818 I->getOperand(1).setIndex(CPI);
    [all...]
ARMFrameLowering.cpp 2552 unsigned CPI = MCP->getConstantPoolIndex(NewCPV, Align(4));
2556 .addConstantPoolIndex(CPI)
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86InstrBuilder.h 223 addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI,
227 .addConstantPoolIndex(CPI, 0, OpFlags).addReg(0);
X86InstructionSelector.cpp 1401 unsigned CPI = MF.getConstantPool()->getConstantPoolIndex(CFP, Alignment);
1411 .addConstantPoolIndex(CPI, 0, OpFlag);
1436 BuildMI(*I.getParent(), I, DbgLoc, TII.get(Opc), DstReg), CPI, PICBase,
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
FunctionLoweringInfo.h 276 Register getCatchPadExceptionPointerVReg(const Value *CPI,
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Verifier.cpp 531 void visitCatchPadInst(CatchPadInst &CPI);
533 void visitCleanupPadInst(CleanupPadInst &CPI);
3920 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) {
3922 Assert(BB->getUniquePredecessor() == CPI->getCatchSwitch()->getParent(),
3925 CPI);
3926 Assert(BB != CPI->getCatchSwitch()->getUnwindDest(),
3928 CPI->getCatchSwitch(), CPI);
4028 void Verifier::visitCatchPadInst(CatchPadInst &CPI) {
4029 BasicBlock *BB = CPI.getParent()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
FunctionLoweringInfo.cpp 541 const Value *CPI, const TargetRegisterClass *RC) {
543 auto I = CatchPadExceptionPointers.insert({CPI, 0});
SelectionDAGISel.cpp 1197 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) {
1198 for (const User *U : CPI->users()) {
1213 const CatchPadInst *CPI) {
1218 CPI->getNumArgOperands() == 1 &&
1219 cast<Constant>(CPI->getArgOperand(0))->isNullValue();
1223 for (const User *U : CPI->users()) {
1254 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) {
1255 if (hasExceptionPointerOrCodeUser(CPI)) {
1261 unsigned VReg = FuncInfo->getCatchPadExceptionPointerVReg(CPI, PtrRC);
1285 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())
    [all...]
SelectionDAGBuilder.h 655 void visitCleanupPad(const CleanupPadInst &CPI);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CodeExtractor.cpp 151 if (const auto *CPI = dyn_cast<CatchPadInst>(I)) {
152 for (const auto *U : CPI->users())
162 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) {
163 for (const auto *U : CPI->users())
SCCPSolver.cpp 299 void visitCatchSwitchInst(CatchSwitchInst &CPI) {
300 markOverdefined(&CPI);
301 visitTerminator(CPI);
InlineFunction.cpp 400 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad))
401 EHPad = CPI->getCatchSwitch();
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
AsmPrinter.cpp 2045 unsigned CPI = CPSections[i].CPEs[j];
2046 MCSymbol *Sym = GetCPISymbol(CPI);
2057 MachineConstantPoolEntry CPE = CP[CPI];
3119 "CPI" + Twine(getFunctionNumber()) + "_" +

Completed in 113 milliseconds

1 2