| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUPerfHintAnalysis.h | 39 struct FuncInfo { 44 FuncInfo() : MemInstCount(0), InstCount(0), IAMInstCount(0), 48 typedef ValueMap<const Function*, FuncInfo> FuncInfoMap;
|
| SILowerSGPRSpills.cpp | 251 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); 252 const Register PreReservedVGPR = FuncInfo->VGPRReservedForSGPRSpill; 272 llvm::find_if(FuncInfo->getSGPRSpillVGPRs(), 277 assert(ReservedVGPRInfoItr != FuncInfo->getSGPRSpillVGPRs().end()); 279 std::distance(FuncInfo->getSGPRSpillVGPRs().begin(), ReservedVGPRInfoItr); 281 FuncInfo->setSGPRSpillVGPRs(LowestAvailableVGPR, FI, Index); 308 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); 313 if (FuncInfo->VGPRReservedForSGPRSpill) { 315 FuncInfo->removeVGPRForSGPRSpill(FuncInfo->VGPRReservedForSGPRSpill, MF) [all...] |
| SIFrameLowering.cpp | 119 const SIMachineFunctionInfo &FuncInfo, 134 FuncInfo.getStackPtrOffsetReg(), 0, MMO, nullptr, 141 const SIMachineFunctionInfo &FuncInfo, 155 FuncInfo.getStackPtrOffsetReg(), 0, MMO, nullptr, 670 const SIMachineFunctionInfo *FuncInfo, 696 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); 699 initLiveRegs(LiveRegs, TRI, FuncInfo, MF, MBB, MBBI, IsProlog); 724 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); 725 if (FuncInfo->isEntryFunction()) { 736 Register StackPtrReg = FuncInfo->getStackPtrOffsetReg() [all...] |
| AMDGPULibCalls.cpp | 47 typedef llvm::AMDGPULibFunc FuncInfo; 58 FunctionCallee getFunction(Module *M, const FuncInfo &fInfo); 61 bool replaceWithNative(CallInst *CI, const FuncInfo &FInfo); 64 FuncInfo *FInfo=nullptr /*out*/); 66 bool TDOFold(CallInst *CI, const FuncInfo &FInfo); 71 bool fold_recip(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 74 bool fold_divide(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 77 bool fold_pow(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 80 bool fold_rootn(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 83 bool fold_fma_mad(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo) [all...] |
| AMDGPUPerfHintAnalysis.cpp | 101 AMDGPUPerfHintAnalysis::FuncInfo *visit(const Function &F); 102 static bool isMemBound(const AMDGPUPerfHintAnalysis::FuncInfo &F); 103 static bool needLimitWave(const AMDGPUPerfHintAnalysis::FuncInfo &F); 203 AMDGPUPerfHintAnalysis::FuncInfo *AMDGPUPerfHint::visit(const Function &F) { 204 AMDGPUPerfHintAnalysis::FuncInfo &FI = FIM[&F]; 264 const AMDGPUPerfHintAnalysis::FuncInfo *Info = visit(F); 287 bool AMDGPUPerfHint::isMemBound(const AMDGPUPerfHintAnalysis::FuncInfo &FI) { 291 bool AMDGPUPerfHint::needLimitWave(const AMDGPUPerfHintAnalysis::FuncInfo &FI) {
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| FastISel.cpp | 128 // Instructions are appended to FuncInfo.MBB. If the basic block already 132 if (!FuncInfo.MBB->empty()) 133 EmitStartPt = &FuncInfo.MBB->back(); 140 if (!FuncInfo.CanLowerReturn) 149 for (Function::const_arg_iterator I = FuncInfo.Fn->arg_begin(), 150 E = FuncInfo.Fn->arg_end(); 154 FuncInfo.ValueMap[&*I] = VI->second; 179 FunctionLoweringInfo &FuncInfo) { 180 for (auto &P : FuncInfo.PHINodesToUpdate) 196 : FuncInfo.MBB->rend() [all...] |
| SelectionDAGISel.cpp | 316 : MachineFunctionPass(ID), TM(tm), FuncInfo(new FunctionLoweringInfo()), 319 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, 460 FuncInfo->set(Fn, *MF, CurDAG); 469 FuncInfo->BPI = &getAnalysis<BranchProbabilityInfoWrapperPass>().getBPI(); 471 FuncInfo->BPI = nullptr; 482 FuncInfo->SplitCSR = false; 487 FuncInfo->SplitCSR = true; 499 FuncInfo->SplitCSR = false; 505 if (FuncInfo->SplitCSR) 522 for (DenseMap<Register, Register>::iterator I = FuncInfo->RegFixups.begin() [all...] |
| StatepointLowering.cpp | 95 AllocatedStackSlots.resize(Builder.FuncInfo.StatepointStackSlots.size()); 124 Builder.FuncInfo.StatepointStackSlots.size() && 129 const int FI = Builder.FuncInfo.StatepointStackSlots[NextSlotToAllocate]; 144 Builder.FuncInfo.StatepointStackSlots.push_back(FI); 147 Builder.FuncInfo.StatepointStackSlots.size() && 151 Builder.FuncInfo.StatepointStackSlots.size()); 169 Builder.FuncInfo.StatepointRelocationMaps[Relocate->getStatepoint()]; 282 const auto &StatepointSlots = Builder.FuncInfo.StatepointStackSlots; 666 int FI = Builder.FuncInfo.getArgumentFrameIndex(Arg); 899 Register Reg = FuncInfo.CreateRegs(RetTy) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| WinException.h | 52 void emitSEHActionsForRange(const WinEHFuncInfo &FuncInfo, 68 const MachineFunction *MF, const WinEHFuncInfo &FuncInfo, 73 void emitEHRegistrationOffsetLabel(const WinEHFuncInfo &FuncInfo, 87 int getFrameIndexOffset(int FrameIndex, const WinEHFuncInfo &FuncInfo);
|
| PseudoProbePrinter.cpp | 28 NamedMDNode *FuncInfo = M->getNamedMetadata(PseudoProbeDescMetadataName); 29 assert(FuncInfo && "Pseudo probe descriptors are missing"); 30 for (const auto *Operand : FuncInfo->operands()) {
|
| WinException.cpp | 108 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); 111 emitEHRegistrationOffsetLabel(FuncInfo, FLinkageName); 356 const WinEHFuncInfo &FuncInfo) { 372 assert(FuncInfo.EHRegNodeEndOffset != INT_MAX); 374 Offset += StackOffset::getFixed(FuncInfo.EHRegNodeEndOffset); 573 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); 589 MCConstantExpr::create(FuncInfo.SEHSetFrameOffset, Ctx); 623 InvokeStateChangeIterator::range(FuncInfo, MF->begin(), Stop)) { 627 emitSEHActionsForRange(FuncInfo, LastStartLabel, 636 void WinException::emitSEHActionsForRange(const WinEHFuncInfo &FuncInfo, [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| PPCFastISel.cpp | 96 explicit PPCFastISel(FunctionLoweringInfo &FuncInfo, 98 : FastISel(FuncInfo, LibInfo), TM(FuncInfo.MF->getTarget()), 99 Subtarget(&FuncInfo.MF->getSubtarget<PPCSubtarget>()), 100 PPCFuncInfo(FuncInfo.MF->getInfo<PPCFunctionInfo>()), 102 Context(&FuncInfo.Fn->getContext()) {} 154 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, 301 return FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| WinEHPrepare.cpp | 132 static int addUnwindMapEntry(WinEHFuncInfo &FuncInfo, int ToState, 137 FuncInfo.CxxUnwindMap.push_back(UME); 138 return FuncInfo.getLastStateNumber(); 141 static void addTryBlockMapEntry(WinEHFuncInfo &FuncInfo, int TryLow, 165 FuncInfo.TryBlockMap.push_back(TBME); 176 WinEHFuncInfo &FuncInfo) { 204 auto BaseStateI = FuncInfo.FuncletBaseStateMap.find(FuncletPad); 205 if (BaseStateI != FuncInfo.FuncletBaseStateMap.end()) 210 FuncInfo.InvokeStateMap[II] = BaseState; 213 assert(FuncInfo.EHPadStateMap.count(PadInst) && "EH Pad has no state!") [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| X86FastISel.cpp | 60 explicit X86FastISel(FunctionLoweringInfo &funcInfo, 62 : FastISel(funcInfo, libInfo) { 63 Subtarget = &funcInfo.MF->getSubtarget<X86Subtarget>(); 476 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg); 479 MIB->addMemOperand(*FuncInfo.MF, MMO); 505 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, 652 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, Desc) [all...] |
| X86WinEHState.cpp | 63 void addStateStores(Function &F, WinEHFuncInfo &FuncInfo); 74 WinEHFuncInfo &FuncInfo, BasicBlock *BB); 76 WinEHFuncInfo &FuncInfo, CallBase &Call); 189 WinEHFuncInfo FuncInfo; 190 addStateStores(F, FuncInfo); 508 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, 517 auto BaseStateI = FuncInfo.FuncletBaseStateMap.find(FuncletPad); 518 if (BaseStateI != FuncInfo.FuncletBaseStateMap.end()) 527 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, 531 assert(FuncInfo.InvokeStateMap.count(II) && "invoke has no state!") [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| ARMFastISel.cpp | 122 explicit ARMFastISel(FunctionLoweringInfo &funcInfo, 124 : FastISel(funcInfo, libInfo), 126 &static_cast<const ARMSubtarget &>(funcInfo.MF->getSubtarget())), 127 M(const_cast<Module &>(*funcInfo.Fn->getParent())), 128 TM(funcInfo.MF->getTarget()), TII(*Subtarget->getInstrInfo()), 130 AFI = funcInfo.MF->getInfo<ARMFunctionInfo>(); 132 Context = &funcInfo.Fn->getContext(); 307 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, 310 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyFastISel.cpp | 194 WebAssemblyFastISel(FunctionLoweringInfo &FuncInfo, 196 : FastISel(FuncInfo, LibInfo, /*SkipTargetIndependentISel=*/true) { 197 Subtarget = &FuncInfo.MF->getSubtarget<WebAssemblySubtarget>(); 198 Context = &FuncInfo.Fn->getContext(); 214 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) || 215 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { 320 FuncInfo.StaticAllocaMap.find(AI); 321 if (SI != FuncInfo.StaticAllocaMap.end()) { 387 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), Reg [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| WinEHFuncInfo.h | 119 WinEHFuncInfo &FuncInfo); 122 WinEHFuncInfo &FuncInfo); 124 void calculateClrEHStateNumbers(const Function *Fn, WinEHFuncInfo &FuncInfo);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/VE/ |
| VEFrameLowering.cpp | 140 const VEMachineFunctionInfo *FuncInfo = MF.getInfo<VEMachineFunctionInfo>(); 151 if (!FuncInfo->isLeafProc()) { 188 const VEMachineFunctionInfo *FuncInfo = MF.getInfo<VEMachineFunctionInfo>(); 214 if (!FuncInfo->isLeafProc()) { 310 const VEMachineFunctionInfo *FuncInfo = MF.getInfo<VEMachineFunctionInfo>(); 335 if (!FuncInfo->isLeafProc()) { 353 if (!FuncInfo->isLeafProc()) 361 assert((RuntimeAlign == None || !FuncInfo->isLeafProc()) && 394 const VEMachineFunctionInfo *FuncInfo = MF.getInfo<VEMachineFunctionInfo>(); 403 if (!FuncInfo->isLeafProc()) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| AArch64FastISel.cpp | 282 explicit AArch64FastISel(FunctionLoweringInfo &FuncInfo, 284 : FastISel(FuncInfo, LibInfo, /*SkipTargetIndependentISel=*/true) { 286 &static_cast<const AArch64Subtarget &>(FuncInfo.MF->getSubtarget()); 287 Context = &FuncInfo.Fn->getContext(); 351 if (!FuncInfo.StaticAllocaMap.count(AI)) 355 FuncInfo.StaticAllocaMap.find(AI); 357 if (SI != FuncInfo.StaticAllocaMap.end()) { 359 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADDXri), 382 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::COPY) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| MipsFastISel.cpp | 211 return BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); 215 return BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), 254 explicit MipsFastISel(FunctionLoweringInfo &funcInfo, 256 : FastISel(funcInfo, libInfo), TM(funcInfo.MF->getTarget()), 257 Subtarget(&funcInfo.MF->getSubtarget<MipsSubtarget>()), 259 MFI = funcInfo.MF->getInfo<MipsFunctionInfo>(); 260 Context = &funcInfo.Fn->getContext() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/ |
| SparcFrameLowering.cpp | 87 SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>(); 112 if (FuncInfo->isLeafProc()) { 216 SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>(); 223 if (!FuncInfo->isLeafProc()) { 260 const SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>(); 270 if (FuncInfo->isLeafProc()) {
|
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/ |
| GsymCreator.cpp | 106 for (const auto &FuncInfo : Funcs) { 107 uint64_t AddrOffset = FuncInfo.startAddress() - Hdr.BaseAddress; 151 for (const auto &FuncInfo : Funcs) { 152 if (Expected<uint64_t> OffsetOrErr = FuncInfo.encode(O))
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| PGOInstrumentation.cpp | 903 FuncPGOInstrumentation<PGOEdge, BBInfo> FuncInfo( 906 FuncInfo.getInstrumentBBs(InstrumentBBs); 908 InstrumentBBs.size() + FuncInfo.SIVisitor.getNumOfSelectInsts(); 918 {ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), 919 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), 924 FuncInfo.SIVisitor.instrumentSelects(F, &I, NumCounters, FuncInfo.FuncNameVar, 925 FuncInfo.FunctionHash); 931 NumOfPGOICall += FuncInfo.ValueSites[IPVK_IndirectCallTarget].size(); 948 for (VPCandidateInfo Cand : FuncInfo.ValueSites[Kind]) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| ValistChecker.cpp | 136 for (auto FuncInfo : VAListAccepters) { 137 if (!Call.isCalled(FuncInfo.Func)) 141 getVAListAsRegion(Call.getArgSVal(FuncInfo.VAListPos), 142 Call.getArgExpr(FuncInfo.VAListPos), Symbolic, C); 155 Errmsg += FuncInfo.Func.getFunctionName();
|