/external/clang/lib/CodeGen/ |
CGCUDARuntime.h | 33 class RValue; 43 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
|
CGAtomic.cpp | 186 RValue convertAtomicTempToRValue(Address addr, AggValueSlot resultSlot, 189 /// \brief Converts a rvalue to integer value. 190 llvm::Value *convertRValueToInt(RValue RVal) const; 192 RValue ConvertIntToValueOrAtomic(llvm::Value *IntVal, 197 void emitCopyIntoMemory(RValue rvalue) const; 212 RValue EmitAtomicLoad(AggValueSlot ResultSlot, SourceLocation Loc, 224 std::pair<RValue, llvm::Value *> EmitAtomicCompareExchange( 225 RValue Expected, RValue Desired [all...] |
CGCUDARuntime.cpp | 27 RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF, 54 return RValue::get(nullptr);
|
CGValue.h | 34 /// RValue - This trivial value class is used to represent the result of an 38 class RValue { 80 static RValue getIgnored() { 85 static RValue get(llvm::Value *V) { 86 RValue ER; 92 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) { 93 RValue ER; 100 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) { 106 static RValue getAggregate(Address addr, bool isVolatile = false) { 107 RValue ER [all...] |
CGCall.h | 46 RValue RV; 49 CallArg(RValue rv, QualType ty, bool needscopy) 81 void add(RValue rvalue, QualType type, bool needscopy = false) { 82 push_back(CallArg(rvalue, type, needscopy));
|
CGExprCXX.cpp | 48 Args.add(RValue::get(This), MD->getThisType(CGF.getContext())); 52 Args.add(RValue::get(ImplicitParam), ImplicitParamTy); 72 RValue CodeGenFunction::EmitCXXMemberOrOperatorCall( 85 RValue CodeGenFunction::EmitCXXStructorCall( 106 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, 132 RValue CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr( 177 if (isa<CXXDestructorDecl>(MD)) return RValue::get(nullptr); 180 return RValue::get(nullptr); 190 return RValue::get(This.getPointer()); 199 return RValue::get(This.getPointer()) [all...] |
CGObjC.cpp | 34 static RValue AdjustObjCObjectType(CodeGenFunction &CGF, 36 RValue Result); 89 Args.add(RValue::get(BitCast.getPointer()), ArgQT); 101 Args.add(RValue::get(Cast), EncodingQT); 106 RValue result = Runtime.GenerateMessageSend( 154 EmitStoreThroughLValue(RValue::get(value), LV, true); 165 EmitStoreThroughLValue(RValue::get(keyValue), KeyLV, /*isInit=*/true); 173 EmitStoreThroughLValue(RValue::get(valueValue), ValueLV, /*isInit=*/true); 186 Args.add(RValue::get(Objects.getPointer()), ArgQT); 190 Args.add(RValue::get(Keys.getPointer()), ArgQT) [all...] |
CodeGenFunction.h | 824 const RValue &rv) { 887 RValue rvalue) 888 : CGF(CGF), Data(OpaqueValueMappingData::bind(CGF, opaqueValue, rvalue)) { [all...] |
CGBuiltin.cpp | 136 static RValue EmitBinaryAtomic(CodeGenFunction &CGF, 139 return RValue::get(MakeBinaryAtomicValue(CGF, Kind, E)); 145 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF, 178 return RValue::get(Result); 261 static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *Fn, 410 RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD, 418 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), 421 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), 429 return RValue::get(CGM.EmitConstantExpr(E, E->getType(), nullptr)); 434 return RValue::get [all...] |
CGExprComplex.cpp | 230 RValue &Val); 316 /// EmitLoadOfLValue - Given an RValue reference for a complex, emit code to 348 return CGF.EmitAtomicStore(RValue::getComplex(Val), lvalue, isInit); 576 Args.add(RValue::get(Op.LHS.first), 578 Args.add(RValue::get(Op.LHS.second), 580 Args.add(RValue::get(Op.RHS.first), 582 Args.add(RValue::get(Op.RHS.second), 604 RValue Res = CGF.EmitCall(FuncInfo, Func, ReturnValueSlot(), Args, 825 RValue &Val) { [all...] |
CGCleanup.cpp | 27 bool DominatingValue<RValue>::saved_type::needsSaving(RValue rv) { 35 DominatingValue<RValue>::saved_type 36 DominatingValue<RValue>::saved_type::save(CodeGenFunction &CGF, RValue rv) { 46 CGF.CreateDefaultAlignTempAlloca(V->getType(), "saved-rvalue"); 73 CGF.CreateTempAlloca(V.getType(), CGF.getPointerAlign(), "saved-rvalue"); 82 RValue DominatingValue<RValue>::saved_type::restore(CodeGenFunction &CGF) { 89 return RValue::get(Value) [all...] |
CGExpr.cpp | 136 /// can have any type. The result is returned as an RValue struct. 139 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, 144 return RValue::get(EmitScalarExpr(E, ignoreResult)); 146 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult)); 158 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { 188 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); 459 RValue 476 return RValue::get(Value); [all...] |
CGExprAgg.cpp | 81 void EmitFinalDestCopy(QualType type, RValue src); 85 void EmitMoveFromReturnSlot(const Expr *E, RValue Src); 202 RValue Res = CGF.EmitAtomicExpr(E); 248 /// RValue Result = EmitSomething(..., getReturnValueSlot()); 254 void AggExprEmitter::EmitMoveFromReturnSlot(const Expr *E, RValue src) { 268 void AggExprEmitter::EmitFinalDestCopy(QualType type, RValue src) { 350 CGF.EmitStoreThroughLValue(RValue::get(ArrayStart), Start); 367 CGF.EmitStoreThroughLValue(RValue::get(ArrayEnd), EndOrLength); 370 CGF.EmitStoreThroughLValue(RValue::get(Size), EndOrLength); 682 RValue rvalue = RValue::getAggregate(valueAddr, atomicSlot.isVolatile()) local [all...] |
CGStmtOpenMP.cpp | 716 RValue::get(Size)); [all...] |
CGObjCRuntime.h | 161 virtual CodeGen::RValue 177 virtual CodeGen::RValue
|
CGVTables.cpp | 83 static RValue PerformReturnAdjustment(CodeGenFunction &CGF, 84 QualType ResultType, RValue RV, 124 return RValue::get(ReturnValue); 197 RValue RV = RValue::get(T->getOperand(0)); 283 CallArgs.add(RValue::get(AdjustedThisPtr), ThisType); 326 RValue RV = EmitCall(*CurFnInfo, Callee, Slot, CallArgs, MD, &CallOrInvoke); [all...] |
CGCall.cpp | 810 EmitStoreThroughLValue(RValue::get(*AI++), LV); 815 QualType Ty, RValue RV, llvm::FunctionType *IRFuncTy, 821 RValue EltRV = [all...] |
CGObjCGNU.cpp | 491 RValue 497 RValue [all...] |
CGClass.cpp | 760 RValue RHS = RValue::get(EmitScalarExpr(Init)); [all...] |
CGObjCMac.cpp | 1949 RValue rvalue = CGF.EmitCall(MSI.CallInfo, Fn, Return, ActualArgs, local [all...] |
CGCXXABI.cpp | 189 RValue RV, QualType ResultType) {
|
/external/clang/test/CXX/special/class.copy/ |
p11.0x.move.cpp | 133 // The restriction on rvalue reference members applies to only the copy 135 struct RValue { 137 RValue(RValue&&); 139 RValue::RValue(RValue&&) = default;
|
p11.0x.copy.cpp | 123 // -- a non-static data member of rvalue reference type 124 struct RValue { 125 int && ri = 1; // expected-note{{copy constructor of 'RValue' is implicitly deleted because field 'ri' is of rvalue reference type 'int &&'}} 128 RValue RVa; 129 RValue RVb(RVa); // expected-error{{call to implicitly-deleted copy constructor}}
|
/external/libcxx/test/std/utilities/function.objects/func.require/ |
bullet_1_and_2.pass.cpp | 132 // RValue - The method is RValue qualified. 133 // ArgRValue - Call the method with RValue arguments. 135 bool RValue = false, bool ArgRValue = false> 157 Bool<!RValue> NotRValue; 207 typedef Caster<Q_None, RValue> SCast; 220 template <class Sig, int Arity, class CV, bool RValue = false> 221 struct TestCase11 : public TestCaseImp<MemFun11, Sig, Arity, CV, RValue, true> {}; 285 TestCase11<R() &&, 0, Q_None, /* RValue */ true>::run(); 286 TestCase11<R() const &&, 0, Q_Const, /* RValue */ true>::run() [all...] |
invoke_helpers.h | 39 // RValue - True if the resulting object should be an RValue reference. 41 template <class QualTag, bool RValue = false> 48 typedef typename std::conditional<RValue,
|