MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / first_block

Method first_block

source/val/function.cpp:209–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207std::list<Construct>& Function::constructs() { return cfg_constructs_; }
208
209const BasicBlock* Function::first_block() const {
210 if (ordered_blocks_.empty()) return nullptr;
211 return ordered_blocks_[0];
212}
213BasicBlock* Function::first_block() {
214 if (ordered_blocks_.empty()) return nullptr;
215 return ordered_blocks_[0];

Callers 3

PerformCfgChecksFunction · 0.80
ReachabilityPassFunction · 0.80
ValidateExtInstDebugInfoFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected