Home
last modified time | relevance | path

Searched refs:LValue (Results 1 – 25 of 64) sorted by relevance

123

/external/clang/lib/CodeGen/
DCodeGenFunction.h841 const LValue &lv) { in bind()
906 LValue lvalue) in OpaqueValueMapping()
1017 llvm::DenseMap<const OpaqueValueExpr *, LValue> OpaqueLValues;
1437 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init,
1654 LValue MakeAddrLValue(Address Addr, QualType T,
1656 return LValue::MakeAddr(Addr, T, getContext(), AlignSource,
1660 LValue MakeAddrLValue(llvm::Value *V, QualType T, CharUnits Alignment,
1662 return LValue::MakeAddr(Address(V, Alignment), T, getContext(),
1666 LValue MakeNaturalAlignPointeeAddrLValue(llvm::Value *V, QualType T);
1667 LValue MakeNaturalAlignAddrLValue(llvm::Value *V, QualType T);
[all …]
DCGExpr.cpp190 LValue LV = MakeAddrLValue(Location, E->getType()); in EmitAnyExprToMem()
350 LValue CodeGenFunction::
377 LValue RefTempDst = MakeAddrLValue(Object, M->getType(), in EmitMaterializeTemporaryExpr()
463 LValue LV = MakeAddrLValue(Object, E->getType(), in EmitMaterializeTemporaryExpr()
487 LValue LV = EmitLValue(E); in EmitReferenceBindingToExpr()
772 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, in EmitComplexPrePostIncDec()
890 LValue LV = EmitLValue(UO->getSubExpr()); in EmitPointerWithAlignment()
935 LValue CodeGenFunction::EmitUnsupportedLValue(const Expr *E, in EmitUnsupportedLValue()
943 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue()
944 LValue LV; in EmitCheckedLValue()
[all …]
DCGValue.h152 class LValue {
371 static LValue MakeAddr(Address address, QualType type,
378 LValue R;
386 static LValue MakeVectorElt(Address vecAddress, llvm::Value *Idx, in MakeVectorElt()
388 LValue R; in MakeVectorElt()
397 static LValue MakeExtVectorElt(Address vecAddress, llvm::Constant *Elts, in MakeExtVectorElt()
399 LValue R; in MakeExtVectorElt()
414 static LValue MakeBitfield(Address Addr, in MakeBitfield()
418 LValue R; in MakeBitfield()
426 static LValue MakeGlobalReg(Address Reg, QualType type) { in MakeGlobalReg()
[all …]
DCGExprAgg.cpp80 void EmitFinalDestCopy(QualType type, const LValue &src);
189 LValue LV = CGF.EmitPseudoObjectLValue(E); in VisitPseudoObjectExpr()
198 void EmitInitializationToLValue(Expr *E, LValue Address);
199 void EmitNullInitializationToLValue(LValue Address);
217 LValue LV = CGF.EmitLValue(E); in EmitAggLoadOfLValue()
271 LValue srcLV = CGF.MakeAddrLValue(src.getAggregateAddress(), type); in EmitFinalDestCopy()
276 void AggExprEmitter::EmitFinalDestCopy(QualType type, const LValue &src) { in EmitFinalDestCopy()
320 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr()
345 LValue DestLV = CGF.MakeAddrLValue(Dest.getAddress(), E->getType()); in VisitCXXStdInitializerListExpr()
346 LValue Start = CGF.EmitLValueForFieldInitialization(DestLV, *Field); in VisitCXXStdInitializerListExpr()
[all …]
DCGAtomic.cpp40 LValue LVal;
43 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) in AtomicInfo()
97 LVal = LValue::MakeBitfield(Address(Addr, lvalue.getAlignment()), in AtomicInfo()
140 const LValue &getAtomicLValue() const { return LVal; } in getAtomicLValue()
200 LValue projectValue() const { in projectValue()
206 return LValue::MakeAddr(addr, getValueType(), CGF.getContext(), in projectValue()
681 LValue lvalue = MakeAddrLValue(Ptr, AtomicTy); in EmitAtomicExpr()
769 LValue AtomicVal = MakeAddrLValue(Ptr, AtomicTy); in EmitAtomicExpr()
1183 LValue::MakeBitfield(addr, LVal.getBitFieldInfo(), LVal.getType(), in convertAtomicTempToRValue()
1187 LValue::MakeVectorElt(addr, LVal.getVectorIdx(), LVal.getType(), in convertAtomicTempToRValue()
[all …]
DCGExprComplex.cpp80 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc);
84 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit);
167 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec()
227 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E,
275 LValue EmitBinAssignLValue(const BinaryOperator *E,
318 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue, in EmitLoadOfLValue()
344 void ComplexExprEmitter::EmitStoreOfComplex(ComplexPairTy Val, LValue lvalue, in EmitStoreOfComplex()
438 LValue origLV = CGF.EmitLValue(Op); in EmitCast()
823 LValue ComplexExprEmitter::
853 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue()
[all …]
DTargetInfo.h134 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, in addReturnRegisterOutputs()
137 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, in addReturnRegisterOutputs()
DCGStmtOpenMP.cpp150 LValue DstLV = MakeAddrLValue(DstAddr, Ctx.getUIntPtrType()); in GenerateOpenMPCapturedVars()
155 LValue SrcLV = in GenerateOpenMPCapturedVars()
173 StringRef Name, LValue AddrLV, in castValueFromUintptr()
273 LValue ArgLVal = in GenerateOpenMPCapturedStmtFunction()
277 LValue CastedArgLVal = in GenerateOpenMPCapturedStmtFunction()
425 LValue LV = CGF.MakeNaturalAlignAddrLValue(GV, Ty); in emitInitWithReductionInitializer()
887 LValue BaseLV, llvm::Value *Addr) { in castToBase()
913 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin()
914 LValue BaseLV) { in loadToBegin()
961 LValue BaseLValue = in EmitOMPReductionClauseInit()
[all …]
DCGObjC.cpp149 LValue LV = MakeAddrLValue( in EmitObjCCollectionLiteral()
161 LValue KeyLV = MakeAddrLValue( in EmitObjCCollectionLiteral()
169 LValue ValueLV = MakeAddrLValue( in EmitObjCCollectionLiteral()
356 LValue lvalue = EmitLValue(lvalueExpr); in EmitObjCMessageExpr()
554 LValue lvalue, QualType type);
896 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0); in generateObjCGetterBody()
985 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0); in generateObjCGetterBody()
1174 LValue ivarLValue = in generateObjCSetterBody()
1350 LValue lvalue in Emit()
1416 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), in GenerateObjCCtorDtorMethod()
[all …]
DCGCall.h64 LValue Source;
91 void addWriteback(LValue srcLV, Address temporary, in addWriteback()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_build_util.h48 inline LValue *getScratch(int size = 4, DataFile = FILE_GPR);
50 inline LValue *getSSA(int size = 4, DataFile = FILE_GPR);
57 LValue *mkOp1v(operation, DataType, Value *, Value *);
58 LValue *mkOp2v(operation, DataType, Value *, Value *, Value *);
59 LValue *mkOp3v(operation, DataType, Value *, Value *, Value *, Value *);
64 LValue *mkLoadv(DataType, Symbol *, Value *ptr);
227 LValue *
230 LValue *lval = new_LValue(func, f); in getScratch()
235 LValue *
238 LValue *lval = new_LValue(func, f); in getSSA()
[all …]
Dnv50_ir_lowering_nvc0.h82 LValue *rZero;
83 LValue *carry;
84 LValue *pOne;
126 void readTessCoord(LValue *dst, int c);
152 LValue *gpEmitAddress;
Dnv50_ir_ra.cpp305 Value *offsetSlot(Value *, const LValue *);
323 LValue *unspill(Instruction *usei, LValue *, Value *slot);
324 void spill(Instruction *defi, Value *slot, LValue *);
471 LValue *tmp = new_LValue(func, phi->getDef(0)->asLValue()); in visit()
503 LValue *tmp = new_LValue(func, cal->getSrc(s)->asLValue()); in visit()
517 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit()
725 void init(const RegisterSet&, LValue *);
730 inline LValue *getValue() const in getValue()
732 return reinterpret_cast<LValue *>(data); in getValue()
734 inline void setValue(LValue *lval) { data = lval; } in setValue()
[all …]
Dnv50_ir_inlines.h197 void ValueDef::setSSA(LValue *lval) in setSSA()
203 const LValue *ValueDef::preSSA() const in preSSA()
337 LValue *Value::asLValue() in asLValue()
340 return static_cast<LValue *>(this); in asLValue()
416 LValue *Function::getLValue(int id) in getLValue()
419 return reinterpret_cast<LValue *>(allLValues.get(id)); in getLValue()
Dnv50_ir.h484 class LValue; variable
624 inline void setSSA(LValue *);
625 inline const LValue *preSSA() const;
629 LValue *origin; // pre SSA value
654 inline LValue *asLValue();
679 class LValue : public Value
682 LValue(Function *, DataFile file);
683 LValue(Function *, LValue *);
684 ~LValue() { } in ~LValue()
688 virtual LValue *clone(ClonePolicy<Function>&) const;
[all …]
Dnv50_ir_ssa.cpp295 inline LValue *getStackTop(Value *);
297 LValue *mkUndefined(Value *);
333 LValue *lval; in convertToSSA()
416 LValue *
421 return reinterpret_cast<LValue *>(stack[val->id].peek().u.p); in getStackTop()
424 LValue *
427 LValue *lval = val->asLValue(); in mkUndefined()
429 LValue *ud = new_LValue(func, lval); in mkUndefined()
454 LValue *lval, *ssa; in search()
Dnv50_ir.cpp225 LValue::LValue(Function *fn, DataFile file) in LValue() function in nv50_ir::LValue
240 LValue::LValue(Function *fn, LValue *lval) in LValue() function in nv50_ir::LValue
257 LValue *
258 LValue::clone(ClonePolicy<Function>& pol) const in clone()
260 LValue *that = new_LValue(pol.context(), reg.file); in clone()
272 LValue::isUniform() const in isUniform()
1107 mem_LValue(sizeof(LValue), 8), in Program()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dgenk-timing.py114 def writeRandomOperation(self, LValue, LHS, RHS): argument
119 self.writeln(" %s = func%d(%s, %s) :" % (LValue, funcToCall, LHS, RHS))
127 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
129 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
131 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
133 self.writeln(" %s = %s %s %s :" % (LValue, LHS, operation, RHS))
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dgenk-timing.py114 def writeRandomOperation(self, LValue, LHS, RHS): argument
119 self.writeln(" %s = func%d(%s, %s) :" % (LValue, funcToCall, LHS, RHS))
127 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
129 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
131 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
133 self.writeln(" %s = %s %s %s :" % (LValue, LHS, operation, RHS))
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dgenk-timing.py119 def writeRandomOperation(self, LValue, LHS, RHS): argument
124 self.writeln(" %s = func%d(%s, %s) :" % (LValue, funcToCall, LHS, RHS))
132 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
134 self.writeln(" %s = %s %s %s" % (LValue, LHS, operation, RHS))
136 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100)))
138 self.writeln(" %s = %s %s %s :" % (LValue, LHS, operation, RHS))
/external/swiftshader/src/Reactor/
DReactor.hpp80 class LValue : public Variable class
83 LValue(int arraySize = 0);
183 class Bool : public LValue<Bool>
206 class Byte : public LValue<Byte>
264 class SByte : public LValue<SByte>
320 class Short : public LValue<Short>
375 class UShort : public LValue<UShort>
431 class Byte4 : public LValue<Byte4>
477 class SByte4 : public LValue<SByte4>
521 class Byte8 : public LValue<Byte8>
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_reverse.cpp97 static void test_expr_reverse(bool LValue) in test_expr_reverse() argument
109 if (LValue) { in test_expr_reverse()
131 if (LValue) { in test_expr_reverse()
160 if (LValue) { in test_expr_reverse()
/external/clang/lib/AST/
DExprConstant.cpp59 struct LValue;
324 const LValue *This;
338 const FunctionDecl *Callee, const LValue *This,
352 ThisOverrideRAII(CallStackFrame &Frame, const LValue *NewThis, bool Enable) in ThisOverrideRAII()
362 const LValue *OldThis;
963 const FunctionDecl *Callee, const LValue *This, in CallStackFrame()
1068 struct LValue { struct
1252 const LValue &This, const Expr *E,
1254 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info);
1255 static bool EvaluatePointer(const Expr *E, LValue &Result, EvalInfo &Info);
[all …]
DAPValue.cpp150 case LValue: in APValue()
200 else if (Kind == LValue) in DestroyDataAndMakeUninit()
241 case LValue: in needsCleanup()
297 case LValue: in dump()
376 case APValue::LValue: { in printPretty()
633 Kind = LValue; in MakeLValue()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp92 static SVal makeZeroElementRegion(ProgramStateRef State, SVal LValue, in makeZeroElementRegion() argument
99 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue); in makeZeroElementRegion()
102 return LValue; in makeZeroElementRegion()
120 SVal LValue = State->getLValue(Var, LCtx); in getRegionForConstructedObject() local
122 LValue = makeZeroElementRegion(State, LValue, Ty); in getRegionForConstructedObject()
123 return LValue.getAsRegion(); in getRegionForConstructedObject()

123