Lines Matching defs:ir_context
47 uint32_t MaybeGetOpConstant(opt::IRContext* ir_context, in MaybeGetOpConstant()
73 std::unique_ptr<spvtools::opt::IRContext>* ir_context) { in BuildIRContext()
185 opt::Instruction CreateUnreachableEdgeInstruction(opt::IRContext* ir_context, in CreateUnreachableEdgeInstruction()
306 bool CanMakeSynonymOf(opt::IRContext* ir_context, in CanMakeSynonymOf()
437 opt::IRContext* ir_context) { in GetBoundForCompositeIndex()
492 bool IsValidAndWellFormed(const opt::IRContext* ir_context, in IsValidAndWellFormed()
553 bool IsNonFunctionTypeId(opt::IRContext* ir_context, uint32_t id) { in IsNonFunctionTypeId()
558 bool IsMergeOrContinue(opt::IRContext* ir_context, uint32_t block_id) { in IsMergeOrContinue()
576 uint32_t GetLoopFromMergeBlock(opt::IRContext* ir_context, in GetLoopFromMergeBlock()
598 uint32_t FindFunctionType(opt::IRContext* ir_context, in FindFunctionType()
633 opt::Function* FindFunction(opt::IRContext* ir_context, uint32_t function_id) { in FindFunction()
818 bool IsNullConstantSupported(opt::IRContext* ir_context, in IsNullConstantSupported()
853 const opt::IRContext* ir_context) { in GlobalVariablesMustBeDeclaredInEntryPointInterfaces()
991 std::vector<opt::Instruction*> GetParameters(opt::IRContext* ir_context, in GetParameters()
1003 void RemoveParameter(opt::IRContext* ir_context, uint32_t parameter_id) { in RemoveParameter()
1017 std::vector<opt::Instruction*> GetCallers(opt::IRContext* ir_context, in GetCallers()
1034 opt::Function* GetFunctionFromParameterId(opt::IRContext* ir_context, in GetFunctionFromParameterId()
1048 uint32_t UpdateFunctionType(opt::IRContext* ir_context, uint32_t function_id, in UpdateFunctionType()
1117 void AddFunctionType(opt::IRContext* ir_context, uint32_t result_id, in AddFunctionType()
1145 uint32_t FindOrCreateFunctionType(opt::IRContext* ir_context, in FindOrCreateFunctionType()
1155 uint32_t MaybeGetIntegerType(opt::IRContext* ir_context, uint32_t width, in MaybeGetIntegerType()
1161 uint32_t MaybeGetFloatType(opt::IRContext* ir_context, uint32_t width) { in MaybeGetFloatType()
1166 uint32_t MaybeGetBoolType(opt::IRContext* ir_context) { in MaybeGetBoolType()
1171 uint32_t MaybeGetVectorType(opt::IRContext* ir_context, in MaybeGetVectorType()
1186 uint32_t MaybeGetStructType(opt::IRContext* ir_context, in MaybeGetStructType()
1208 uint32_t MaybeGetVoidType(opt::IRContext* ir_context) { in MaybeGetVoidType()
1214 opt::IRContext* ir_context, in MaybeGetZeroConstant()
1316 bool CanCreateConstant(opt::IRContext* ir_context, uint32_t type_id) { in CanCreateConstant()
1348 opt::IRContext* ir_context, in MaybeGetScalarConstant()
1371 opt::IRContext* ir_context, in MaybeGetCompositeConstant()
1404 opt::IRContext* ir_context, in MaybeGetIntegerConstant()
1416 uint32_t MaybeGetIntegerConstantFromValueAndType(opt::IRContext* ir_context, in MaybeGetIntegerConstantFromValueAndType()
1443 opt::IRContext* ir_context, in MaybeGetFloatConstant()
1455 opt::IRContext* ir_context, in MaybeGetBoolConstant()
1496 bool TypesAreEqualUpToSign(opt::IRContext* ir_context, uint32_t type1_id, in TypesAreEqualUpToSign()
1553 opt::Instruction* GetLastInsertBeforeInstruction(opt::IRContext* ir_context, in GetLastInsertBeforeInstruction()
1578 bool IdUseCanBeReplaced(opt::IRContext* ir_context, in IdUseCanBeReplaced()
1715 bool MembersHaveBuiltInDecoration(opt::IRContext* ir_context, in MembersHaveBuiltInDecoration()
1740 bool HasBlockOrBufferBlockDecoration(opt::IRContext* ir_context, uint32_t id) { in HasBlockOrBufferBlockDecoration()
1897 std::set<uint32_t> GetReachableReturnBlocks(opt::IRContext* ir_context, in GetReachableReturnBlocks()
1914 bool NewTerminatorPreservesDominationRules(opt::IRContext* ir_context, in NewTerminatorPreservesDominationRules()
2012 opt::Module::iterator GetFunctionIterator(opt::IRContext* ir_context, in GetFunctionIterator()
2096 bool TypesAreCompatible(opt::IRContext* ir_context, SpvOp opcode, in TypesAreCompatible()