clang
3.7.0
|
#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. More... | |
static StringRef | getComplexMultiplyLibCallName (llvm::Type *Ty) |
Lookup the libcall name for a given floating point type complex multiply. More... | |
static CompoundFunc | getComplexOp (BinaryOperatorKind Op) |
Definition at line 33 of file CGExprComplex.cpp.
typedef ComplexPairTy(ComplexExprEmitter::* CompoundFunc)(const ComplexExprEmitter::BinOpInfo &) |
Definition at line 1071 of file CGExprComplex.cpp.
|
static |
Lookup the libcall name for a given floating point type complex multiply.
Definition at line 606 of file CGExprComplex.cpp.
|
static |
Definition at line 1074 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::EmitScalarCompoundAssignWithComplex().
|
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().