Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:CodeGenFunction

1 //===--- CodeGenFunction.cpp - Emit LLVM Code from ASTs for a Function ----===//
14 #include "CodeGenFunction.h"
40 CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext)
85 CodeGenFunction::~CodeGenFunction() {
99 CharUnits CodeGenFunction::getNaturalPointeeTypeAlignment(QualType T,
105 CharUnits CodeGenFunction::getNaturalTypeAlignment(QualType T,
145 LValue CodeGenFunction::MakeNaturalAlignAddrLValue(llvm::Value *V, QualType T) {
155 CodeGenFunction::MakeNaturalAlignPointeeAddrLValue(llvm::Value *V, QualType T) {
162 llvm::Type *CodeGenFunction::ConvertTypeForMem(QualType T) {
166 llvm::Type *CodeGenFunction::ConvertType(QualType T) {
170 TypeEvaluationKind CodeGenFunction::getEvaluationKind(QualType type) {
223 llvm::DebugLoc CodeGenFunction::EmitReturnBlock() {
267 static void EmitIfUsed(CodeGenFunction &CGF, llvm::BasicBlock *BB) {
274 void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
392 bool CodeGenFunction::ShouldInstrumentFunction() {
402 bool CodeGenFunction::ShouldXRayInstrumentFunction() const {
409 void CodeGenFunction::EmitFunctionInstrumentation(const char *Fn) {
431 void CodeGenFunction::EmitMCountInstrumentation() {
595 void CodeGenFunction::EmitOpenCLKernelMetadata(const FunctionDecl *FD,
653 void CodeGenFunction::StartFunction(GlobalDecl GD,
661 "Do not use a CodeGenFunction object for more than one function");
906 void CodeGenFunction::EmitFunctionBody(FunctionArgList &Args,
919 void CodeGenFunction::EmitBlockWithFallThrough(llvm::BasicBlock *BB,
953 QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD,
997 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
1093 bool CodeGenFunction::ContainsLabel(const Stmt *S, bool IgnoreCaseStmts) {
1125 bool CodeGenFunction::containsBreak(const Stmt *S) {
1150 bool CodeGenFunction::ConstantFoldsToSimpleInteger(const Expr *Cond,
1164 bool CodeGenFunction::ConstantFoldsToSimpleInteger(const Expr *Cond,
1173 if (!AllowLabels && CodeGenFunction::ContainsLabel(Cond))
1186 void CodeGenFunction::EmitBranchOnBoolExpr(const Expr *Cond,
1383 void CodeGenFunction::ErrorUnsupported(const Stmt *S, const char *Type) {
1394 static void emitNonZeroVLAInit(CodeGenFunction &CGF, QualType baseType,
1439 CodeGenFunction::EmitNullInitialization(Address DestPtr, QualType Ty) {
1514 llvm::BlockAddress *CodeGenFunction::GetAddrOfLabel(const LabelDecl *L) {
1526 llvm::BasicBlock *CodeGenFunction::GetIndirectGotoBlock() {
1543 llvm::Value *CodeGenFunction::emitArrayLength(const ArrayType *origArrayType,
1634 CodeGenFunction::getVLASize(QualType type) {
1641 CodeGenFunction::getVLASize(const VariableArrayType *type) {
1664 void CodeGenFunction::EmitVariablyModifiedType(QualType type) {
1807 Address CodeGenFunction::EmitVAListRef(const Expr* E) {
1813 Address CodeGenFunction::EmitMSVAListRef(const Expr *E) {
1817 void CodeGenFunction::EmitDeclRefExprDbgValue(const DeclRefExpr *E,
1825 CodeGenFunction::PeepholeProtection
1826 CodeGenFunction::protectFromPeepholes(RValue rvalue) {
1845 void CodeGenFunction::unprotectFromPeepholes(PeepholeProtection protection) {
1852 llvm::Value *CodeGenFunction::EmitAnnotationCall(llvm::Value *AnnotationFn,
1865 void CodeGenFunction::EmitVarAnnotations(const VarDecl *D, llvm::Value *V) {
1875 Address CodeGenFunction::EmitFieldAnnotations(const FieldDecl *D,
1896 CodeGenFunction::CGCapturedStmtInfo::~CGCapturedStmtInfo() { }
1898 CodeGenFunction::SanitizerScope::SanitizerScope(CodeGenFunction *CGF)
1904 CodeGenFunction::SanitizerScope::~SanitizerScope() {
1908 void CodeGenFunction::InsertHelper(llvm::Instruction *I,
1956 void CodeGenFunction::checkTargetFeatures(const CallExpr *E,
2002 void CodeGenFunction::EmitSanitizerStatReport(llvm::SanitizerStatKind SSK) {