/external/clang/test/Parser/ |
cxx-reference.cpp | 21 typedef int && RV; // expected-warning {{rvalue references are a C++11 extension}}
|
/external/clang/test/SemaCXX/ |
decl-init-ref.cpp | 21 const int& ri = (void)0; // expected-error {{reference to type 'const int' could not bind to an rvalue of type 'void'}}
|
flexible-array-test.cpp | 23 // cannot initialize a parameter of type 'void *' with an rvalue of type 'char (*)[]'
|
block-call.cpp | 38 int (^y)() = 3; // expected-error {{cannot initialize a variable of type 'int (^)()' with an rvalue of type 'int'}} 40 int (^z)() = a+4; // expected-error {{cannot initialize a variable of type 'int (^)()' with an rvalue of type 'int'}}
|
expression-traits.cpp | 29 // basic.lval/1 Every expression is either an lvalue or an rvalue. 49 static_assert(__is_rvalue_expr(expr), "should be an rvalue"); \ 53 static_assert(!__is_lvalue_expr(expr), "should be an rvalue"); \ 67 // a reference is an rvalue. 79 // from a cast to a nonreference type is an rvalue (this includes 132 // expression (5.19) rvalue of integer type that evaluates to 161 // expression is an rvalue. 331 // being the value of t as an rvalue. 340 // rvalue of the specified type, 387 // operator... The result is an rvalue [all...] |
rval-references.cpp | 31 int &&virr3 = virr2; // expected-error {{rvalue reference to type 'int' cannot bind to lvalue of type 'int'}} 33 int &&virr4 = i1; // expected-error {{rvalue reference to type 'int' cannot bind to lvalue of type 'int'}} 59 } catch(int&&) { // expected-error {{cannot catch exceptions by rvalue reference}}
|
const-cast.cpp | 51 // Rvalue to reference. 52 char ***&var4 = const_cast<cpppr>(&var2); // expected-error {{const_cast from rvalue to reference type 'cpppr'}}
|
/external/clang/test/SemaTemplate/ |
instantiate-function-2.cpp | 27 T *x = 1; // expected-error{{cannot initialize a variable of type 'int *' with an rvalue of type 'int'}}
|
instantiate-member-initializers.cpp | 4 A() : a(1) { } // expected-error{{cannot initialize a member subobject of type 'void *' with an rvalue of type 'int'}}
|
instantiate-try-catch.cpp | 6 } catch (T&&) { // expected-error 2{{cannot catch exceptions by rvalue reference}}
|
address-spaces.cpp | 53 T *x = 1; // expected-error{{cannot initialize a variable of type '__attribute__((address_space(1))) int *' with an rvalue of type 'int'}} \ 54 // expected-error{{cannot initialize a variable of type '__attribute__((address_space(3))) int *' with an rvalue of type 'int'}}
|
/external/libffi/man/ |
ffi.3 | 22 .Fa "void *rvalue"
|
/external/clang/lib/CodeGen/ |
CGCUDARuntime.h | 29 class RValue; 39 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
|
CGCall.h | 48 RValue RV; 51 CallArg(RValue rv, QualType ty, bool needscopy) 72 void add(RValue rvalue, QualType type, bool needscopy = false) { 73 push_back(CallArg(rvalue, type, needscopy));
|
CGCUDARuntime.cpp | 27 RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF, 54 return RValue::get(0);
|
CGValue.h | 32 /// RValue - This trivial value class is used to represent the result of an 36 class RValue { 69 static RValue get(llvm::Value *V) { 70 RValue ER; 76 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) { 77 RValue ER; 84 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) { 90 static RValue getAggregate(llvm::Value *V, bool Volatile = false) { 91 RValue ER; 452 RValue asRValue() const [all...] |
CGBuiltin.cpp | 80 static RValue EmitBinaryAtomic(CodeGenFunction &CGF, 108 return RValue::get(Result); 114 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF, 144 return RValue::get(Result); 169 static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *Fn, 175 RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD, 182 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), 185 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), 193 return RValue::get(CGM.EmitConstantExpr(E, E->getType(), 0)); 205 return RValue::get(Builder.CreateCall(CGM.getIntrinsic(inst), ArgValue)) [all...] |
/external/libffi/src/alpha/ |
ffi.c | 79 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) 87 if (rvalue == NULL && cif->flags == FFI_TYPE_STRUCT) 88 rvalue = alloca(cif->rtype->size); 95 *(void **) argp++ = rvalue; 168 ffi_call_osf(stack, cif->bytes, cif->flags, rvalue, fn); 205 ffi_closure_osf_inner(ffi_closure *closure, void *rvalue, unsigned long *argp) 221 rvalue = (void *) argp[0]; 280 closure->fun (cif, rvalue, avalue, closure->user_data);
|
/external/mesa3d/src/glsl/ |
ir_rvalue_visitor.h | 30 * a pointer to each rvalue in the tree. 46 virtual void handle_rvalue(ir_rvalue **rvalue) = 0;
|
lower_vector.cpp | 41 void handle_rvalue(ir_rvalue **rvalue); 116 lower_vector_visitor::handle_rvalue(ir_rvalue **rvalue) 118 if (!*rvalue) 121 ir_expression *expr = (*rvalue)->as_expression(); 211 *rvalue = new(mem_ctx) ir_dereference_variable(temp);
|
opt_tree_grafting.cpp | 79 bool do_graft(ir_rvalue **rvalue); 115 ir_tree_grafting_visitor::do_graft(ir_rvalue **rvalue) 117 if (!*rvalue) 120 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); 130 (*rvalue)->print(); 135 *rvalue = this->graft_assign->rhs;
|
/external/libffi/src/frv/ |
ffi.c | 134 void *rvalue, 145 if ((rvalue == NULL) && 148 ecif.rvalue = alloca(cif->rtype->size); 151 ecif.rvalue = rvalue; 158 cif->flags, ecif.rvalue, fn); 237 long long rvalue; local 238 (closure->fun) (cif, &rvalue, avalue, closure->user_data); 243 asm ("ldi @(%0, #0), gr8" : : "r" (&rvalue)); 244 asm ("ldi @(%0, #0), gr9" : : "r" (&((int *) &rvalue)[1])) [all...] |
/external/libffi/src/sh/ |
ffi.c | 129 *(void **) argp = ecif->rvalue; 412 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) 425 ecif.rvalue = &trvalue; 426 else if ((rvalue == NULL) && 429 ecif.rvalue = alloca(cif->rtype->size); 432 ecif.rvalue = rvalue; 437 ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue, 445 if (rvalue 448 memcpy (rvalue, &trvalue, cif->rtype->size) [all...] |
/external/libffi/src/sh64/ |
ffi.c | 73 *(void **) argp = ecif->rvalue; 249 /*@out@*/ void *rvalue, 263 ecif.rvalue = &trvalue; 264 else if ((rvalue == NULL) && 268 ecif.rvalue = alloca(cif->rtype->size); 272 ecif.rvalue = rvalue; 279 cif->flags, cif->flags2, ecif.rvalue, fn); 287 if (rvalue 290 memcpy (rvalue, &trvalue, cif->rtype->size) [all...] |
/external/libffi/src/mips/ |
ffi.c | 95 *(ffi_arg *) argp = (ffi_arg) ecif->rvalue; 504 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) 514 if ((rvalue == NULL) && 516 ecif.rvalue = alloca(cif->rtype->size); 518 ecif.rvalue = rvalue; 526 cif->flags, ecif.rvalue, fn); 535 void *rvalue_copy = ecif.rvalue; 547 memcpy(ecif.rvalue, rvalue_copy, cif->rtype->size); 645 * RVALUE is the location where the function return value will b [all...] |