Home | History | Annotate | Download | only in CodeGenCXX

Lines Matching refs:Length

4 struct Length {
5 Length(double v) {
9 bool operator==(const Length& o) const {
12 bool operator!=(const Length& o) const { return !(*this == o); }
22 static Length inchLength(double inch);
23 static bool getPageSizeFromName(const Length &A) {
24 static const Length legalWidth = inchLength(8.5);
30 // CHECK: @_ZZN3Foo19getPageSizeFromNameERK6LengthE10legalWidth = linkonce_odr global %struct.Length zeroinitializer, align 4
31 // CHECK: store float %{{.*}}, float* getelementptr inbounds (%struct.Length* @_ZZN3Foo19getPageSizeFromNameERK6LengthE10legalWidth, i32 0, i32 0), align 1
33 bool bar(Length &b) {