Home
last modified time | relevance | path

Searched refs:ZeroAsNull (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h448 bool ZeroAsNull = true);
461 bool ZeroAsNull = true);
464 bool ZeroAsNull = true);
470 bool ZeroAsNull = true);
473 bool ZeroAsNull = true);
H A DSPIRVGlobalRegistry.cpp231 bool ZeroAsNull) { in getOrCreateConstFP() argument
246 if (Val.isPosZero() && ZeroAsNull) { in getOrCreateConstFP()
267 bool ZeroAsNull) { in getOrCreateConstInt() argument
280 if (Val || !ZeroAsNull) { in getOrCreateConstInt()
396 unsigned ElemCnt, bool ZeroAsNull) { in getOrCreateCompositeOrNull() argument
400 bool IsNull = Val->isNullValue() && ZeroAsNull; in getOrCreateCompositeOrNull()
443 bool ZeroAsNull) { in getOrCreateConstVector() argument
455 ZeroAsNull); in getOrCreateConstVector()
462 bool ZeroAsNull) { in getOrCreateConstVector() argument
474 ZeroAsNull); in getOrCreateConstVector()
H A DSPIRVInstructionSelector.cpp1617 bool ZeroAsNull = STI.isOpenCLEnv(); in buildZerosVal() local
1619 return GR.getOrCreateConstVector(0UL, I, ResType, TII, ZeroAsNull); in buildZerosVal()
1620 return GR.getOrCreateConstInt(0, I, ResType, TII, ZeroAsNull); in buildZerosVal()
1640 bool ZeroAsNull = STI.isOpenCLEnv(); in buildZerosValF() local
1643 return GR.getOrCreateConstVector(VZero, I, ResType, TII, ZeroAsNull); in buildZerosValF()
1644 return GR.getOrCreateConstFP(VZero, I, ResType, TII, ZeroAsNull); in buildZerosValF()