Searched refs:CPI (Results 1 - 25 of 42) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMJITInfo.h116 intptr_t getConstantPoolEntryAddr(unsigned CPI) const {
117 assert(CPI < ConstPoolId2AddrMap.size());
118 return ConstPoolId2AddrMap[CPI];
124 void addConstantPoolEntryAddr(unsigned CPI, intptr_t Addr) {
125 assert(CPI < ConstPoolId2AddrMap.size());
126 ConstPoolId2AddrMap[CPI] = Addr;
H A DARMConstantIslandPass.cpp124 unsigned CPI; member in struct:__anon22797::ARMConstantIslands::CPEntry
127 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
187 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
194 bool DecrementOldEntry(unsigned CPI, MachineInstr* CPEMI);
375 AFI->recordCPEClone(i, CPE.CPI);
402 // identity mapping of CPI's to CPE's.
423 DEBUG(errs() << "Moved CPI#" << i << " to end of function as #" << i
449 *ARMConstantIslands::findConstPoolEntry(unsigned CPI,
451 std::vector<CPEntry> &CPEs = CPEntries[CPI];
635 unsigned CPI
993 DecrementOldEntry(unsigned CPI, MachineInstr *CPEMI) argument
1024 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
1246 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
[all...]
H A DARMCodeEmitter.cpp349 void emitConstPoolAddress(unsigned CPI, unsigned Reloc) const;
491 void ARMCodeEmitter::emitConstPoolAddress(unsigned CPI, unsigned Reloc) const { argument
494 Reloc, CPI, 0, true));
622 unsigned CPI = MI.getOperand(0).getImm(); // CP instruction index. local
627 JTI->addConstantPoolEntryAddr(CPI, MCE.getCurrentPCValue());
635 DEBUG(errs() << " ** ARM constant pool #" << CPI << " @ "
655 errs() << " ** Constant pool #" << CPI << " @ "
H A DARMAsmPrinter.cpp1135 unsigned CPI = MI->getOperand(1).getIndex(); local
1137 if (CPI >= MCP->getConstants().size())
1138 CPI = AFI.getOriginalCPIdx(CPI);
1139 assert(CPI != -1U && "Invalid constpool index");
1142 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI];
H A DARMBaseInstrInfo.cpp1075 /// Create a copy of a const pool value. Update CPI to the new index and return
1077 static unsigned duplicateCPV(MachineFunction &MF, unsigned &CPI) { argument
1081 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPI];
1115 CPI = MCP->getConstantPoolIndex(NewCPV, MCPE.getAlignment());
1136 unsigned CPI = Orig->getOperand(1).getIndex(); local
1137 unsigned PCLabelId = duplicateCPV(MF, CPI);
1140 .addConstantPoolIndex(CPI).addImm(PCLabelId);
1153 unsigned CPI = Orig->getOperand(1).getIndex(); local
1154 unsigned PCLabelId = duplicateCPV(MF, CPI);
1155 Orig->getOperand(1).setIndex(CPI);
[all...]
/external/llvm/lib/MC/
H A DConstantPools.cpp73 for (auto &CPI : ConstantPools) {
74 MCSection *Section = CPI.first;
75 ConstantPool &CP = CPI.second;
/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/Mips/
H A DMipsConstantIslandPass.cpp301 unsigned CPI; member in struct:__anon14426::MipsConstantIslands::CPEntry
304 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
371 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
387 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
551 // identity mapping of CPI's to CPE's.
582 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
609 *MipsConstantIslands::findConstPoolEntry(unsigned CPI, argument
611 std::vector<CPEntry> &CPEs = CPEntries[CPI];
630 unsigned CPI = CPEMI.getOperand(1).getIndex(); local
631 assert(CPI < MC
774 unsigned CPI = MI.getOperand(op).getIndex(); local
1042 decrementCPEReferenceCount(unsigned CPI, MachineInstr *CPEMI) argument
1075 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
1131 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
1332 unsigned CPI = CPEMI->getOperand(1).getIndex(); local
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86InstrBuilder.h175 addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI, argument
179 .addConstantPoolIndex(CPI, 0, OpFlags).addReg(0);
H A DX86CodeEmitter.cpp85 void emitConstPoolAddress(unsigned CPI, unsigned Reloc, intptr_t Disp = 0,
310 void Emitter<CodeEmitter>::emitConstPoolAddress(unsigned CPI, unsigned Reloc, argument
319 Reloc, CPI, RelocCST));
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
H A DMipsCodeEmitter.cpp96 void emitConstPoolAddress(unsigned CPI, unsigned Reloc) const;
216 void MipsCodeEmitter::emitConstPoolAddress(unsigned CPI, unsigned Reloc) const { argument
218 Reloc, CPI, 0, false));
/external/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp215 unsigned CPI; member in struct:__anon14249::ARMConstantIslands::CPEntry
218 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
295 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
302 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
519 AFI->recordCPEClone(i, CPE.CPI);
563 // identity mapping of CPI's to CPE's.
593 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
685 *ARMConstantIslands::findConstPoolEntry(unsigned CPI, argument
687 std::vector<CPEntry> &CPEs = CPEntries[CPI];
714 unsigned CPI local
881 unsigned CPI = I.getOperand(op).getIndex(); local
1205 decrementCPEReferenceCount(unsigned CPI, MachineInstr *CPEMI) argument
1245 unsigned CPI = getCombinedIndex(CPEMI); local
1512 unsigned CPI = getCombinedIndex(CPEMI); local
[all...]
H A DARMAsmPrinter.cpp1229 unsigned CPI = MI->getOperand(1).getIndex(); local
1231 if (CPI >= MCP->getConstants().size())
1232 CPI = AFI.getOriginalCPIdx(CPI);
1233 assert(CPI != -1U && "Invalid constpool index");
1236 const MachineConstantPoolEntry &CPE = MCP->getConstants()[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());
1422 unsigned CPI = Orig.getOperand(1).getIndex(); local
1423 unsigned PCLabelId = duplicateCPV(MF, CPI);
1426 .addConstantPoolIndex(CPI)
1440 unsigned CPI = Orig.getOperand(1).getIndex(); local
1441 unsigned PCLabelId = duplicateCPV(MF, CPI);
1442 Orig.getOperand(1).setIndex(CPI);
[all...]
/external/llvm/lib/Target/X86/
H A DX86InstrBuilder.h202 addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI, argument
206 .addConstantPoolIndex(CPI, 0, OpFlags).addReg(0);
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DMachineRelocation.h160 unsigned CPI, intptr_t cst = 0,
171 Result.Target.Index = CPI;
159 getConstPool(uintptr_t offset,unsigned RelocationType, unsigned CPI, intptr_t cst = 0, bool letTargetResolve = false) argument
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
H A DAlphaISelDAGToDAG.cpp277 SDValue CPI = CurDAG->getTargetConstantPool(C, MVT::i64); local
278 SDNode *Tmp = CurDAG->getMachineNode(Alpha::LDAHr, dl, MVT::i64, CPI,
281 CPI, SDValue(Tmp, 0), CurDAG->getEntryNode());
/external/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h290 unsigned getCatchPadExceptionPointerVReg(const Value *CPI,
/external/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp138 for (const CatchPadInst *CPI : Handlers) {
140 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0));
145 HT.Adjectives = cast<ConstantInt>(CPI->getArgOperand(1))->getZExtValue();
146 HT.Handler = CPI->getParent();
148 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts()))
501 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI))
502 ParentPad = CPI->getParentPad();
/external/llvm/lib/IR/
H A DVerifier.cpp431 void visitCatchPadInst(CatchPadInst &CPI);
433 void visitCleanupPadInst(CleanupPadInst &CPI);
3198 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) {
3200 Assert(BB->getUniquePredecessor() == CPI->getCatchSwitch()->getParent(),
3203 CPI);
3204 Assert(BB != CPI->getCatchSwitch()->getUnwindDest(),
3206 CPI->getCatchSwitch(), CPI);
3291 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { argument
3292 BasicBlock *BB = CPI
3319 visitCleanupPadInst(CleanupPadInst &CPI) argument
3334 "CleanupPadInst has an invalid parent.", &CPI); local
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp534 const Value *CPI, const TargetRegisterClass *RC) {
536 auto I = CatchPadExceptionPointers.insert({CPI, 0});
533 getCatchPadExceptionPointerVReg( const Value *CPI, const TargetRegisterClass *RC) argument
/external/clang/lib/CodeGen/
H A DCGCleanup.cpp936 llvm::CleanupPadInst *CPI = nullptr; local
944 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad);
954 if (CPI)
955 Builder.CreateCleanupRet(CPI, NextAction);
H A DMicrosoftCXXABI.cpp879 llvm::CatchPadInst *CPI; member in struct:__anon1648::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...]
H A DCGException.cpp1858 llvm::CatchPadInst *CPI = local
1861 Builder.CreateCatchRet(CPI, ExceptBB);
1868 llvm::Value *Code = Builder.CreateCall(SEHCodeIntrin, {CPI});
/external/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp501 void visitCatchSwitchInst(CatchSwitchInst &CPI) { argument
502 markAnythingOverdefined(&CPI);
503 visitTerminatorInst(CPI);

Completed in 716 milliseconds

12