clang API Documentation
#include "CodeGenFunction.h"
#include "CodeGenModule.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/StmtVisitor.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/IR/Metadata.h"
#include <algorithm>
Go to the source code of this file.
Typedefs | |
typedef CodeGenFunction::ComplexPairTy | ComplexPairTy |
typedef ComplexPairTy(ComplexExprEmitter::* | CompoundFunc )(const ComplexExprEmitter::BinOpInfo &) |
Functions | |
static const ComplexType * | getComplexType (QualType type) |
Return the complex type that we are meant to emit. | |
static StringRef | getComplexMultiplyLibCallName (llvm::Type *Ty) |
Lookup the libcall name for a given floating point type complex multiply. | |
static CompoundFunc | getComplexOp (BinaryOperatorKind Op) |
Definition at line 33 of file CGExprComplex.cpp.
typedef ComplexPairTy(ComplexExprEmitter::* CompoundFunc)(const ComplexExprEmitter::BinOpInfo &) |
Definition at line 1058 of file CGExprComplex.cpp.
static StringRef getComplexMultiplyLibCallName | ( | llvm::Type * | Ty | ) | [static] |
Lookup the libcall name for a given floating point type complex multiply.
Definition at line 596 of file CGExprComplex.cpp.
static CompoundFunc getComplexOp | ( | BinaryOperatorKind | Op | ) | [static] |
Definition at line 1061 of file CGExprComplex.cpp.
References clang::BO_AddAssign, clang::BO_DivAssign, clang::BO_MulAssign, and clang::BO_SubAssign.
Referenced by clang::CodeGen::CodeGenFunction::EmitComplexCompoundAssignmentLValue(), and clang::CodeGen::CodeGenFunction::EmitScalarCompooundAssignWithComplex().
static const ComplexType* getComplexType | ( | QualType | type | ) | [static] |
Return the complex type that we are meant to emit.
Definition at line 36 of file CGExprComplex.cpp.
References clang::QualType::getCanonicalType(), and clang::ast_matchers::type.
Referenced by clang::CodeGen::CodeGenFunction::EmitComplexExpr(), and clang::CodeGen::CodeGenFunction::EmitComplexExprIntoLValue().