Displaying 6 results from an estimated 6 matches for "clear_func".
2006 Dec 04
1
[LLVMdev] problem using scc_iterator on CallGraph
I printed the call graph as you suggested. The bugpoint bytecode that I
sent below prints the following call graph:
Indirect call node
/ | | \
/ | | \
V | V V
execute | prog_char clear_func
| |
V V
push_constant
|
V
Node0x8d7b370
i.e.,
Indirect call node -> execute
Indirect call node -> push_constant
Indirect call node -> prog_char
Indirect call node -> clear_func
execute -> push_constant
push_constant -&...
2006 Dec 04
2
[LLVMdev] problem using scc_iterator on CallGraph
...; preds = %bb
ret void
bb688: ; preds = %entry
br bool false, label %bb, label %bb721
bb721: ; preds = %bb688
ret void
}
void %push_constant(sbyte ()* %in_char) {
entry:
%tmp = call sbyte %in_char( ) ; <sbyte> [#uses=0]
ret void
}
sbyte %prog_char() {
entry:
ret sbyte 0
}
void %clear_func() {
entry:
unreachable
}
2020 May 20
2
[PATCH] nouveau/hmm: fix migrate zero page to GPU
...(*nouveau_clear_page_t)(struct nouveau_drm *drm, u32 length,
+ enum nouveau_aper, u64 dst_addr);
struct nouveau_dmem_chunk {
struct list_head list;
@@ -67,6 +69,7 @@ struct nouveau_dmem_chunk {
struct nouveau_dmem_migrate {
nouveau_migrate_copy_t copy_func;
+ nouveau_clear_page_t clear_func;
struct nouveau_channel *chan;
};
@@ -436,6 +439,52 @@ nvc0b5_migrate_copy(struct nouveau_drm *drm, u64 npages,
return 0;
}
+static int
+nvc0b5_migrate_clear(struct nouveau_drm *drm, u32 length,
+ enum nouveau_aper dst_aper, u64 dst_addr)
+{
+ struct nouveau_channel *chan = drm->...
2006 Dec 04
0
[LLVMdev] problem using scc_iterator on CallGraph
...el %bb721
>
> bb721: ; preds = %bb688
> ret void
> }
>
> void %push_constant(sbyte ()* %in_char) {
> entry:
> %tmp = call sbyte %in_char( ) ; <sbyte> [#uses=0]
> ret void
> }
>
> sbyte %prog_char() {
> entry:
> ret sbyte 0
> }
>
> void %clear_func() {
> entry:
> unreachable
> }
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-Chris
--
http://nondot.org/sabre/
http://llvm.o...
2020 Nov 06
12
[PATCH v3 0/6] mm/hmm/nouveau: add THP migration to migrate_vma_*
This series adds support for transparent huge page migration to
migrate_vma_*() and adds nouveau SVM and HMM selftests as consumers.
Earlier versions were posted previously [1] and [2].
The patches apply cleanly to the linux-mm 5.10.0-rc2 tree. There are a
lot of other THP patches being posted. I don't think there are any
semantic conflicts but there may be some merge conflicts depending on
2020 Sep 02
10
[PATCH v2 0/7] mm/hmm/nouveau: add THP migration to migrate_vma_*
This series adds support for transparent huge page migration to
migrate_vma_*() and adds nouveau SVM and HMM selftests as consumers.
An earlier version was posted previously [1]. This version now
supports splitting a THP midway in the migration process which
led to a number of changes.
The patches apply cleanly to the current linux-mm tree. Since there
are a couple of patches in linux-mm from Dan