search for: desttyp

Displaying 5 results from an estimated 5 matches for "desttyp".

Did you mean: destty
2015 Feb 23
2
[LLVMdev] Eliminating redundant loads
...alue = getelementptr inbounds %ravi.TValue* %5, i64 0, i32 0, i32 0 %destvalue = getelementptr inbounds %ravi.TValue* %6, i64 0, i32 0, i32 0 %7 = load double* %srcvalue, align 8 store double %7, double* %destvalue, align 8 %srctype = getelementptr inbounds %ravi.TValue* %5, i64 0, i32 1 %desttype = getelementptr inbounds %ravi.TValue* %6, i64 0, i32 1 %8 = load i32* %srctype, align 4 store i32 %8, i32* %desttype, align 4 %9 = load %ravi.TValue** %base, align 8 %srcvalue1 = getelementptr inbounds %ravi.TValue* %5, i64 1, i32 0, i32 0 %destvalue2 = getelementptr inbounds %ravi.TVal...
2020 Apr 02
3
RFC: dynamic_cast optimization in LTO
...c hint about the location of the source subobject w.r.t the complete object.</font><br> <br>If the above conditions can be proven to be true, then an equivalent expression is:<br><font face="Default Monospace,Courier New,Courier,monospace"> (destType == dynamicType) where: std::typeinfo *destType = &_ZTI1A;<br> std::typeinfo *dynamicType = ((void**)ptr)[-1];</font><br> <br><br>Detailed description:<br>A C++ dynamic_cast<A*>(ptr) expression can either <br>...
2015 Feb 23
2
[LLVMdev] Eliminating redundant loads
...ue** %base %srcvalue = getelementptr inbounds %ravi.TValue* %5, i32 0, i32 0, i32 0 %destvalue = getelementptr inbounds %ravi.TValue* %6, i32 0, i32 0, i32 0 %7 = load double* %srcvalue store double %7, double* %destvalue %srctype = getelementptr inbounds %ravi.TValue* %5, i32 0, i32 1 %desttype = getelementptr inbounds %ravi.TValue* %6, i32 0, i32 1 %8 = load i32* %srctype store i32 %8, i32* %desttype %9 = load %ravi.TValue** %base %10 = getelementptr inbounds %ravi.TValue* %9, i32 1 %11 = getelementptr inbounds %ravi.TValue* %5, i32 1 %srcvalue1 = getelementptr inbounds %rav...
2015 Feb 22
2
[LLVMdev] Eliminating redundant loads
On 22 February 2015 at 20:58, David Jones <djones at xtreme-eda.com> wrote: > Not sure if this is your problem, but it was mine: > > You must create (or obtain) a DataLayout *and install it into the Module*. > > It is possible to generate machine code for IR and not install the > DataLayout into the Module. Rather, the DataLayout is used locally at the > point where code
2015 Feb 23
3
[LLVMdev] Eliminating redundant loads
On 23 February 2015 at 01:29, Kamal Sharma <kgs1.rice at gmail.com> wrote: > Hi Dibyendu, > > It would be very helpful if you could post the original source code or > snippet. > That way, one can investigate deeper to understand the problem. > > Regards, > Kamal Sharma > Hi Kamal, Sure. I guess I ought to create a test that one can look in isolation. I am