reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
125 if (V.getType().isSignedIntegerTy()) 127 else if (V.getType().isUnsignedIntegerTy()) 129 else if (V.getType().isFloatTy())projects/compiler-rt/lib/ubsan/ubsan_value.cpp
23 CHECK(getType().isSignedIntegerTy()); 28 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth(); 31 if (getType().getIntegerBitWidth() == 64) 34 if (getType().getIntegerBitWidth() == 128) 44 CHECK(getType().isUnsignedIntegerTy()); 47 if (getType().getIntegerBitWidth() == 64) 50 if (getType().getIntegerBitWidth() == 128) 60 if (getType().isUnsignedIntegerTy()) 71 CHECK(getType().isFloatTy()); 73 switch (getType().getFloatBitWidth()) { 102 switch (getType().getFloatBitWidth()) {projects/compiler-rt/lib/ubsan/ubsan_value.h
152 CHECK(getType().isIntegerTy()); 154 const unsigned Bits = getType().getIntegerBitWidth(); 160 CHECK(getType().isFloatTy()); 162 const unsigned Bits = getType().getFloatBitWidth(); 182 return getType().isSignedIntegerTy() && getSIntValue() == -1; 187 return getType().isSignedIntegerTy() && getSIntValue() < 0;