/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | APSIntType.cpp | 21 Value.isSigned() && Value.isNegative()) 26 if (Value.isSigned() && !IsUnsigned) 36 if (Value.isSigned()) 45 if (Value.isSigned() && Value.isNegative())
|
H A D | BasicValueFactory.cpp | 175 if (V2.isSigned() && V2.isNegative()) 193 if (V2.isSigned() && V2.isNegative())
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 93 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) || 94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || 95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1));
|
/freebsd-10.0-release/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCInst.cpp | 151 unsigned isSigned = (F >> HexagonII::ExtentSignedPos) local 156 if (isSigned) // if value is signed 166 unsigned isSigned = (F >> HexagonII::ExtentSignedPos) local 171 if (isSigned) // if value is signed
|
/freebsd-10.0-release/contrib/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 55 bool isSigned() const { return !IsUnsigned; } function in class:llvm::APSInt 62 APInt::toString(Str, Radix, isSigned()); 67 return APInt::toString(Radix, isSigned()); 269 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned()) 280 if (I1.isSigned()) { 306 I.print(OS, I.isSigned());
|
H A D | PackedVector.h | 22 template <typename T, unsigned BitNum, typename BitVectorTy, bool isSigned>
|
H A D | APInt.h | 180 void initSlowCase(unsigned numBits, uint64_t val, bool isSigned); 221 /// If isSigned is true then val is treated as if it were a signed value 227 /// @param isSigned how to treat signedness of val 229 APInt(unsigned numBits, uint64_t val, bool isSigned = false) 235 initSlowCase(numBits, val, isSigned); 1282 void print(raw_ostream &OS, bool isSigned) const; 1311 double roundToDouble(bool isSigned) const;
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 97 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned); 99 unsigned NumOps, bool isSigned, DebugLoc dl); 102 SDNode *Node, bool isSigned); 107 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned, 122 SDValue ExpandLegalINT_TO_FP(bool isSigned, SDValue LegalOp, EVT DestVT, 124 SDValue PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, bool isSigned, 126 SDValue PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, bool isSigned, 1851 bool isSigned) { 1858 Entry.isSExt = isSigned; 1859 Entry.isZExt = !isSigned; [all...] |
H A D | LegalizeTypes.cpp | 1049 bool isSigned) { 1053 return TLI.makeLibCall(DAG, LC, N->getValueType(0), 0, 0, isSigned, dl); 1056 return TLI.makeLibCall(DAG, LC, N->getValueType(0), &Op, 1, isSigned, dl); 1059 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, 2, isSigned, dl); 1066 &Ops[0], NumOps, isSigned, dl); 1074 bool isSigned) { 1084 Entry.isSExt = isSigned; 1085 Entry.isZExt = !isSigned; 1093 CallLoweringInfo CLI(InChain, RetTy, isSigned, !isSigned, fals 1048 LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned) argument 1072 ExpandChainLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned) argument [all...] |
/freebsd-10.0-release/contrib/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 1335 bool isSigned) { 1351 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; 1355 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; 1366 evaluateICmpRelation(V2, V1, isSigned); 1373 evaluateICmpRelation(V2, V1, isSigned); 1399 evaluateICmpRelation(V2, V1, isSigned); 1443 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false; 1444 if (CE1->getOpcode() == Instruction::SExt) isSigned = true; 1447 isSigned); 1461 return isSigned 1334 evaluateICmpRelation(Constant *V1, Constant *V2, bool isSigned) argument [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 482 bool isSigned, ///< Whether to regard S as signed or not 491 bool isSigned, ///< Whether to regard S as signed or not 774 bool isSigned() const { function in class:llvm::CmpInst 775 return isSigned(getPredicate()); 802 static bool isSigned(unsigned short predicate);
|
H A D | Constants.h | 70 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); 74 /// to fit the type, unless isSigned is true, in which case the value will 79 bool isSigned = false); 187 bool isMaxValue(bool isSigned) const { 188 if (isSigned) 199 bool isMinValue(bool isSigned) const { 200 if (isSigned) 957 bool isSigned ///< Whether C should be treated as signed or not
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | ConstantFolder.h | 163 bool isSigned) const { 164 return ConstantExpr::getIntegerCast(C, DestTy, isSigned);
|
H A D | TargetFolder.h | 174 bool isSigned) const { 177 return Fold(ConstantExpr::getIntegerCast(C, DestTy, isSigned));
|
H A D | NoFolder.h | 222 bool isSigned) const { 223 return CastInst::CreateIntegerCast(C, DestTy, isSigned);
|
/freebsd-10.0-release/contrib/llvm/lib/Support/ |
H A D | APFloat.cpp | 1947 bool isSigned, 2019 if (!isSigned) { 2037 if (omsb >= width + !isSigned) 2059 bool isSigned, 2064 fs = convertToSignExtendedInteger(parts, width, isSigned, rounding_mode, 2075 bits = isSigned; 2077 bits = width - isSigned; 2080 if (sign && isSigned) 2098 parts.data(), bitWidth, result.isSigned(), rounding_mode, isExact); 2140 bool isSigned, [all...] |
H A D | APInt.cpp | 76 void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) { argument 79 if (isSigned && int64_t(val) < 0) 858 double APInt::roundToDouble(bool isSigned) const { 863 if (isSigned) { 871 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; 886 if (!isSigned || !isNeg) 2261 void APInt::print(raw_ostream &OS, bool isSigned) const { 2263 this->toString(S, 10, isSigned, /* formatAsCLiteral = */false);
|
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 164 bool SelectIToFP(const Instruction *I, bool isSigned); 165 bool SelectFPToI(const Instruction *I, bool isSigned); 166 bool SelectDiv(const Instruction *I, bool isSigned); 167 bool SelectRem(const Instruction *I, bool isSigned); 1586 bool ARMFastISel::SelectIToFP(const Instruction *I, bool isSigned) { argument 1609 /*isZExt*/!isSigned); 1619 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS; 1620 else if (Ty->isDoubleTy()) Opc = isSigned ? ARM::VSITOD : ARM::VUITOD; 1631 bool ARMFastISel::SelectFPToI(const Instruction *I, bool isSigned) { argument 1645 if (OpTy->isFloatTy()) Opc = isSigned 1725 SelectDiv(const Instruction *I, bool isSigned) argument 1753 SelectRem(const Instruction *I, bool isSigned) argument [all...] |
H A D | ARMBaseRegisterInfo.cpp | 616 bool isSigned = true; local 645 isSigned = false; 657 if (isSigned && Offset < 0)
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 271 /// (V-Lo) \<u Hi-Lo. This method expects that Lo <= Hi. isSigned indicates 275 bool isSigned, bool Inside) { 276 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ? 285 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) { 286 ICmpInst::Predicate pred = (isSigned ? 303 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) { 304 ICmpInst::Predicate pred = (isSigned ? 715 bool isSigned = LHS->isSigned() || RHS->isSigned(); local 274 InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, bool isSigned, bool Inside) argument 1473 bool isSigned = LHS->isSigned() || RHS->isSigned(); local 2331 bool isSigned = LHS->isSigned() || RHS->isSigned(); local [all...] |
H A D | InstCombine.h | 371 bool isSigned, bool Inside); 379 Value *EvaluateInDifferentType(Value *V, Type *Ty, bool isSigned);
|
H A D | InstCombineCompares.cpp | 146 if (!ICmpInst::isSigned(pred)) 614 if (ICmpInst::isSigned(Cond)) 821 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) 979 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr)) 1114 ICmpInst::Predicate Pred = ICI.isSigned() 1125 ICmpInst::Predicate Pred = ICI.isSigned() 1464 if (ICI.isSigned()) { 1687 bool isSignedCmp = ICI.isSigned(); 2085 if (I.isSigned()) { 2281 if (I.isSigned() [all...] |
H A D | InstCombineCasts.cpp | 161 bool isSigned) { 163 C = ConstantExpr::getIntegerCast(C, Ty, isSigned /*Sext or ZExt*/); 186 Value *LHS = EvaluateInDifferentType(I->getOperand(0), Ty, isSigned); 187 Value *RHS = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned); 206 Value *True = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned); 207 Value *False = EvaluateInDifferentType(I->getOperand(2), Ty, isSigned); 215 Value *V =EvaluateInDifferentType(OPN->getIncomingValue(i), Ty, isSigned); 1405 return CastInst::CreateIntegerCast(P, CI.getType(), /*isSigned=*/false); 160 EvaluateInDifferentType(Value *V, Type *Ty, bool isSigned) argument
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 497 /// computable, return CouldNotCompute. isSigned specifies whether the 500 const Loop *L, bool isSigned, bool IsSubExpr); 576 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 169 /// signedness of 'isSigned' and with a value suffix of 'ValSuffix' (e.g. LL). 171 StringRef ValSuffix, bool isSigned, 173 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) 175 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix); 170 DefineTypeSize(StringRef MacroName, unsigned TypeWidth, StringRef ValSuffix, bool isSigned, MacroBuilder &Builder) argument
|