• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/

Lines Matching refs:Slot

567                             WholeProgramDevirtResolution *Res, VTableSlot Slot);
581 std::string getGlobalName(VTableSlot Slot, ArrayRef<uint64_t> Args,
589 void exportGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name,
591 void exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name,
596 Constant *importGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
598 Constant *importConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
610 VTableSlot Slot, ArrayRef<uint64_t> Args);
616 WholeProgramDevirtResolution *Res, VTableSlot Slot);
620 // Apply the summary resolution for Slot to all virtual calls in SlotInfo.
621 void importResolution(VTableSlot Slot, VTableSlotInfo &SlotInfo);
1194 WholeProgramDevirtResolution *Res, VTableSlot Slot) {
1216 if (isa<MDString>(Slot.TypeID)) {
1219 getGlobalName(Slot, {}, "branch_funnel"), &M);
1383 std::string DevirtModule::getGlobalName(VTableSlot Slot,
1388 OS << cast<MDString>(Slot.TypeID)->getString() << '_' << Slot.ByteOffset;
1400 void DevirtModule::exportGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
1403 getGlobalName(Slot, Args, Name), C, &M);
1407 void DevirtModule::exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
1412 Slot, Args, Name,
1420 Constant *DevirtModule::importGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
1423 M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Arr0Ty);
1430 Constant *DevirtModule::importConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
1436 Constant *C = importGlobal(Slot, Args, Name);
1483 VTableSlot Slot, ArrayRef<uint64_t> Args) {
1504 exportGlobal(Slot, Args, "unique_member", UniqueMemberAddr);
1553 WholeProgramDevirtResolution *Res, VTableSlot Slot) {
1593 ResByArg, Slot, CSByConstantArg.first))
1636 exportConstant(Slot, CSByConstantArg.first, "byte", OffsetByte,
1638 exportConstant(Slot, CSByConstantArg.first, "bit", 1ULL << OffsetBit,
1867 void DevirtModule::importResolution(VTableSlot Slot, VTableSlotInfo &SlotInfo) {
1868 auto *TypeId = dyn_cast<MDString>(Slot.TypeID);
1875 auto ResI = TidSummary->WPDRes.find(Slot.ByteOffset);
1910 importGlobal(Slot, CSByConstantArg.first, "unique_member");
1916 Constant *Byte = importConstant(Slot, CSByConstantArg.first, "byte",
1918 Constant *Bit = importConstant(Slot, CSByConstantArg.first, "bit", Int8Ty,
1932 M.getOrInsertFunction(getGlobalName(Slot, {}, "branch_funnel"),