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

Function IsHandledCondition

source/opt/loop_peeling.cpp:887–903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885}
886
887static bool IsHandledCondition(spv::Op opcode) {
888 switch (opcode) {
889 case spv::Op::OpIEqual:
890 case spv::Op::OpINotEqual:
891 case spv::Op::OpUGreaterThan:
892 case spv::Op::OpSGreaterThan:
893 case spv::Op::OpUGreaterThanEqual:
894 case spv::Op::OpSGreaterThanEqual:
895 case spv::Op::OpULessThan:
896 case spv::Op::OpSLessThan:
897 case spv::Op::OpULessThanEqual:
898 case spv::Op::OpSLessThanEqual:
899 return true;
900 default:
901 return false;
902 }
903}
904
905LoopPeelingPass::LoopPeelingInfo::Direction
906LoopPeelingPass::LoopPeelingInfo::GetPeelingInfo(BasicBlock* bb) const {

Callers 1

GetPeelingInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected