Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Variable

129 /// EmitVarDecl - This method handles emission of any variable declaration
136 // FIXME: We need to force the emission/use of a guard variable for
189 // Use the label if the variable is renamed with the asm-label extension.
271 /// non-trivial. If so, and the variable uses static initialization, we must
279 /// global variable that has already been created for it. If the initializer
293 // Since we have a static initializer, this global variable can't
345 // Check to see if we already have a global variable for this
394 // Emit global variable debug descriptor for static vars.
474 // Compute the address of the local variable, in case it's a
496 // Compute the address of the local variable, in case it's a byref
532 /// variable with lifetime.
614 // If we find an l-value to r-value cast from a __weak variable,
680 // We have to maintain the illusion that the variable is
681 // zero-initialized. If the variable might be accessed in its
754 // If the variable might have been accessed by its initializer, we
882 /// plus some stores to initialize a local variable instead of using a memcpy
902 /// variable declaration with auto, register, or no storage class specifier.
940 /// local variable. Does not emit initialization or destruction.
964 // TODO: We should constant-evaluate the initializer of any variable,
975 // If the variable's a const type, and it's neither an NRVO
976 // candidate nor a __block variable and has no mutable members,
992 // A normal fixed sized variable becomes an alloca in the entry block,
993 // unless it's an NRVO variable.
996 // The named return value optimization: allocate this variable in the
998 // variable (C++0x [class.copy]p34).
1004 // to this variable. Set it to zero to indicate that NRVO was not
1012 // Record the NRVO flag for this variable.
1102 /// Determines whether the given __block variable is potentially
1167 assert(emission.Variable && "emission was not valid!");
1172 const VarDecl &D = *emission.Variable;
1186 // Initialize the structure of a __block variable.
1193 // Check whether this is a byref variable that's potentially
1195 // emit the initializer first, then copy into the variable.
1263 /// Emit an expression as an initializer for a variable at the given
1265 /// initializer for the variable, and the address is not necessarily
1269 /// \param var the variable to act as if we're initializing
1271 /// to the LLVM mapping of the variable's type
1273 /// \param capturedByInit true if the variable is a __block variable
1312 /// Enter a destroy cleanup for the given local variable.
1322 const VarDecl *var = emission.Variable;
1330 llvm_unreachable("no cleanup for trivially-destructible variable");
1371 assert(emission.Variable && "emission was not valid!");
1380 const VarDecl &D = *emission.Variable;
1413 // If this is a block variable, call _Block_object_destroy