This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 401d749a1cb470b8337d2134aee33e8163bdaeff | |
Author: Patrick Walton <[email protected]> | |
Date: Thu Sep 1 19:36:50 2016 -0700 | |
wip for dereferenceable-only | |
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h | |
index 76f8b31..964a919 100644 | |
--- a/include/llvm-c/Core.h | |
+++ b/include/llvm-c/Core.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h | |
index b19dabb..730c593 100644 | |
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h | |
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h | |
@@ -381,7 +381,7 @@ public: | |
/// | |
/// This method assumes the pointer has a "NonLocal" dependency within | |
/// QueryInst's parent basic block. | |
- void getNonLocalPointerDependency(Instruction *QueryInst, | |
+ void getNonLocalPointerDependency(MemoryLocation &Loc, bool isLoad, Instruction *QueryInst, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section __TEXT,__text,regular,pure_instructions | |
.intel_syntax noprefix | |
.private_extern __ZN9webrender6tiling12AlphaBatcher16add_layer_to_ubo17hf49e06183f51c095E | |
.globl __ZN9webrender6tiling12AlphaBatcher16add_layer_to_ubo17hf49e06183f51c095E | |
.p2align 4, 0x90 | |
__ZN9webrender6tiling12AlphaBatcher16add_layer_to_ubo17hf49e06183f51c095E: ## @_ZN9webrender6tiling12AlphaBatcher16add_layer_to_ubo17hf49e06183f51c095E | |
.cfi_startproc | |
## BB#0: ## %entry-block | |
push rbp | |
Ltmp0: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ModuleID = 'out-reduced.bc' | |
source_filename = "webrender.cgu-0.rs" | |
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" | |
target triple = "x86_64-apple-darwin" | |
%str_slice = type { i8*, i64 } | |
%"5.alloc::raw_vec::RawVec<tiling::PackedLayer>" = type { %"2.std::ptr::Unique<tiling::PackedLayer>", i64 } | |
%"2.std::ptr::Unique<tiling::PackedLayer>" = type { %"2.core::nonzero::NonZero<*const tiling::PackedLayer>", %"2.std::marker::PhantomData<tiling::PackedLayer>" } | |
%"2.core::nonzero::NonZero<*const tiling::PackedLayer>" = type { %"tiling::PackedLayer"* } | |
%"tiling::PackedLayer" = type { %"23.euclid::Matrix4D<f32>", %"23.euclid::Matrix4D<f32>", %"23.euclid::Rect<internal_types::DevicePixel>", [4 x %"23.euclid::Point4D<f32>"] } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+0x1fe8 addq $360, %rdi | |
+0x1fef callq "_$LT$alloc..raw_vec..RawVec$LT$T$GT$$GT$::double::h13367bd2279a8b11" | |
+0x1ff4 movq 376(%r13), %rax | |
+0x1ffb movq 360(%r13), %rcx | |
+0x2002 leaq (%rax,%rax,2), %rax | |
+0x2006 movq -5008(%rbp), %rdx | |
+0x200d movq %rdx, 16(%rcx,%rax,8) | |
+0x2012 movq -5024(%rbp), %rdx | |
+0x2019 movq -5016(%rbp), %rsi | |
+0x2020 movq %rsi, 8(%rcx,%rax,8) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+0x3390 movq %rsi, -4168(%rbp) | |
+0x3397 movq %rdi, -4160(%rbp) | |
+0x339e movq -3728(%rbp), %rcx | |
+0x33a5 leaq -4152(%rbp), %rdx | |
+0x33ac movq %rdx, %rsi | |
+0x33af movq %rcx, 56(%rsi) | |
+0x33b3 movq -3736(%rbp), %rcx | |
+0x33ba movq %rcx, 48(%rsi) | |
+0x33be movq -3744(%rbp), %rcx | |
+0x33c5 movq %rcx, 40(%rsi) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/device.rs b/src/device.rs | |
index eb93dd3..c90247e 100644 | |
--- a/src/device.rs | |
+++ b/src/device.rs | |
@@ -670,6 +670,50 @@ impl UniformLocation { | |
} | |
} | |
+pub struct SamplesPassedQuery { | |
+ qid: gl::GLuint, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<style> | |
section, div { | |
position: absolute; | |
width: 200px; | |
height: 200px; | |
top: 50px; | |
left: 50px; | |
} | |
section { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
servo[0x100bf974e] <+6638>: mov r10b, byte ptr [rbp - 0x729] | |
servo[0x100bf9755] <+6645>: mov r9, qword ptr [rbp - 0x728] | |
servo[0x100bf975c] <+6652>: mov rax, qword ptr [rbp - 0x720] | |
servo[0x100bf9763] <+6659>: mov rdi, qword ptr [rbp - 0x718] | |
servo[0x100bf976a] <+6666>: mov r8, qword ptr [rbp - 0x6c8] | |
servo[0x100bf9771] <+6673>: mov rdx, qword ptr [rbp - 0x710] | |
servo[0x100bf9778] <+6680>: mov qword ptr [rbp - 0x710], rdx | |
servo[0x100bf977f] <+6687>: mov qword ptr [r13 + 0x78], r8 | |
servo[0x100bf9783] <+6691>: mov qword ptr [r13 + 0x80], rdi | |
servo[0x100bf978a] <+6698>: mov qword ptr [r13 + 0x88], rax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/device.rs b/src/device.rs | |
index eb93dd3..3a79800 100644 | |
--- a/src/device.rs | |
+++ b/src/device.rs | |
@@ -510,7 +510,10 @@ impl Program { | |
gl::link_program(self.id); | |
if gl::get_program_iv(self.id, gl::LINK_STATUS) == (0 as gl::GLint) { | |
- println!("Failed to link shader program: {}", gl::get_program_info_log(self.id)); | |
+ println!("Failed to link shader program `{:?}`/`{:?}`: {}", |