Home
last modified time | relevance | path

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

1234

/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()
/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.h84 LValue *rZero;
85 LValue *carry;
86 LValue *pOne;
128 void readTessCoord(LValue *dst, int c);
154 LValue *gpEmitAddress;
Dnv50_ir_ra.cpp303 Value *offsetSlot(Value *, const LValue *);
321 LValue *unspill(Instruction *usei, LValue *, Value *slot);
322 void spill(Instruction *defi, Value *slot, LValue *);
469 LValue *tmp = new_LValue(func, phi->getDef(0)->asLValue()); in visit()
501 LValue *tmp = new_LValue(func, cal->getSrc(s)->asLValue()); in visit()
515 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit()
723 void init(const RegisterSet&, LValue *);
728 inline LValue *getValue() const in getValue()
730 return reinterpret_cast<LValue *>(data); in getValue()
732 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.h494 class LValue; variable
633 inline void setSSA(LValue *);
634 inline const LValue *preSSA() const;
638 LValue *origin; // pre SSA value
663 inline LValue *asLValue();
688 class LValue : public Value
691 LValue(Function *, DataFile file);
692 LValue(Function *, LValue *);
693 ~LValue() { } in ~LValue()
697 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()
1105 mem_LValue(sizeof(LValue), 8), in Program()
/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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/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/third_party/llvm-7.0/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.hpp81 class LValue : public Variable class
84 LValue(int arraySize = 0);
184 class Bool : public LValue<Bool>
207 class Byte : public LValue<Byte>
265 class SByte : public LValue<SByte>
321 class Short : public LValue<Short>
376 class UShort : public LValue<UShort>
432 class Byte4 : public LValue<Byte4>
478 class SByte4 : public LValue<SByte4>
522 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 …]
/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()
/external/skia/src/sksl/
DSkSLJIT.h133 class LValue {
135 virtual ~LValue() {} in ~LValue()
153 std::unique_ptr<LValue> getLValue(LLVMBuilderRef builder, const Expression& expr);

1234