Lines Matching full:variable
124 /// EmitVarDecl - This method handles emission of any variable declaration
131 // FIXME: We need to force the emission/use of a guard variable for
182 // Use the label if the variable is renamed with the asm-label extension.
222 /// non-trivial. If so, and the variable uses static initialization, we must
230 /// global variable that has already been created for it. If the initializer
244 // Since we have a static initializer, this global variable can't
298 // Check to see if we already have a global variable for this
350 // Emit global variable debug descriptor for static vars.
429 // Compute the address of the local variable, in case it's a
451 // Compute the address of the local variable, in case it's a byref
490 /// variable with lifetime.
589 // We have to maintain the illusion that the variable is
590 // zero-initialized. If the variable might be accessed in its
659 // If the variable might have been accessed by its initializer, we
785 /// plus some stores to initialize a local variable instead of using a memcpy
804 /// Should we use the LLVM lifetime intrinsics for the given local variable?
820 /// variable declaration with auto, register, or no storage class specifier.
829 /// local variable. Does not emit initialization or destruction.
854 // TODO: We should constant-evaluate the initializer of any variable,
865 // If the variable's a const type, and it's neither an NRVO
866 // candidate nor a __block variable and has no mutable members,
881 // A normal fixed sized variable becomes an alloca in the entry block,
882 // unless it's an NRVO variable.
886 // The named return value optimization: allocate this variable in the
888 // variable (C++0x [class.copy]p34).
894 // to this variable. Set it to zero to indicate that NRVO was not
901 // Record the NRVO flag for this variable.
987 /// Determines whether the given __block variable is potentially
1052 assert(emission.Variable && "emission was not valid!");
1057 const VarDecl &D = *emission.Variable;
1070 // Initialize the structure of a __block variable.
1079 // Check whether this is a byref variable that's potentially
1081 // emit the initializer first, then copy into the variable.
1149 /// Emit an expression as an initializer for a variable at the given
1151 /// initializer for the variable, and the address is not necessarily
1155 /// \param var the variable to act as if we're initializing
1157 /// to the LLVM mapping of the variable's type
1159 /// \param capturedByInit true if the variable is a __block variable
1200 /// Enter a destroy cleanup for the given local variable.
1210 const VarDecl *var = emission.Variable;
1218 llvm_unreachable("no cleanup for trivially-destructible variable");
1259 assert(emission.Variable && "emission was not valid!");
1268 const VarDecl &D = *emission.Variable;
1299 // If this is a block variable, call _Block_object_destroy