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.h476 bool ZeroAsNull);
481 bool ZeroAsNull = true);
514 bool ZeroAsNull = true);
517 bool ZeroAsNull = true);
520 bool ZeroAsNull);
523 bool ZeroAsNull = true);
526 bool ZeroAsNull);
532 bool ZeroAsNull = true);
535 bool ZeroAsNull = true);
H A DSPIRVGlobalRegistry.cpp286 bool ZeroAsNull) { in getOrCreateConstFP() argument
293 return createConstFP(CF, I, SpvType, TII, ZeroAsNull); in getOrCreateConstFP()
299 bool ZeroAsNull) { in createConstFP() argument
312 if (CF->getValue().isPosZero() && ZeroAsNull) { in createConstFP()
337 bool ZeroAsNull) { in getOrCreateConstInt() argument
344 return createConstInt(CI, I, SpvType, TII, ZeroAsNull); in getOrCreateConstInt()
351 bool ZeroAsNull) { in createConstInt() argument
369 } else if (!CI->isZero() || !ZeroAsNull) { in createConstInt()
392 bool ZeroAsNull) { in buildConstantInt() argument
415 if (Val || !ZeroAsNull) { in buildConstantInt()
[all …]
H A DSPIRVInstructionSelector.cpp2077 bool ZeroAsNull = !STI.isShader(); in selectDot4AddPackedExpansion() local
2087 .addUse(GR.getOrCreateConstInt(i * 8, I, EltType, TII, ZeroAsNull)) in selectDot4AddPackedExpansion()
2088 .addUse(GR.getOrCreateConstInt(8, I, EltType, TII, ZeroAsNull)) in selectDot4AddPackedExpansion()
2098 .addUse(GR.getOrCreateConstInt(i * 8, I, EltType, TII, ZeroAsNull)) in selectDot4AddPackedExpansion()
2099 .addUse(GR.getOrCreateConstInt(8, I, EltType, TII, ZeroAsNull)) in selectDot4AddPackedExpansion()
2118 .addUse(GR.getOrCreateConstInt(0, I, EltType, TII, ZeroAsNull)) in selectDot4AddPackedExpansion()
2119 .addUse(GR.getOrCreateConstInt(8, I, EltType, TII, ZeroAsNull)) in selectDot4AddPackedExpansion()
2521 bool ZeroAsNull = !STI.isShader(); in buildZerosVal() local
2523 return GR.getOrCreateConstVector(0UL, I, ResType, TII, ZeroAsNull); in buildZerosVal()
2524 return GR.getOrCreateConstInt(0, I, ResType, TII, ZeroAsNull); in buildZerosVal()
[all …]