MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / expect

Method expect

crates/rustc_codegen_spirv/src/builder/intrinsics.rs:349–352  ·  view source on GitHub ↗
(&mut self, cond: Self::Value, _expected: bool)

Source from the content-addressed store, hash-verified

347 }
348
349 fn expect(&mut self, cond: Self::Value, _expected: bool) -> Self::Value {
350 // TODO: llvm.expect
351 cond
352 }
353
354 fn type_test(&mut self, _pointer: Self::Value, _typeid: Self::Value) -> Self::Value {
355 todo!()

Callers 15

run_modeMethod · 0.80
newMethod · 0.80
rebuild_pipelinesMethod · 0.80
insert_shader_moduleMethod · 0.80
maybe_watchFunction · 0.80
runFunction · 0.80
start_internalFunction · 0.80
mainFunction · 0.80
join_codegenMethod · 0.80
add_upstream_rust_cratesFunction · 0.80

Calls

no outgoing calls

Tested by 3

assemble_spirvFunction · 0.64
validateFunction · 0.64
equate_match_findingsMethod · 0.64