/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 73 I = FuncInfo.MBB->begin(), E = FuncInfo.MBB->end(); in startNewBlock() 130 DenseMap<const Value *, unsigned>::iterator I = FuncInfo.ValueMap.find(V); in getRegForValue() 131 if (I != FuncInfo.ValueMap.end()) in getRegForValue() 142 !FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(V)))) in getRegForValue() 143 return FuncInfo.InitializeRegForValue(V); in getRegForValue() 208 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, in materializeRegForValue() 231 DenseMap<const Value *, unsigned>::iterator I = FuncInfo.ValueMap.find(V); in lookUpRegForValue() 232 if (I != FuncInfo.ValueMap.end()) in lookUpRegForValue() 249 unsigned &AssignedReg = FuncInfo.ValueMap[I]; in UpdateValueMap() 256 FuncInfo.RegFixups[AssignedReg+i] = Reg+i; in UpdateValueMap() [all …]
|
D | SelectionDAGISel.cpp | 194 FuncInfo(new FunctionLoweringInfo(TLI)), in SelectionDAGISel() 196 SDB(new SelectionDAGBuilder(*CurDAG, *FuncInfo, OL)), in SelectionDAGISel() 208 delete FuncInfo; in ~SelectionDAGISel() 280 FuncInfo->set(Fn, *MF); in runOnMachineFunction() 283 FuncInfo->BPI = &getAnalysis<BranchProbabilityInfo>(); in runOnMachineFunction() 285 FuncInfo->BPI = 0; in runOnMachineFunction() 298 if (!FuncInfo->ArgDbgValues.empty()) in runOnMachineFunction() 305 for (unsigned i = 0, e = FuncInfo->ArgDbgValues.size(); i != e; ++i) { in runOnMachineFunction() 306 MachineInstr *MI = FuncInfo->ArgDbgValues[e-i-1]; in runOnMachineFunction() 383 I = FuncInfo->RegFixups.begin(), E = FuncInfo->RegFixups.end(); in runOnMachineFunction() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 105 if (!FuncInfo.MBB->empty()) in startNewBlock() 106 EmitStartPt = &FuncInfo.MBB->back(); in startNewBlock() 111 if (!FuncInfo.CanLowerReturn) in lowerArguments() 120 for (Function::const_arg_iterator I = FuncInfo.Fn->arg_begin(), in lowerArguments() 121 E = FuncInfo.Fn->arg_end(); in lowerArguments() 125 FuncInfo.ValueMap[&*I] = VI->second; in lowerArguments() 134 SavedInsertPt = FuncInfo.InsertPt; in flushLocalValueMap() 197 !FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(V)))) in getRegForValue() 198 return FuncInfo.InitializeRegForValue(V); in getRegForValue() 258 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in materializeConstant() [all …]
|
D | SelectionDAGISel.cpp | 357 FuncInfo(new FunctionLoweringInfo()), in SelectionDAGISel() 359 SDB(new SelectionDAGBuilder(*CurDAG, *FuncInfo, OL)), in SelectionDAGISel() 374 delete FuncInfo; in ~SelectionDAGISel() 462 FuncInfo->set(Fn, *MF, CurDAG); in runOnMachineFunction() 465 FuncInfo->BPI = &getAnalysis<BranchProbabilityInfoWrapperPass>().getBPI(); in runOnMachineFunction() 467 FuncInfo->BPI = nullptr; in runOnMachineFunction() 473 FuncInfo->SplitCSR = false; in runOnMachineFunction() 478 FuncInfo->SplitCSR = true; in runOnMachineFunction() 490 FuncInfo->SplitCSR = false; in runOnMachineFunction() 496 if (FuncInfo->SplitCSR) in runOnMachineFunction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 137 if (!FuncInfo.MBB->empty()) in startNewBlock() 138 EmitStartPt = &FuncInfo.MBB->back(); in startNewBlock() 146 if (!FuncInfo.CanLowerReturn) in lowerArguments() 155 for (Function::const_arg_iterator I = FuncInfo.Fn->arg_begin(), in lowerArguments() 156 E = FuncInfo.Fn->arg_end(); in lowerArguments() 160 FuncInfo.ValueMap[&*I] = VI->second; in lowerArguments() 194 : FuncInfo.MBB->rend(); in flushLocalValueMap() 215 SavedInsertPt = FuncInfo.InsertPt; in flushLocalValueMap() 216 LastFlushPoint = FuncInfo.InsertPt; in flushLocalValueMap() 220 FunctionLoweringInfo &FuncInfo) { in isRegUsedByPhiNodes() argument [all …]
|
D | SelectionDAGISel.cpp | 306 FuncInfo(new FunctionLoweringInfo()), in SelectionDAGISel() 308 SDB(new SelectionDAGBuilder(*CurDAG, *FuncInfo, OL)), in SelectionDAGISel() 323 delete FuncInfo; in ~SelectionDAGISel() 421 FuncInfo->set(Fn, *MF, CurDAG); in runOnMachineFunction() 429 FuncInfo->BPI = &getAnalysis<BranchProbabilityInfoWrapperPass>().getBPI(); in runOnMachineFunction() 431 FuncInfo->BPI = nullptr; in runOnMachineFunction() 442 FuncInfo->SplitCSR = false; in runOnMachineFunction() 447 FuncInfo->SplitCSR = true; in runOnMachineFunction() 459 FuncInfo->SplitCSR = false; in runOnMachineFunction() 465 if (FuncInfo->SplitCSR) in runOnMachineFunction() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMFastISel.cpp | 283 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg)); in FastEmitInst_() 294 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg) in FastEmitInst_r() 297 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II) in FastEmitInst_r() 299 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, in FastEmitInst_r() 314 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg) in FastEmitInst_rr() 318 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II) in FastEmitInst_rr() 321 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, in FastEmitInst_rr() 337 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II, ResultReg) in FastEmitInst_rrr() 342 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II) in FastEmitInst_rrr() 346 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, in FastEmitInst_rrr() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 97 explicit PPCFastISel(FunctionLoweringInfo &FuncInfo, in PPCFastISel() argument 99 : FastISel(FuncInfo, LibInfo), TM(FuncInfo.MF->getTarget()), in PPCFastISel() 100 PPCSubTarget(&FuncInfo.MF->getSubtarget<PPCSubtarget>()), in PPCFastISel() 101 PPCFuncInfo(FuncInfo.MF->getInfo<PPCFunctionInfo>()), in PPCFastISel() 104 Context(&FuncInfo.Fn->getContext()) {} in PPCFastISel() 313 return FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB; in isValueAvailable() 324 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) || in PPCComputeAddress() 325 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in PPCComputeAddress() 401 FuncInfo.StaticAllocaMap.find(AI); in PPCComputeAddress() 402 if (SI != FuncInfo.StaticAllocaMap.end()) { in PPCComputeAddress() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 97 explicit PPCFastISel(FunctionLoweringInfo &FuncInfo, in PPCFastISel() argument 99 : FastISel(FuncInfo, LibInfo), TM(FuncInfo.MF->getTarget()), in PPCFastISel() 100 PPCSubTarget(&FuncInfo.MF->getSubtarget<PPCSubtarget>()), in PPCFastISel() 101 PPCFuncInfo(FuncInfo.MF->getInfo<PPCFunctionInfo>()), in PPCFastISel() 104 Context(&FuncInfo.Fn->getContext()) {} in PPCFastISel() 316 return FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB; in isValueAvailable() 327 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) || in PPCComputeAddress() 328 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in PPCComputeAddress() 404 FuncInfo.StaticAllocaMap.find(AI); in PPCComputeAddress() 405 if (SI != FuncInfo.StaticAllocaMap.end()) { in PPCComputeAddress() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 130 static int addUnwindMapEntry(WinEHFuncInfo &FuncInfo, int ToState, in addUnwindMapEntry() argument 135 FuncInfo.CxxUnwindMap.push_back(UME); in addUnwindMapEntry() 136 return FuncInfo.getLastStateNumber(); in addUnwindMapEntry() 139 static void addTryBlockMapEntry(WinEHFuncInfo &FuncInfo, int TryLow, in addTryBlockMapEntry() argument 163 FuncInfo.TryBlockMap.push_back(TBME); in addTryBlockMapEntry() 174 WinEHFuncInfo &FuncInfo) { in calculateStateNumbersForInvokes() argument 202 auto BaseStateI = FuncInfo.FuncletBaseStateMap.find(FuncletPad); in calculateStateNumbersForInvokes() 203 if (BaseStateI != FuncInfo.FuncletBaseStateMap.end()) in calculateStateNumbersForInvokes() 208 FuncInfo.InvokeStateMap[II] = BaseState; in calculateStateNumbersForInvokes() 211 assert(FuncInfo.EHPadStateMap.count(PadInst) && "EH Pad has no state!"); in calculateStateNumbersForInvokes() [all …]
|
/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 121 static int addUnwindMapEntry(WinEHFuncInfo &FuncInfo, int ToState, in addUnwindMapEntry() argument 126 FuncInfo.CxxUnwindMap.push_back(UME); in addUnwindMapEntry() 127 return FuncInfo.getLastStateNumber(); in addUnwindMapEntry() 130 static void addTryBlockMapEntry(WinEHFuncInfo &FuncInfo, int TryLow, in addTryBlockMapEntry() argument 154 FuncInfo.TryBlockMap.push_back(TBME); in addTryBlockMapEntry() 165 WinEHFuncInfo &FuncInfo) { in calculateStateNumbersForInvokes() argument 193 auto BaseStateI = FuncInfo.FuncletBaseStateMap.find(FuncletPad); in calculateStateNumbersForInvokes() 194 if (BaseStateI != FuncInfo.FuncletBaseStateMap.end()) in calculateStateNumbersForInvokes() 199 FuncInfo.InvokeStateMap[II] = BaseState; in calculateStateNumbersForInvokes() 202 assert(FuncInfo.EHPadStateMap.count(PadInst) && "EH Pad has no state!"); in calculateStateNumbersForInvokes() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86FastISel.cpp | 225 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, in X86FastEmitLoad() 244 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, in X86FastEmitStore() 263 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, in X86FastEmitStore() 292 addFullAddress(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, in X86FastEmitStore() 332 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(V)) || in X86SelectAddress() 333 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in X86SelectAddress() 370 FuncInfo.StaticAllocaMap.find(A); in X86SelectAddress() 371 if (SI != FuncInfo.StaticAllocaMap.end()) { in X86SelectAddress() 422 FuncInfo.MBBMap[cast<Instruction>(Op)->getParent()] in X86SelectAddress() 423 == FuncInfo.MBB) && in X86SelectAddress() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 288 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, in fastEmitInst_r() 291 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_r() 293 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_r() 314 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rr() 318 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_rr() 321 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_rr() 340 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_ri() 344 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_ri() 347 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_ri() 368 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rri() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 485 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg); in X86FastEmitLoad() 488 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitLoad() 515 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in X86FastEmitStore() 662 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, Desc); in X86FastEmitStore() 665 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitStore() 698 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); in X86FastEmitStore() 702 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitStore() 759 AM.Base.Reg = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF); in handleConstantAddresses() 806 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), LoadReg); in handleConstantAddresses() 851 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(V)) || in X86SelectAddress() [all …]
|
D | X86WinEHState.cpp | 69 void addStateStores(Function &F, WinEHFuncInfo &FuncInfo); 80 WinEHFuncInfo &FuncInfo, BasicBlock *BB); 82 WinEHFuncInfo &FuncInfo, CallSite CS); 200 WinEHFuncInfo FuncInfo; in runOnFunction() local 201 addStateStores(F, FuncInfo); in runOnFunction() 520 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getBaseStateForBB() argument 529 auto BaseStateI = FuncInfo.FuncletBaseStateMap.find(FuncletPad); in getBaseStateForBB() 530 if (BaseStateI != FuncInfo.FuncletBaseStateMap.end()) in getBaseStateForBB() 539 DenseMap<BasicBlock *, ColorVector> &BlockColors, WinEHFuncInfo &FuncInfo, in getStateForCallSite() argument 543 assert(FuncInfo.InvokeStateMap.count(II) && "invoke has no state!"); in getStateForCallSite() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 314 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, in fastEmitInst_r() 317 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_r() 319 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_r() 340 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rr() 344 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_rr() 347 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_rr() 366 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_ri() 370 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in fastEmitInst_ri() 373 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in fastEmitInst_ri() 387 AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, in fastEmitInst_i() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 165 WebAssemblyFastISel(FunctionLoweringInfo &FuncInfo, in WebAssemblyFastISel() argument 167 : FastISel(FuncInfo, LibInfo, /*SkipTargetIndependentISel=*/true) { in WebAssemblyFastISel() 168 Subtarget = &FuncInfo.MF->getSubtarget<WebAssemblySubtarget>(); in WebAssemblyFastISel() 169 Context = &FuncInfo.Fn->getContext(); in WebAssemblyFastISel() 186 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) || in computeAddress() 187 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in computeAddress() 280 FuncInfo.StaticAllocaMap.find(AI); in computeAddress() 281 if (SI != FuncInfo.StaticAllocaMap.end()) { in computeAddress() 334 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), Reg) in materializeLoadStoreOperands() 403 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in zeroExtendToI32() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 490 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg); in X86FastEmitLoad() 493 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitLoad() 517 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in X86FastEmitStore() 641 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, Desc); in X86FastEmitStore() 644 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitStore() 675 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); in X86FastEmitStore() 679 MIB->addMemOperand(*FuncInfo.MF, MMO); in X86FastEmitStore() 732 AM.Base.Reg = getInstrInfo()->getGlobalBaseReg(FuncInfo.MF); in handleConstantAddresses() 779 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), LoadReg); in handleConstantAddresses() 824 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(V)) || in X86SelectAddress() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | WinException.cpp | 99 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); in beginFunction() local 102 emitEHRegistrationOffsetLabel(FuncInfo, FLinkageName); in beginFunction() 310 const WinEHFuncInfo &FuncInfo) { in getFrameIndexOffset() argument 326 assert(FuncInfo.EHRegNodeEndOffset != INT_MAX); in getFrameIndexOffset() 328 Offset += FuncInfo.EHRegNodeEndOffset; in getFrameIndexOffset() 525 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); in emitCSpecificHandlerTable() local 540 MCConstantExpr::create(FuncInfo.SEHSetFrameOffset, Ctx); in emitCSpecificHandlerTable() 573 InvokeStateChangeIterator::range(FuncInfo, MF->begin(), Stop)) { in emitCSpecificHandlerTable() 577 emitSEHActionsForRange(FuncInfo, LastStartLabel, in emitCSpecificHandlerTable() 586 void WinException::emitSEHActionsForRange(const WinEHFuncInfo &FuncInfo, in emitSEHActionsForRange() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 190 WebAssemblyFastISel(FunctionLoweringInfo &FuncInfo, in WebAssemblyFastISel() argument 192 : FastISel(FuncInfo, LibInfo, /*SkipTargetIndependentISel=*/true) { in WebAssemblyFastISel() 193 Subtarget = &FuncInfo.MF->getSubtarget<WebAssemblySubtarget>(); in WebAssemblyFastISel() 194 Context = &FuncInfo.Fn->getContext(); in WebAssemblyFastISel() 211 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) || in computeAddress() 212 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) { in computeAddress() 314 FuncInfo.StaticAllocaMap.find(AI); in computeAddress() 315 if (SI != FuncInfo.StaticAllocaMap.end()) { in computeAddress() 383 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), Reg) in materializeLoadStoreOperands() 459 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, in zeroExtendToI32() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | WinException.cpp | 302 const WinEHFuncInfo &FuncInfo) { in getFrameIndexOffset() argument 318 assert(FuncInfo.EHRegNodeEndOffset != INT_MAX); in getFrameIndexOffset() 320 Offset += FuncInfo.EHRegNodeEndOffset; in getFrameIndexOffset() 517 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); in emitCSpecificHandlerTable() local 532 MCConstantExpr::create(FuncInfo.SEHSetFrameOffset, Ctx); in emitCSpecificHandlerTable() 565 InvokeStateChangeIterator::range(FuncInfo, MF->begin(), Stop)) { in emitCSpecificHandlerTable() 569 emitSEHActionsForRange(FuncInfo, LastStartLabel, in emitCSpecificHandlerTable() 578 void WinException::emitSEHActionsForRange(const WinEHFuncInfo &FuncInfo, in emitSEHActionsForRange() argument 592 const SEHUnwindMapEntry &UME = FuncInfo.SEHUnwindMap[State]; in emitSEHActionsForRange() 625 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); in emitCXXFrameHandler3Table() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 293 explicit AArch64FastISel(FunctionLoweringInfo &FuncInfo, in AArch64FastISel() argument 295 : FastISel(FuncInfo, LibInfo, /*SkipTargetIndependentISel=*/true) { in AArch64FastISel() 297 &static_cast<const AArch64Subtarget &>(FuncInfo.MF->getSubtarget()); in AArch64FastISel() 298 Context = &FuncInfo.Fn->getContext(); in AArch64FastISel() 362 if (!FuncInfo.StaticAllocaMap.count(AI)) in fastMaterializeAlloca() 366 FuncInfo.StaticAllocaMap.find(AI); in fastMaterializeAlloca() 368 if (SI != FuncInfo.StaticAllocaMap.end()) { in fastMaterializeAlloca() 370 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(AArch64::ADDXri), in fastMaterializeAlloca() 393 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::COPY), in materializeInt() 426 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc1), TmpReg) in materializeFP() [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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibCalls.cpp | 67 typedef llvm::AMDGPULibFunc FuncInfo; typedef in llvm::AMDGPULibCalls 76 Constant *getFunction(Module *M, const FuncInfo& fInfo); 79 bool replaceWithNative(CallInst *CI, const FuncInfo &FInfo); 82 FuncInfo *FInfo=nullptr /*out*/); 84 bool TDOFold(CallInst *CI, const FuncInfo &FInfo); 89 bool fold_recip(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 92 bool fold_divide(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 95 bool fold_pow(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 98 bool fold_rootn(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 101 bool fold_fma_mad(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 347 FuncPGOInstrumentation<PGOEdge, BBInfo> FuncInfo(F, true, BPI, BFI); in instrumentOneFunc() local 348 for (auto &E : FuncInfo.MST.AllEdges) { in instrumentOneFunc() 355 for (auto &E : FuncInfo.MST.AllEdges) { in instrumentOneFunc() 356 BasicBlock *InstrBB = FuncInfo.getInstrBB(E.get()); in instrumentOneFunc() 365 {llvm::ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc() 366 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc() 384 {llvm::ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc() 385 Builder.getInt64(FuncInfo.FunctionHash), in instrumentOneFunc() 461 : F(Func), M(Modu), FuncInfo(Func, false, BPI, BFI), in PGOUseFunc() 489 FuncPGOInstrumentation<PGOUseEdge, UseBBInfo> FuncInfo; member in __anon10d6878d0211::PGOUseFunc [all …]
|