- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for IsBoolean (0.11 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt
val constantValue = when { value == null -> KaConstantValue.KaNullConstantValue(expression) type == null -> KaConstantValueFactory.createConstantValue(value, psi as? KtElement) type.isBoolean -> KaConstantValue.KaBooleanConstantValue(value as Boolean, expression) type.isChar -> KaConstantValue.KaCharConstantValue((value as? Char) ?: (value as Number).toInt().toChar(), expression)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 11.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(Load <t> ptr mem) && is16BitInt(t) && t.IsSigned() => (MOVHload ptr mem) (Load <t> ptr mem) && is16BitInt(t) && !t.IsSigned() => (MOVHZload ptr mem) (Load <t> ptr mem) && t.IsBoolean() => (MOVBZload ptr mem) (Load <t> ptr mem) && is8BitInt(t) && t.IsSigned() => (MOVBreg (MOVBZload ptr mem)) // PPC has no signed-byte load. (Load <t> ptr mem) && is8BitInt(t) && !t.IsSigned() => (MOVBZload ptr mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
// a register. It assumes float64 values will always fit into registers // even if that isn't strictly true. func registerizable(b *Block, typ *types.Type) bool { if typ.IsPtrShaped() || typ.IsFloat() || typ.IsBoolean() { return true } if typ.IsInteger() { return typ.Size() <= b.Func.Config.RegSize } return false } // needRaceCleanup reports whether this call to racefuncenter/exit isn't needed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
} return s.newValue0I(ssa.OpConst64, types.Types[types.TUINTPTR], int64(v)) } func (s *state) conv(n ir.Node, v *ssa.Value, ft, tt *types.Type) *ssa.Value { if ft.IsBoolean() && tt.IsKind(types.TUINT8) { // Bool -> uint8 is generated internally when indexing into runtime.staticbyte. return s.newValue1(ssa.OpCvtBoolToUint8, tt, v) } if ft.IsInteger() && tt.IsInteger() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64.go
break } v.reset(OpPPC64MOVHZload) v.AddArg2(ptr, mem) return true } // match: (Load <t> ptr mem) // cond: t.IsBoolean() // result: (MOVBZload ptr mem) for { t := v.Type ptr := v_0 mem := v_1 if !(t.IsBoolean()) { break } v.reset(OpPPC64MOVBZload) v.AddArg2(ptr, mem) return true } // match: (Load <t> ptr mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0)