Searched defs:CPI (Results 1 - 19 of 19) sorted by relevance

/external/autotest/client/profilers/cpistat/
H A Dcpistat79 CPI = cycles * 1.0/instructions variable
80 print ('cycles: %12lu, instructions: %12lu, CPI: %2.4f'
81 % (cycles, instructions, CPI))
/external/llvm/lib/Target/X86/
H A DX86InstrBuilder.h174 addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI, argument
178 .addConstantPoolIndex(CPI, 0, OpFlags).addReg(0);
H A DX86FastISel.cpp3412 unsigned CPI = MCP.getConstantPoolIndex(CFP, Align); local
3419 .addConstantPoolIndex(CPI, 0, OpFlag);
3432 CPI, PICBase, OpFlag);
H A DX86InstrInfo.cpp6131 unsigned CPI = MCP.getConstantPoolIndex(C, Alignment); local
6137 MOs.push_back(MachineOperand::CreateCPI(CPI, 0));
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp516 const Value *CPI, const TargetRegisterClass *RC) {
518 auto I = CatchPadExceptionPointers.insert({CPI, 0});
515 getCatchPadExceptionPointerVReg( const Value *CPI, const TargetRegisterClass *RC) argument
H A DSelectionDAGISel.cpp964 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { argument
965 for (const User *U : CPI->users()) {
987 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) {
988 if (hasExceptionPointerOrCodeUser(CPI)) {
994 unsigned VReg = FuncInfo->getCatchPadExceptionPointerVReg(CPI, PtrRC);
/external/clang/lib/CodeGen/
H A DCGCleanup.cpp907 llvm::CleanupPadInst *CPI = nullptr; local
915 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad);
925 if (CPI)
926 Builder.CreateCleanupRet(CPI, NextAction);
H A DCGException.cpp1864 llvm::CatchPadInst *CPI = local
1867 Builder.CreateCatchRet(CPI, ExceptBB);
1874 llvm::Value *Code = Builder.CreateCall(SEHCodeIntrin, {CPI});
H A DMicrosoftCXXABI.cpp879 llvm::CatchPadInst *CPI; member in struct:__anon1340::final
881 CatchRetScope(llvm::CatchPadInst *CPI) : CPI(CPI) {} argument
885 CGF.Builder.CreateCatchRet(CPI, BB);
897 llvm::CatchPadInst *CPI = local
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);
[all...]
/external/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp1183 unsigned CPI = MI->getOperand(1).getIndex(); local
1185 if (CPI >= MCP->getConstants().size())
1186 CPI = AFI.getOriginalCPIdx(CPI);
1187 assert(CPI != -1U && "Invalid constpool index");
1190 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI];
H A DARMConstantIslandPass.cpp215 unsigned CPI; member in struct:__anon12514::ARMConstantIslands::CPEntry
218 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
290 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
297 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
506 AFI->recordCPEClone(i, CPE.CPI);
550 // identity mapping of CPI's to CPE's.
580 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
672 *ARMConstantIslands::findConstPoolEntry(unsigned CPI, argument
674 std::vector<CPEntry> &CPEs = CPEntries[CPI];
701 unsigned CPI local
876 unsigned CPI = I->getOperand(op).getIndex(); local
1201 decrementCPEReferenceCount(unsigned CPI, MachineInstr *CPEMI) argument
1241 unsigned CPI = getCombinedIndex(CPEMI); local
1508 unsigned CPI = getCombinedIndex(CPEMI); local
[all...]
H A DARMFrameLowering.cpp1978 unsigned CPI = MCP->getConstantPoolIndex(NewCPV, 4); local
1982 .addConstantPoolIndex(CPI));
H A DARMBaseInstrInfo.cpp1361 /// Create a copy of a const pool value. Update CPI to the new index and return
1363 static unsigned duplicateCPV(MachineFunction &MF, unsigned &CPI) { argument
1367 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPI];
1402 CPI = MCP->getConstantPoolIndex(NewCPV, MCPE.getAlignment());
1423 unsigned CPI = Orig->getOperand(1).getIndex(); local
1424 unsigned PCLabelId = duplicateCPV(MF, CPI);
1427 .addConstantPoolIndex(CPI).addImm(PCLabelId);
1440 unsigned CPI = Orig->getOperand(1).getIndex(); local
1441 unsigned PCLabelId = duplicateCPV(MF, CPI);
1442 Orig->getOperand(1).setIndex(CPI);
[all...]
H A DARMISelLowering.cpp6963 unsigned CPI = MCP->getConstantPoolIndex(CPV, 4); local
6986 .addConstantPoolIndex(CPI)
7013 .addConstantPoolIndex(CPI)
7045 .addConstantPoolIndex(CPI)
/external/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp486 void visitCatchSwitchInst(CatchSwitchInst &CPI) { argument
487 markAnythingOverdefined(&CPI);
488 visitTerminatorInst(CPI);
/external/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp311 unsigned CPI; member in struct:__anon12667::MipsConstantIslands::CPEntry
314 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
379 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
395 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
560 // identity mapping of CPI's to CPE's.
591 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
618 *MipsConstantIslands::findConstPoolEntry(unsigned CPI, argument
620 std::vector<CPEntry> &CPEs = CPEntries[CPI];
639 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
640 assert(CPI < MC
787 unsigned CPI = I->getOperand(op).getIndex(); local
1057 decrementCPEReferenceCount(unsigned CPI, MachineInstr *CPEMI) argument
1090 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
1146 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
1347 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1310 unsigned CPI = CPSections[i].CPEs[j]; local
1311 MCSymbol *Sym = GetCPISymbol(CPI);
1322 MachineConstantPoolEntry CPE = CP[CPI];
2313 "CPI" + Twine(getFunctionNumber()) + "_" +
/external/llvm/lib/IR/
H A DVerifier.cpp403 void visitCatchPadInst(CatchPadInst &CPI);
405 void visitCleanupPadInst(CleanupPadInst &CPI);
2916 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) {
2918 Assert(BB->getUniquePredecessor() == CPI->getCatchSwitch()->getParent(),
2921 CPI);
2977 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { argument
2978 visitEHPadPredecessors(CPI);
2980 BasicBlock *BB = CPI.getParent();
2984 "CatchPadInst needs to be in a function with a personality.", &CPI);
2986 Assert(isa<CatchSwitchInst>(CPI
3006 visitCleanupPadInst(CleanupPadInst &CPI) argument
3024 "CleanupPadInst has an invalid parent.", &CPI); local
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp398 unsigned CPI = MCP.getConstantPoolIndex(cast<Constant>(CFP), Align); local
401 ADRPReg).addConstantPoolIndex(CPI, 0, AArch64II::MO_PAGE);
407 .addConstantPoolIndex(CPI, 0, AArch64II::MO_PAGEOFF | AArch64II::MO_NC);

Completed in 375 milliseconds