HomeSort by relevance Sort by last modified time
    Searched refs:RValue (Results 1 - 25 of 33) sorted by null

1 2

  /external/clang/lib/CodeGen/
CGCUDARuntime.h 29 class RValue;
39 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
CGAtomic.cpp 107 RValue convertTempToRValue(llvm::Value *addr,
111 void emitCopyIntoMemory(RValue rvalue, LValue lvalue) const;
124 llvm::Value *materializeRValue(RValue rvalue) const;
131 static RValue emitAtomicLibcall(CodeGenFunction &CGF,
320 RValue CodeGenFunction::EmitAtomicExpr(AtomicExpr *E, llvm::Value *Dest) {
341 return RValue::get(0);
431 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)),
434 Args.add(RValue::get(EmitCastToVoidPtr(Ptr))
    [all...]
CGCUDARuntime.cpp 27 RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
54 return RValue::get(0);
CGValue.h 33 /// RValue - This trivial value class is used to represent the result of an
37 class RValue {
70 static RValue get(llvm::Value *V) {
71 RValue ER;
77 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) {
78 RValue ER;
85 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) {
91 static RValue getAggregate(llvm::Value *V, bool Volatile = false) {
92 RValue ER;
324 RValue asAggregateRValue() const
    [all...]
CGBuiltin.cpp 79 static RValue EmitBinaryAtomic(CodeGenFunction &CGF,
106 return RValue::get(Result);
112 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF,
141 return RValue::get(Result);
166 static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *Fn,
196 RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD,
203 return RValue::get(llvm::ConstantInt::get(getLLVMContext(),
206 return RValue::get(llvm::ConstantFP::get(getLLVMContext(),
214 return RValue::get(CGM.EmitConstantExpr(E, E->getType(), 0));
226 return RValue::get(Builder.CreateCall(CGM.getIntrinsic(inst), ArgValue))
    [all...]
CodeGenFunction.h     [all...]
CGExprCXX.cpp 26 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD,
48 Args.add(RValue::get(This), MD->getThisType(getContext()));
52 Args.add(RValue::get(ImplicitParam), ImplicitParamTy);
168 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE,
238 if (isa<CXXDestructorDecl>(MD)) return RValue::get(0);
241 return RValue::get(0);
248 return RValue::get(This);
257 return RValue::get(This);
328 RValue
368 Args.add(RValue::get(This), ThisType)
    [all...]
CGObjC.cpp 32 static RValue AdjustRelatedResultType(CodeGenFunction &CGF,
35 RValue Result);
77 RValue RV = EmitAnyExpr(SubExpr);
81 RValue result = Runtime.GenerateMessageSend(*this, ReturnValueSlot(),
146 Args.add(RValue::get(Objects), ArgQT);
150 Args.add(RValue::get(Keys), ArgQT);
156 Args.add(RValue::get(Count), ArgQT);
169 RValue result
204 static RValue AdjustRelatedResultType(CodeGenFunction &CGF,
207 RValue Result)
    [all...]
CGCall.h 45 RValue RV;
48 CallArg(RValue rv, QualType ty, bool needscopy)
69 void add(RValue rvalue, QualType type, bool needscopy = false) {
70 push_back(CallArg(rvalue, type, needscopy));
CGCleanup.cpp 26 bool DominatingValue<RValue>::saved_type::needsSaving(RValue rv) {
34 DominatingValue<RValue>::saved_type
35 DominatingValue<RValue>::saved_type::save(CodeGenFunction &CGF, RValue rv) {
44 llvm::Value *addr = CGF.CreateTempAlloca(V->getType(), "saved-rvalue");
65 llvm::Value *addr = CGF.CreateTempAlloca(V->getType(), "saved-rvalue");
73 RValue DominatingValue<RValue>::saved_type::restore(CodeGenFunction &CGF) {
76 return RValue::get(Value)
    [all...]
CGExpr.cpp 111 /// can have any type. The result is returned as an RValue struct.
114 RValue CodeGenFunction::EmitAnyExpr(const Expr *E,
119 return RValue::get(EmitScalarExpr(E, ignoreResult));
121 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult));
133 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) {
165 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false));
229 RValue RV;
394 RValue
414 return RValue::get(Value)
    [all...]
CGCXXABI.h 221 virtual RValue EmitVirtualDestructorCall(CodeGenFunction &CGF,
229 RValue RV, QualType ResultType);
CGObjCRuntime.h 152 virtual CodeGen::RValue
168 virtual CodeGen::RValue
CGExprAgg.cpp 87 void EmitFinalDestCopy(QualType type, RValue src,
92 void EmitMoveFromReturnSlot(const Expr *E, RValue Src);
276 /// RValue Result = EmitSomething(..., getReturnValueSlot());
282 void AggExprEmitter::EmitMoveFromReturnSlot(const Expr *E, RValue src) {
298 void AggExprEmitter::EmitFinalDestCopy(QualType type, RValue src,
405 CGF.EmitStoreThroughLValue(RValue::get(arrayStart), start);
416 CGF.EmitStoreThroughLValue(RValue::get(arrayEnd), endOrLength);
419 CGF.EmitStoreThroughLValue(RValue::get(Builder.getInt(size)), endOrLength);
712 RValue rvalue = RValue::getAggregate(valueAddr, atomicSlot.isVolatile()) local
    [all...]
CGCall.cpp 602 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy));
604 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy));
606 EmitStoreThroughLValue(RValue::get(AI), LV);
    [all...]
CGVTables.cpp 156 static RValue PerformReturnAdjustment(CodeGenFunction &CGF,
157 QualType ResultType, RValue RV,
196 return RValue::get(ReturnValue);
274 RValue RV = RValue::get(T->getOperand(0));
329 CallArgs.add(RValue::get(AdjustedThisPtr), ThisType);
368 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD);
    [all...]
MicrosoftCXXABI.cpp 66 RValue EmitVirtualDestructorCall(CodeGenFunction &CGF,
264 RValue MicrosoftCXXABI::EmitVirtualDestructorCall(CodeGenFunction &CGF,
ItaniumCXXABI.cpp 123 RValue EmitVirtualDestructorCall(CodeGenFunction &CGF,
169 void EmitReturnFromThunk(CodeGenFunction &CGF, RValue RV, QualType ResTy);
    [all...]
CGObjCGNU.cpp 482 virtual RValue
491 virtual RValue
    [all...]
CGStmt.cpp 193 RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast,
204 RValue CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S, bool GetLast,
211 RValue RV;
213 RV = RValue::get(0);
738 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) {
791 RValue Result = EmitReferenceBindingToExpr(RV, /*InitializedDecl=*/0);
    [all...]
CGClass.cpp 612 RValue RHS = RValue::get(EmitScalarExpr(Init));
    [all...]
CGObjCMac.cpp 1916 RValue rvalue = CGF.EmitCall(MSI.CallInfo, Fn, Return, ActualArgs); local
    [all...]
CGCXXABI.cpp 143 RValue RV, QualType ResultType) {
  /external/clang/test/CXX/special/class.copy/
p11.0x.move.cpp 108 // The restriction on rvalue reference members applies to only the copy
110 struct RValue {
112 RValue(RValue&&);
114 RValue::RValue(RValue&&) = default;
p11.0x.copy.cpp 116 // -- a non-static data member of rvalue reference type
117 struct RValue {
118 int && ri = 1; // expected-note{{copy constructor of 'RValue' is implicitly deleted because field 'ri' is of rvalue reference type 'int &&'}}
120 RValue RVa;
121 RValue RVb(RVa); // expected-error{{call to implicitly-deleted copy constructor}}

Completed in 998 milliseconds

1 2