/external/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 760 const LValue &lv) { in bind() 825 LValue lvalue) in OpaqueValueMapping() 913 llvm::DenseMap<const OpaqueValueExpr *, LValue> OpaqueLValues; 1263 void EmitInitializerForField(FieldDecl *Field, LValue LHS, Expr *Init, 1443 LValue MakeAddrLValue(llvm::Value *V, QualType T, 1445 return LValue::MakeAddr(V, T, Alignment, getContext(), 1449 LValue MakeNaturalAlignAddrLValue(llvm::Value *V, QualType T); 1523 void EmitExprAsInit(const Expr *init, const ValueDecl *D, LValue lvalue, 1579 const LValue &getOpaqueLValueMapping(const OpaqueValueExpr *e) { in getOpaqueLValueMapping() 1582 llvm::DenseMap<const OpaqueValueExpr*,LValue>::iterator in getOpaqueLValueMapping() [all …]
|
D | CGExpr.cpp | 170 LValue LV = MakeAddrLValue(Location, E->getType()); in EmitAnyExprToMem() 333 LValue CodeGenFunction:: 352 LValue RefTempDst = MakeAddrLValue(Object, M->getType()); in EmitMaterializeTemporaryExpr() 420 LValue LV = MakeAddrLValue(Object, E->getType()); in EmitMaterializeTemporaryExpr() 443 LValue LV = EmitLValue(E); in EmitReferenceBindingToExpr() 728 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, in EmitComplexPrePostIncDec() 796 LValue CodeGenFunction::EmitUnsupportedLValue(const Expr *E, in EmitUnsupportedLValue() 803 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue() 804 LValue LV; in EmitCheckedLValue() 830 LValue CodeGenFunction::EmitLValue(const Expr *E) { in EmitLValue() [all …]
|
D | CGValue.h | 109 class LValue { 295 static LValue MakeAddr(llvm::Value *address, QualType type, 301 LValue R; 309 static LValue MakeVectorElt(llvm::Value *Vec, llvm::Value *Idx, in MakeVectorElt() 311 LValue R; in MakeVectorElt() 319 static LValue MakeExtVectorElt(llvm::Value *Vec, llvm::Constant *Elts, in MakeExtVectorElt() 321 LValue R; in MakeExtVectorElt() 335 static LValue MakeBitfield(llvm::Value *Addr, in MakeBitfield() 338 LValue R; in MakeBitfield() 346 static LValue MakeGlobalReg(llvm::Value *Reg, in MakeGlobalReg() [all …]
|
D | CGExprAgg.cpp | 78 void EmitFinalDestCopy(QualType type, const LValue &src); 185 LValue LV = CGF.EmitPseudoObjectLValue(E); in VisitPseudoObjectExpr() 194 void EmitInitializationToLValue(Expr *E, LValue Address); 195 void EmitNullInitializationToLValue(LValue Address); 212 LValue LV = CGF.EmitLValue(E); in EmitAggLoadOfLValue() 269 LValue srcLV = CGF.MakeAddrLValue(src.getAggregateAddr(), type, srcAlign); in EmitFinalDestCopy() 274 void AggExprEmitter::EmitFinalDestCopy(QualType type, const LValue &src) { in EmitFinalDestCopy() 319 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr() 344 LValue DestLV = CGF.MakeAddrLValue(Dest.getAddr(), E->getType(), in VisitCXXStdInitializerListExpr() 346 LValue Start = CGF.EmitLValueForFieldInitialization(DestLV, *Field); in VisitCXXStdInitializerListExpr() [all …]
|
D | CGAtomic.cpp | 40 LValue LVal; 43 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) in AtomicInfo() 96 LVal = LValue::MakeBitfield(Addr, BFI, lvalue.getType(), in AtomicInfo() 140 const LValue &getAtomicLValue() const { return LVal; } in getAtomicLValue() 188 LValue projectValue() const { in projectValue() 194 return LValue::MakeAddr(addr, getValueType(), LVal.getAlignment(), in projectValue() 666 LValue lvalue = LValue::MakeAddr(Ptr, AtomicTy, alignChars, getContext()); in EmitAtomicExpr() 1074 return CGF.EmitLoadOfBitfieldLValue(LValue::MakeBitfield( in convertTempToRValue() 1077 return CGF.EmitLoadOfLValue(LValue::MakeVectorElt(addr, LVal.getVectorIdx(), in convertTempToRValue() 1082 return CGF.EmitLoadOfExtVectorElementLValue(LValue::MakeExtVectorElt( in convertTempToRValue() [all …]
|
D | CGExprComplex.cpp | 80 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc); 84 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit); 165 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec() 225 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E, 273 LValue EmitBinAssignLValue(const BinaryOperator *E, 303 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue, in EmitLoadOfLValue() 337 void ComplexExprEmitter::EmitStoreOfComplex(ComplexPairTy Val, LValue lvalue, in EmitStoreOfComplex() 436 LValue origLV = CGF.EmitLValue(Op); in EmitCast() 816 LValue ComplexExprEmitter:: 846 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue() [all …]
|
D | CGStmtOpenMP.cpp | 970 static LValue EmitOMPHelperVar(CodeGenFunction &CGF, in EmitOMPHelperVar() 1007 LValue LB = in EmitOMPWorksharingLoop() 1009 LValue UB = in EmitOMPWorksharingLoop() 1011 LValue ST = in EmitOMPWorksharingLoop() 1013 LValue IL = in EmitOMPWorksharingLoop() 1101 static LValue createSectionLVal(CodeGenFunction &CGF, QualType Ty, in createSectionLVal() 1119 LValue LB = createSectionLVal(CGF, KmpInt32Ty, ".omp.sections.lb.", in emitSections() 1122 LValue UB = in emitSections() 1124 LValue ST = createSectionLVal(CGF, KmpInt32Ty, ".omp.sections.st.", in emitSections() 1126 LValue IL = createSectionLVal(CGF, KmpInt32Ty, ".omp.sections.il.", in emitSections() [all …]
|
D | TargetInfo.h | 135 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, in addReturnRegisterOutputs() 138 std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, in addReturnRegisterOutputs()
|
D | CGCall.h | 64 LValue Source; 91 void addWriteback(LValue srcLV, llvm::Value *temporary, in addWriteback()
|
D | CGObjC.cpp | 122 LValue LV = LValue::MakeAddr( in EmitObjCCollectionLiteral() 134 LValue KeyLV = LValue::MakeAddr( in EmitObjCCollectionLiteral() 142 LValue ValueLV = LValue::MakeAddr( in EmitObjCCollectionLiteral() 492 LValue lvalue, QualType type); 839 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0); in generateObjCGetterBody() 922 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0); in generateObjCGetterBody() 1113 LValue ivarLValue = in generateObjCSetterBody() 1294 LValue lvalue in Emit() 1360 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), in GenerateObjCCtorDtorMethod() 1574 LValue elementLValue; in EmitObjCForCollectionStmt() [all …]
|
D | CGStmt.cpp | 1734 LValue InputValue, QualType InputType, in EmitAsmInputLValue() 1772 LValue Dest = EmitLValue(InputExpr); in EmitAsmInput() 1838 std::vector<LValue> ResultRegDests; in EmitAsmStmt() 1865 LValue Dest = EmitLValue(OutExpr); in EmitAsmStmt() 1944 LValue ReturnSlot = MakeAddrLValue(ReturnValue, FnRetTy); in EmitAsmStmt() 2121 LValue CodeGenFunction::InitCapturedStruct(const CapturedStmt &S) { in InitCapturedStruct() 2126 LValue SlotLV = MakeNaturalAlignAddrLValue( in InitCapturedStruct() 2133 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField); in InitCapturedStruct() 2149 LValue CapStruct = InitCapturedStruct(S); in EmitCapturedStmt() 2165 LValue CapStruct = InitCapturedStruct(S); in GenerateCapturedStmtArgument() [all …]
|
/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.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_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_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; 304 const LValue *This; 318 const FunctionDecl *Callee, const LValue *This, 332 ThisOverrideRAII(CallStackFrame &Frame, const LValue *NewThis, bool Enable) in ThisOverrideRAII() 342 const LValue *OldThis; 822 const FunctionDecl *Callee, const LValue *This, in CallStackFrame() 917 struct LValue { struct 1098 const LValue &This, const Expr *E, 1100 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info); 1101 static bool EvaluatePointer(const Expr *E, LValue &Result, EvalInfo &Info); [all …]
|
D | APValue.cpp | 150 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/llvm/lib/TableGen/ |
D | TGParser.h | 51 ForeachLoop(VarInit *IVar, ListInit *LValue) in ForeachLoop() 52 : IterVar(IVar), ListValue(LValue) {} in ForeachLoop()
|