Lines Matching refs:CodeGenFunction

1 //===--- CodeGenFunction.cpp - Emit LLVM Code from ASTs for a Function ----===//
14 #include "CodeGenFunction.h"
35 CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext)
66 CodeGenFunction::~CodeGenFunction() {
77 llvm::Type *CodeGenFunction::ConvertTypeForMem(QualType T) {
81 llvm::Type *CodeGenFunction::ConvertType(QualType T) {
85 TypeEvaluationKind CodeGenFunction::getEvaluationKind(QualType type) {
137 void CodeGenFunction::EmitReturnBlock() {
182 static void EmitIfUsed(CodeGenFunction &CGF, llvm::BasicBlock *BB) {
189 void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
282 bool CodeGenFunction::ShouldInstrumentFunction() {
293 void CodeGenFunction::EmitFunctionInstrumentation(const char *Fn) {
314 void CodeGenFunction::EmitMCountInstrumentation() {
426 void CodeGenFunction::EmitOpenCLKernelMetadata(const FunctionDecl *FD,
486 void CodeGenFunction::StartFunction(GlobalDecl GD,
646 void CodeGenFunction::EmitFunctionBody(FunctionArgList &Args,
674 static void EmitSizedDeallocationFunction(CodeGenFunction &CGF,
685 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
779 bool CodeGenFunction::ContainsLabel(const Stmt *S, bool IgnoreCaseStmts) {
811 bool CodeGenFunction::containsBreak(const Stmt *S) {
836 bool CodeGenFunction::ConstantFoldsToSimpleInteger(const Expr *Cond,
849 bool CodeGenFunction::
857 if (CodeGenFunction::ContainsLabel(Cond))
870 void CodeGenFunction::EmitBranchOnBoolExpr(const Expr *Cond,
990 void CodeGenFunction::ErrorUnsupported(const Stmt *S, const char *Type) {
1001 static void emitNonZeroVLAInit(CodeGenFunction &CGF, QualType baseType,
1045 CodeGenFunction::EmitNullInitialization(llvm::Value *DestPtr, QualType Ty) {
1125 llvm::BlockAddress *CodeGenFunction::GetAddrOfLabel(const LabelDecl *L) {
1137 llvm::BasicBlock *CodeGenFunction::GetIndirectGotoBlock() {
1154 llvm::Value *CodeGenFunction::emitArrayLength(const ArrayType *origArrayType,
1245 CodeGenFunction::getVLASize(QualType type) {
1252 CodeGenFunction::getVLASize(const VariableArrayType *type) {
1275 void CodeGenFunction::EmitVariablyModifiedType(QualType type) {
1409 llvm::Value* CodeGenFunction::EmitVAListRef(const Expr* E) {
1415 void CodeGenFunction::EmitDeclRefExprDbgValue(const DeclRefExpr *E,
1423 CodeGenFunction::PeepholeProtection
1424 CodeGenFunction::protectFromPeepholes(RValue rvalue) {
1443 void CodeGenFunction::unprotectFromPeepholes(PeepholeProtection protection) {
1450 llvm::Value *CodeGenFunction::EmitAnnotationCall(llvm::Value *AnnotationFn,
1463 void CodeGenFunction::EmitVarAnnotations(const VarDecl *D, llvm::Value *V) {
1475 llvm::Value *CodeGenFunction::EmitFieldAnnotations(const FieldDecl *D,
1497 CodeGenFunction::CGCapturedStmtInfo::~CGCapturedStmtInfo() { }