Home
last modified time | relevance | path

Searched refs:AVAttr (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/CodeGen/
DCGExprScalar.cpp97 const AlignValueAttr *AVAttr = nullptr; in EmitLValueAlignmentAssumption() local
104 AVAttr = TTy->getDecl()->getAttr<AlignValueAttr>(); in EmitLValueAlignmentAssumption()
111 AVAttr = VD->getAttr<AlignValueAttr>(); in EmitLValueAlignmentAssumption()
115 if (!AVAttr) in EmitLValueAlignmentAssumption()
118 AVAttr = TTy->getDecl()->getAttr<AlignValueAttr>(); in EmitLValueAlignmentAssumption()
120 if (!AVAttr) in EmitLValueAlignmentAssumption()
123 Value *AlignmentValue = CGF.EmitScalarExpr(AVAttr->getAlignment()); in EmitLValueAlignmentAssumption()
DCGCall.cpp2251 const auto *AVAttr = PVD->getAttr<AlignValueAttr>(); in EmitFunctionProlog() local
2252 if (!AVAttr) in EmitFunctionProlog()
2254 AVAttr = TOTy->getDecl()->getAttr<AlignValueAttr>(); in EmitFunctionProlog()
2255 if (AVAttr) { in EmitFunctionProlog()
2257 EmitScalarExpr(AVAttr->getAlignment()); in EmitFunctionProlog()