/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 102 if (!FuncInfo.MBB->empty()) in startNewBlock() 103 EmitStartPt = &FuncInfo.MBB->back(); in startNewBlock() 108 if (!FuncInfo.CanLowerReturn) in lowerArguments() 117 for (Function::const_arg_iterator I = FuncInfo.Fn->arg_begin(), in lowerArguments() 118 E = FuncInfo.Fn->arg_end(); in lowerArguments() 122 FuncInfo.ValueMap[I] = VI->second; in lowerArguments() 131 SavedInsertPt = FuncInfo.InsertPt; in flushLocalValueMap() 194 !FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(V)))) in getRegForValue() 195 return FuncInfo.InitializeRegForValue(V); in getRegForValue() 255 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in materializeConstant() [all …]
|
D | SelectionDAGISel.cpp | 346 FuncInfo(new FunctionLoweringInfo()), in SelectionDAGISel() 348 SDB(new SelectionDAGBuilder(*CurDAG, *FuncInfo, OL)), in SelectionDAGISel() 362 delete FuncInfo; in ~SelectionDAGISel() 449 FuncInfo->set(Fn, *MF, CurDAG); in runOnMachineFunction() 452 FuncInfo->BPI = &getAnalysis<BranchProbabilityInfo>(); in runOnMachineFunction() 454 FuncInfo->BPI = nullptr; in runOnMachineFunction() 470 if (!FuncInfo->ArgDbgValues.empty()) in runOnMachineFunction() 477 for (unsigned i = 0, e = FuncInfo->ArgDbgValues.size(); i != e; ++i) { in runOnMachineFunction() 478 MachineInstr *MI = FuncInfo->ArgDbgValues[e-i-1]; in runOnMachineFunction() 565 I = FuncInfo->RegFixups.begin(), E = FuncInfo->RegFixups.end(); in runOnMachineFunction() [all …]
|
D | StatepointLowering.cpp | 52 AllocatedStackSlots.resize(Builder.FuncInfo.StatepointStackSlots.size()); in startNewStatepoint() 77 assert(Builder.FuncInfo.StatepointStackSlots.size() == in allocateStackSlot() 92 Builder.FuncInfo.StatepointStackSlots.push_back(FI); in allocateStackSlot() 97 const int FI = Builder.FuncInfo.StatepointStackSlots[NextSlotToAllocate]; in allocateStackSlot() 137 auto Itr = std::find(Builder.FuncInfo.StatepointStackSlots.begin(), in reservePreviousStackSlotForValue() 138 Builder.FuncInfo.StatepointStackSlots.end(), Index); in reservePreviousStackSlotForValue() 139 if (Itr == Builder.FuncInfo.StatepointStackSlots.end()) { in reservePreviousStackSlotForValue() 147 std::distance(Builder.FuncInfo.StatepointStackSlots.begin(), Itr); in reservePreviousStackSlotForValue() 262 unsigned reg = Builder.FuncInfo.CreateRegs(Tmp->getType()); in lowerCallFromStatepoint() 264 Builder.FuncInfo.ValueMap[CS.getInstruction()] = reg; in lowerCallFromStatepoint()
|
D | SelectionDAGBuilder.cpp | 645 SDValue getCopyFromRegs(SelectionDAG &DAG, FunctionLoweringInfo &FuncInfo, 674 FunctionLoweringInfo &FuncInfo, in getCopyFromRegs() argument 713 FuncInfo.GetLiveOutRegInfo(Regs[Part+i]); in getCopyFromRegs() 1025 DenseMap<const Value *, unsigned>::iterator It = FuncInfo.ValueMap.find(V); in getCopyFromRegs() 1028 if (It != FuncInfo.ValueMap.end()) { in getCopyFromRegs() 1033 res = RFV.getCopyFromRegs(DAG, FuncInfo, getCurSDLoc(), Chain, nullptr, V); in getCopyFromRegs() 1196 FuncInfo.StaticAllocaMap.find(AI); in getValueImpl() 1197 if (SI != FuncInfo.StaticAllocaMap.end()) in getValueImpl() 1203 unsigned InReg = FuncInfo.InitializeRegForValue(Inst); in getValueImpl() 1206 return RFV.getCopyFromRegs(DAG, FuncInfo, getCurSDLoc(), Chain, nullptr, V); in getValueImpl() [all …]
|
D | FunctionLoweringInfo.cpp | 85 WinEHNumbering(WinEHFuncInfo &FuncInfo) : FuncInfo(FuncInfo), NextState(0) {} in WinEHNumbering() 87 WinEHFuncInfo &FuncInfo; member 297 FuncInfo.UnwindMap.push_back(UME); in createUnwindMapEntry() 325 FuncInfo.TryBlockMap.push_back(TBME); in createTryBlockMapEntry() 443 FuncInfo.LandingPadStateMap[LPI] = currentEHNumber(); in calculateStateNumbers() 446 FuncInfo.CatchHandlerMaxState[&F] = NextState - 1; in calculateStateNumbers()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 96 explicit PPCFastISel(FunctionLoweringInfo &FuncInfo, in PPCFastISel() argument 98 : FastISel(FuncInfo, LibInfo), TM(FuncInfo.MF->getTarget()), in PPCFastISel() 99 PPCSubTarget(&FuncInfo.MF->getSubtarget<PPCSubtarget>()), in PPCFastISel() 100 PPCFuncInfo(FuncInfo.MF->getInfo<PPCFunctionInfo>()), in PPCFastISel() 103 Context(&FuncInfo.Fn->getContext()) {} in PPCFastISel() 294 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) || in PPCComputeAddress() 295 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in PPCComputeAddress() 370 FuncInfo.StaticAllocaMap.find(AI); in PPCComputeAddress() 371 if (SI != FuncInfo.StaticAllocaMap.end()) { in PPCComputeAddress() 413 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::ADDI8), in PPCSimplifyAddress() [all …]
|
D | PPCFrameLowering.cpp | 388 const PPCFunctionInfo *FuncInfo = MF.getInfo<PPCFunctionInfo>(); in spillsCR() local 389 return FuncInfo->isCRSpilled(); in spillsCR() 393 const PPCFunctionInfo *FuncInfo = MF.getInfo<PPCFunctionInfo>(); in spillsVRSAVE() local 394 return FuncInfo->isVRSAVESpilled(); in spillsVRSAVE() 398 const PPCFunctionInfo *FuncInfo = MF.getInfo<PPCFunctionInfo>(); in hasSpills() local 399 return FuncInfo->hasSpills(); in hasSpills() 403 const PPCFunctionInfo *FuncInfo = MF.getInfo<PPCFunctionInfo>(); in hasNonRISpills() local 404 return FuncInfo->hasNonRISpills(); in hasNonRISpills() 1521 PPCFunctionInfo *FuncInfo = MF->getInfo<PPCFunctionInfo>(); in spillCalleeSavedRegisters() local 1524 FuncInfo->addMustSaveCR(Reg); in spillCalleeSavedRegisters() [all …]
|
D | PPCInstrInfo.cpp | 945 PPCFunctionInfo *FuncInfo = MF.getInfo<PPCFunctionInfo>(); in storeRegToStackSlot() local 946 FuncInfo->setHasSpills(); in storeRegToStackSlot() 951 FuncInfo->setSpillsCR(); in storeRegToStackSlot() 954 FuncInfo->setSpillsVRSAVE(); in storeRegToStackSlot() 957 FuncInfo->setHasNonRISpills(); in storeRegToStackSlot() 1054 PPCFunctionInfo *FuncInfo = MF.getInfo<PPCFunctionInfo>(); in loadRegFromStackSlot() local 1055 FuncInfo->setHasSpills(); in loadRegFromStackSlot() 1060 FuncInfo->setSpillsCR(); in loadRegFromStackSlot() 1063 FuncInfo->setSpillsVRSAVE(); in loadRegFromStackSlot() 1066 FuncInfo->setHasNonRISpills(); in loadRegFromStackSlot()
|
D | PPCISelLowering.h | 617 FastISel *createFastISel(FunctionLoweringInfo &FuncInfo, 838 FastISel *createFastISel(FunctionLoweringInfo &FuncInfo,
|
/external/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 296 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, in fastEmitInst_r() 299 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_r() 301 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_r() 322 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rr() 326 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_rr() 329 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_rr() 352 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rrr() 357 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_rrr() 361 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_rrr() 380 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_ri() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 404 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg); in X86FastEmitLoad() 407 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitLoad() 426 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in X86FastEmitStore() 468 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); in X86FastEmitStore() 471 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitStore() 502 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); in X86FastEmitStore() 506 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitStore() 559 AM.Base.Reg = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF); in handleConstantAddresses() 606 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), LoadReg); in handleConstantAddresses() 651 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(V)) || in X86SelectAddress() [all …]
|
D | X86CallFrameOptimization.cpp | 437 X86MachineFunctionInfo *FuncInfo = MF.getInfo<X86MachineFunctionInfo>(); in adjustCallSequence() local 438 FuncInfo->setHasPushSequences(true); in adjustCallSequence()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | Win64Exception.cpp | 78 WinEHFuncInfo &FuncInfo = MMI->getWinEHFuncInfo(ParentF); in beginFunction() local 79 auto I = FuncInfo.CatchHandlerParentFrameObjOffset.find(F); in beginFunction() 80 if (I != FuncInfo.CatchHandlerParentFrameObjOffset.end()) { in beginFunction() 281 WinEHFuncInfo &FuncInfo = MMI->getWinEHFuncInfo(ParentF); in emitCXXFrameHandler3Table() local 337 FuncInfo.IPToStateList.push_back(std::make_pair(LastLabel, -1)); in emitCXXFrameHandler3Table() 343 FuncInfo.IPToStateList.push_back( in emitCXXFrameHandler3Table() 353 if (ParentF != F && !FuncInfo.CatchHandlerMaxState.count(F)) in emitCXXFrameHandler3Table() 355 ++FuncInfo.NumIPToStateFuncsVisited; in emitCXXFrameHandler3Table() 356 if (FuncInfo.NumIPToStateFuncsVisited != FuncInfo.CatchHandlerMaxState.size()) in emitCXXFrameHandler3Table() 362 if (!FuncInfo.UnwindMap.empty()) in emitCXXFrameHandler3Table() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 247 explicit AArch64FastISel(FunctionLoweringInfo &FuncInfo, in AArch64FastISel() argument 249 : FastISel(FuncInfo, LibInfo, /*SkipTargetIndependentISel=*/true) { in AArch64FastISel() 251 &static_cast<const AArch64Subtarget &>(FuncInfo.MF->getSubtarget()); in AArch64FastISel() 252 Context = &FuncInfo.Fn->getContext(); in AArch64FastISel() 316 if (!FuncInfo.StaticAllocaMap.count(AI)) in fastMaterializeAlloca() 320 FuncInfo.StaticAllocaMap.find(AI); in fastMaterializeAlloca() 322 if (SI != FuncInfo.StaticAllocaMap.end()) { in fastMaterializeAlloca() 324 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADDXri), in fastMaterializeAlloca() 347 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::COPY), in materializeInt() 380 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc1), TmpReg) in materializeFP() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 143 return BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); in emitInst() 146 return BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), in emitInst() 367 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) || in computeAddress() 368 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in computeAddress() 428 FuncInfo.StaticAllocaMap.find(AI); in computeAddress() 429 if (SI != FuncInfo.StaticAllocaMap.end()) { in computeAddress() 670 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in emitLoad() 721 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)) in emitStore() 814 MachineBasicBlock *BrBB = FuncInfo.MBB; in selectBranch() 822 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)]; in selectBranch() [all …]
|
D | Mips16ISelLowering.cpp | 430 MipsFunctionInfo *FuncInfo = MF.getInfo<MipsFunctionInfo>(); in getOpndList() local 452 if (!IsPICCall && (Signature && (FuncInfo->StubsNeeded.find(Symbol) == in getOpndList() 453 FuncInfo->StubsNeeded.end()))) { in getOpndList() 454 FuncInfo->StubsNeeded[Symbol] = Signature; in getOpndList() 469 FuncInfo->setSaveS2(); in getOpndList() 509 FuncInfo->callPtrInfo(S->getSymbol())); in getOpndList()
|
/external/google-breakpad/src/common/solaris/ |
D | dump_symbols.cc | 98 struct FuncInfo { struct 124 std::vector<struct FuncInfo> func_info; 250 struct FuncInfo *func_info) { in LoadStackParamSize() 264 struct FuncInfo *func_info) { in LoadLineInfo() 313 struct FuncInfo func_info; in LoadFuncSymbols() 351 std::vector<struct FuncInfo> *sorted_functions = &(source_file.func_info); in ComputeSizeAndRVA() 355 struct FuncInfo &func_info = (*sorted_functions)[j]; in ComputeSizeAndRVA() 524 const struct FuncInfo &func_info){ in WriteOneFunction() 561 const struct FuncInfo &func_info = file_info.func_info[j]; in WriteFunctionInfo()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcFrameLowering.cpp | 86 SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>(); in emitPrologue() local 100 if (FuncInfo->isLeafProc()) { in emitPrologue() 151 SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>(); in emitEpilogue() local 158 if (!FuncInfo->isLeafProc()) { in emitEpilogue()
|
D | SparcRegisterInfo.cpp | 168 SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>(); in eliminateFrameIndex() local 170 if (FuncInfo->isLeafProc()) { in eliminateFrameIndex()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFrameLowering.cpp | 96 HexagonMachineFunctionInfo *FuncInfo = in emitPrologue() local 99 FuncInfo->getAllocaAdjustInsts(); in emitPrologue() 205 const HexagonMachineFunctionInfo *FuncInfo = in hasFP() local 208 FuncInfo->hasClobberLR() ); in hasFP()
|
D | HexagonISelLowering.cpp | 705 HexagonMachineFunctionInfo *FuncInfo = in LowerINLINEASM() local 714 if (FuncInfo->hasClobberLR()) in LowerINLINEASM() 739 FuncInfo->setHasClobberLR(true); in LowerINLINEASM() 850 HexagonMachineFunctionInfo *FuncInfo = in LowerFormalArguments() local 941 FuncInfo->setVarArgsFrameIndex(FrameIndex); in LowerFormalArguments() 2361 HexagonMachineFunctionInfo *FuncInfo = in LowerEH_RETURN() local 2363 FuncInfo->setHasEHReturn(); in LowerEH_RETURN() 2434 HexagonMachineFunctionInfo *FuncInfo = in EmitInstrWithCustomInserter() local 2436 FuncInfo->addAllocaAdjustInst(MI); in EmitInstrWithCustomInserter()
|
/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 761 WinEHFuncInfo &FuncInfo = MMI.getWinEHFuncInfo(Fn.getFunction()); in replaceFrameIndices() local 764 if (FuncInfo.UnwindHelpFrameIdx != INT_MAX) in replaceFrameIndices() 765 FuncInfo.UnwindHelpFrameOffset = TFI.getFrameIndexReferenceFromSP( in replaceFrameIndices() 766 Fn, FuncInfo.UnwindHelpFrameIdx, FrameReg); in replaceFrameIndices() 768 WinEHFuncInfo &FuncInfo = MMI.getWinEHFuncInfo(Fn.getFunction()); in replaceFrameIndices() local 769 auto I = FuncInfo.CatchHandlerParentFrameObjIdx.find(F); in replaceFrameIndices() 770 if (I != FuncInfo.CatchHandlerParentFrameObjIdx.end()) in replaceFrameIndices() 771 FuncInfo.CatchHandlerParentFrameObjOffset[F] = in replaceFrameIndices()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 439 MSP430MachineFunctionInfo *FuncInfo = MF.getInfo<MSP430MachineFunctionInfo>(); in LowerCCCArguments() local 450 FuncInfo->setVarArgsFrameIndex(MFI->CreateFixedObject(1, Offset, true)); in LowerCCCArguments() 1023 MSP430MachineFunctionInfo *FuncInfo = MF.getInfo<MSP430MachineFunctionInfo>(); in getReturnAddressFrameIndex() local 1024 int ReturnAddrIndex = FuncInfo->getRAIndex(); in getReturnAddressFrameIndex() 1031 FuncInfo->setRAIndex(ReturnAddrIndex); in getReturnAddressFrameIndex() 1084 MSP430MachineFunctionInfo *FuncInfo = MF.getInfo<MSP430MachineFunctionInfo>(); in LowerVASTART() local 1087 SDValue FrameIndex = DAG.getFrameIndex(FuncInfo->getVarArgsFrameIndex(), in LowerVASTART()
|
/external/llvm/include/llvm/CodeGen/ |
D | FastISel.h | 188 FunctionLoweringInfo &FuncInfo; variable 308 explicit FastISel(FunctionLoweringInfo &FuncInfo,
|
D | SelectionDAGISel.h | 46 FunctionLoweringInfo *FuncInfo; variable
|