/external/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 711 const LValue &lv) { in bind() 776 LValue lvalue) in OpaqueValueMapping() 859 llvm::DenseMap<const OpaqueValueExpr *, LValue> OpaqueLValues; 1196 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init, 1363 LValue MakeAddrLValue(llvm::Value *V, QualType T, 1365 return LValue::MakeAddr(V, T, Alignment, getContext(), 1369 LValue MakeNaturalAlignAddrLValue(llvm::Value *V, QualType T) { in MakeNaturalAlignAddrLValue() 1373 return LValue::MakeAddr(V, T, Alignment, getContext(), in MakeNaturalAlignAddrLValue() 1448 LValue lvalue, bool capturedByInit); 1494 const LValue &getOpaqueLValueMapping(const OpaqueValueExpr *e) { in getOpaqueLValueMapping() [all …]
|
D | CGExpr.cpp | 168 LValue LV = MakeAddrLValue(Location, E->getType()); in EmitAnyExprToMem() 315 LValue CodeGenFunction::EmitMaterializeTemporaryExpr( in EmitMaterializeTemporaryExpr() 325 LValue RefTempDst = MakeAddrLValue(Object, M->getType()); in EmitMaterializeTemporaryExpr() 383 LValue LV = MakeAddrLValue(Object, E->getType()); in EmitMaterializeTemporaryExpr() 406 LValue LV = EmitLValue(E); in EmitReferenceBindingToExpr() 675 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, in EmitComplexPrePostIncDec() 744 LValue CodeGenFunction::EmitUnsupportedLValue(const Expr *E, in EmitUnsupportedLValue() 751 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue() 752 LValue LV; in EmitCheckedLValue() 778 LValue CodeGenFunction::EmitLValue(const Expr *E) { in EmitLValue() [all …]
|
D | CGValue.h | 108 class LValue { 294 static LValue MakeAddr(llvm::Value *address, QualType type, 300 LValue R; 307 static LValue MakeVectorElt(llvm::Value *Vec, llvm::Value *Idx, in MakeVectorElt() 309 LValue R; in MakeVectorElt() 317 static LValue MakeExtVectorElt(llvm::Value *Vec, llvm::Constant *Elts, in MakeExtVectorElt() 319 LValue R; in MakeExtVectorElt() 333 static LValue MakeBitfield(llvm::Value *Addr, in MakeBitfield() 336 LValue R; in MakeBitfield() 344 static LValue MakeGlobalReg(llvm::Value *Reg, in MakeGlobalReg() [all …]
|
D | CGExprComplex.cpp | 76 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc); 80 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit); 160 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec() 220 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E, 265 LValue EmitBinAssignLValue(const BinaryOperator *E, 295 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue, in EmitLoadOfLValue() 330 LValue lvalue, in EmitStoreOfComplex() 428 LValue origLV = CGF.EmitLValue(Op); in EmitCast() 636 LValue ComplexExprEmitter:: 657 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue() [all …]
|
D | CGExprAgg.cpp | 78 void EmitFinalDestCopy(QualType type, const LValue &src); 180 LValue LV = CGF.EmitPseudoObjectLValue(E); in VisitPseudoObjectExpr() 189 void EmitInitializationToLValue(Expr *E, LValue Address); 190 void EmitNullInitializationToLValue(LValue Address); 207 LValue LV = CGF.EmitLValue(E); in EmitAggLoadOfLValue() 264 LValue srcLV = CGF.MakeAddrLValue(src.getAggregateAddr(), type, srcAlign); in EmitFinalDestCopy() 269 void AggExprEmitter::EmitFinalDestCopy(QualType type, const LValue &src) { in EmitFinalDestCopy() 314 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr() 339 LValue DestLV = CGF.MakeAddrLValue(Dest.getAddr(), E->getType(), in VisitCXXStdInitializerListExpr() 341 LValue Start = CGF.EmitLValueForFieldInitialization(DestLV, *Field); in VisitCXXStdInitializerListExpr() [all …]
|
D | CGAtomic.cpp | 40 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) : CGF(CGF) { in AtomicInfo() 87 bool emitMemSetZeroIfNecessary(LValue dest) const; 104 void emitCopyIntoMemory(RValue rvalue, LValue lvalue) const; 107 LValue projectValue(LValue lvalue) const { in projectValue() 112 return LValue::MakeAddr(addr, getValueType(), lvalue.getAlignment(), in projectValue() 166 bool AtomicInfo::emitMemSetZeroIfNecessary(LValue dest) const { in emitMemSetZeroIfNecessary() 497 LValue lvalue = LValue::MakeAddr(Ptr, AtomicTy, alignChars, getContext()); in EmitAtomicExpr() 887 RValue CodeGenFunction::EmitAtomicLoad(LValue src, SourceLocation loc, in EmitAtomicLoad() 980 void AtomicInfo::emitCopyIntoMemory(RValue rvalue, LValue dest) const { in emitCopyIntoMemory() 1021 LValue tempLV = CGF.MakeAddrLValue(temp, getAtomicType(), getAtomicAlignment()); in materializeRValue() [all …]
|
D | CGCall.h | 64 LValue Source; 91 void addWriteback(LValue srcLV, llvm::Value *temporary, in addWriteback()
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_build_util.h | 48 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 *); 61 LValue *mkLoad(DataType, Symbol *, Value *ptr); 217 LValue * 220 LValue *lval = new_LValue(func, f); in getScratch() 225 LValue * 228 LValue *lval = new_LValue(func, f); in getSSA() [all …]
|
D | nv50_ir_ra.cpp | 284 LValue *unspill(Instruction *usei, LValue *, Value *slot); 285 void spill(Instruction *defi, Value *slot, LValue *); 398 LValue *tmp = new_LValue(func, cal->getSrc(s)->asLValue()); in visit() 412 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit() 620 void init(const RegisterSet&, LValue *); 625 inline LValue *getValue() const in getValue() 627 return reinterpret_cast<LValue *>(data); in getValue() 629 inline void setValue(LValue *lval) { data = lval; } in setValue() 663 inline RIG_Node *getNode(const LValue *v) const { return &nodes[v->id]; } in getNode() 739 GCRA::RIG_Node::init(const RegisterSet& regs, LValue *lval) in init() [all …]
|
D | nv50_ir_inlines.h | 165 void ValueDef::setSSA(LValue *lval) in setSSA() 171 const LValue *ValueDef::preSSA() const in preSSA() 305 LValue *Value::asLValue() in asLValue() 308 return static_cast<LValue *>(this); in asLValue() 384 LValue *Function::getLValue(int id) in getLValue() 387 return reinterpret_cast<LValue *>(allLValues.get(id)); in getLValue()
|
D | nv50_ir.h | 308 class LValue; variable 448 inline void setSSA(LValue *); 449 inline const LValue *preSSA() const; 453 LValue *origin; // pre SSA value 478 inline LValue *asLValue(); 503 class LValue : public Value 506 LValue(Function *, DataFile file); 507 LValue(Function *, LValue *); 508 ~LValue() { } in ~LValue() 512 virtual LValue *clone(ClonePolicy<Function>&) const; [all …]
|
D | nv50_ir_ssa.cpp | 294 inline LValue *getStackTop(Value *); 296 LValue *mkUndefined(Value *); 332 LValue *lval; in convertToSSA() 415 LValue * 420 return reinterpret_cast<LValue *>(stack[val->id].peek().u.p); in getStackTop() 423 LValue * 426 LValue *lval = val->asLValue(); in mkUndefined() 428 LValue *ud = new_LValue(func, lval); in mkUndefined() 446 LValue *lval, *ssa; in search()
|
D | nv50_ir_build_util.cpp | 106 LValue * 110 LValue *def = getScratch(); in mkLoad() 272 LValue *def0 = getSSA(); in mkSelect() 273 LValue *def1 = getSSA(); in mkSelect() 339 LValue *reg = new_LValue(func, f); in mkClobber() 345 LValue *reg = new_LValue(func, f); in mkClobber()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_build_util.h | 48 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 *); 61 LValue *mkLoad(DataType, Symbol *, Value *ptr); 217 LValue * 220 LValue *lval = new_LValue(func, f); in getScratch() 225 LValue * 228 LValue *lval = new_LValue(func, f); in getSSA() [all …]
|
D | nv50_ir_ra.cpp | 284 LValue *unspill(Instruction *usei, LValue *, Value *slot); 285 void spill(Instruction *defi, Value *slot, LValue *); 398 LValue *tmp = new_LValue(func, cal->getSrc(s)->asLValue()); in visit() 412 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit() 620 void init(const RegisterSet&, LValue *); 625 inline LValue *getValue() const in getValue() 627 return reinterpret_cast<LValue *>(data); in getValue() 629 inline void setValue(LValue *lval) { data = lval; } in setValue() 663 inline RIG_Node *getNode(const LValue *v) const { return &nodes[v->id]; } in getNode() 739 GCRA::RIG_Node::init(const RegisterSet& regs, LValue *lval) in init() [all …]
|
D | nv50_ir_inlines.h | 165 void ValueDef::setSSA(LValue *lval) in setSSA() 171 const LValue *ValueDef::preSSA() const in preSSA() 305 LValue *Value::asLValue() in asLValue() 308 return static_cast<LValue *>(this); in asLValue() 384 LValue *Function::getLValue(int id) in getLValue() 387 return reinterpret_cast<LValue *>(allLValues.get(id)); in getLValue()
|
D | nv50_ir.h | 308 class LValue; variable 448 inline void setSSA(LValue *); 449 inline const LValue *preSSA() const; 453 LValue *origin; // pre SSA value 478 inline LValue *asLValue(); 503 class LValue : public Value 506 LValue(Function *, DataFile file); 507 LValue(Function *, LValue *); 508 ~LValue() { } in ~LValue() 512 virtual LValue *clone(ClonePolicy<Function>&) const; [all …]
|
D | nv50_ir_ssa.cpp | 294 inline LValue *getStackTop(Value *); 296 LValue *mkUndefined(Value *); 332 LValue *lval; in convertToSSA() 415 LValue * 420 return reinterpret_cast<LValue *>(stack[val->id].peek().u.p); in getStackTop() 423 LValue * 426 LValue *lval = val->asLValue(); in mkUndefined() 428 LValue *ud = new_LValue(func, lval); in mkUndefined() 446 LValue *lval, *ssa; in search()
|
D | nv50_ir_build_util.cpp | 106 LValue * 110 LValue *def = getScratch(); in mkLoad() 272 LValue *def0 = getSSA(); in mkSelect() 273 LValue *def1 = getSSA(); in mkSelect() 339 LValue *reg = new_LValue(func, f); in mkClobber() 345 LValue *reg = new_LValue(func, f); in mkClobber()
|
D | nv50_ir.cpp | 225 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() 1002 mem_LValue(sizeof(LValue), 8), in Program()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | genk-timing.py | 114 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/ |
D | genk-timing.py | 114 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/ |
D | genk-timing.py | 119 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/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 92 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() 132 SVal LValue = State->getLValue(Var, LCtx); in getRegionForConstructedObject() local 134 LValue = makeZeroElementRegion(State, LValue, Ty); in getRegionForConstructedObject() 135 return LValue.getAsRegion(); in getRegionForConstructedObject()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 58 struct LValue; 303 const LValue *This; 317 const FunctionDecl *Callee, const LValue *This, 331 ThisOverrideRAII(CallStackFrame &Frame, const LValue *NewThis, bool Enable) in ThisOverrideRAII() 341 const LValue *OldThis; 821 const FunctionDecl *Callee, const LValue *This, in CallStackFrame() 916 struct LValue { struct 1097 const LValue &This, const Expr *E, 1099 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info); 1100 static bool EvaluatePointer(const Expr *E, LValue &Result, EvalInfo &Info); [all …]
|