reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  274   while (index != 0) {
  275     if (Entries[index - 1].End <= begin) break;
  276     --index;
  281   if (Entries[index].Begin >= end) {
  285     Entries.insert(Entries.begin() + index, {begin, end, type});
  294   if (Entries[index].Begin == begin && Entries[index].End == end) {
  294   if (Entries[index].Begin == begin && Entries[index].End == end) {
  296     if (Entries[index].Type == type) return;
  299     if (Entries[index].Type == nullptr) {
  302       Entries[index].Type = nullptr;
  308     if (auto entryType = getCommonType(Entries[index].Type, type)) {
  309       Entries[index].Type = entryType;
  314     Entries[index].Type = nullptr;
  334   if (Entries[index].Type && Entries[index].Type->isVectorTy()) {
  334   if (Entries[index].Type && Entries[index].Type->isVectorTy()) {
  335     splitVectorEntry(index);
  341   Entries[index].Type = nullptr;
  344   if (begin < Entries[index].Begin) {
  345     Entries[index].Begin = begin;
  346     assert(index == 0 || begin >= Entries[index - 1].End);
  346     assert(index == 0 || begin >= Entries[index - 1].End);
  351   while (end > Entries[index].End) {
  352     assert(Entries[index].Type == nullptr);
  355     if (index == Entries.size() - 1 || end <= Entries[index + 1].Begin) {
  355     if (index == Entries.size() - 1 || end <= Entries[index + 1].Begin) {
  356       Entries[index].End = end;
  361     Entries[index].End = Entries[index + 1].Begin;
  361     Entries[index].End = Entries[index + 1].Begin;
  364     index++;
  367     if (Entries[index].Type == nullptr)
  371     if (Entries[index].Type->isVectorTy() &&
  372         end < Entries[index].End) {
  373       splitVectorEntry(index);
  377     Entries[index].Type = nullptr;