LLVM 20.0.0git
PPCCCState.cpp
Go to the documentation of this file.
1//===---- PPCCCState.cpp - CCState with PowerPC specific extensions ---------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#include "PPCCCState.h"
10using namespace llvm;
11
12// Identify lowered values that originated from ppcf128 arguments and record
13// this.
16 for (const auto &I : Outs) {
17 if (I.ArgVT == llvm::MVT::ppcf128)
18 OriginalArgWasPPCF128.push_back(true);
19 else
20 OriginalArgWasPPCF128.push_back(false);
21 }
22}
23
26 for (const auto &I : Ins) {
27 if (I.ArgVT == llvm::MVT::ppcf128) {
28 OriginalArgWasPPCF128.push_back(true);
29 } else {
30 OriginalArgWasPPCF128.push_back(false);
31 }
32 }
33}
#define I(x, y, z)
Definition: MD5.cpp:58
void PreAnalyzeFormalArguments(const SmallVectorImpl< ISD::InputArg > &Ins)
Definition: PPCCCState.cpp:24
void PreAnalyzeCallOperands(const SmallVectorImpl< ISD::OutputArg > &Outs)
Definition: PPCCCState.cpp:14
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Definition: SmallVector.h:573
void push_back(const T &Elt)
Definition: SmallVector.h:413
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18