Searched defs:IsSigned (Results 1 - 25 of 29) sorted by relevance

12

/external/eigen/Eigen/src/Core/
H A DNumTraits.h42 * \li An enum value \a IsSigned. It is equal to \c 1 if \a T is a signed type and to 0 if \a T is unsigned.
55 IsSigned = std::numeric_limits<T>::is_signed, enumerator in enum:Eigen::GenericNumTraits::__anon4047
137 IsSigned = NumTraits<Scalar>::IsSigned,
/external/clang/lib/CodeGen/
H A DCGRecordLayout.h75 unsigned IsSigned : 1; member in struct:clang::CodeGen::CGBitFieldInfo
85 : Offset(), Size(), IsSigned(), StorageSize(), StorageAlignment() {}
87 CGBitFieldInfo(unsigned Offset, unsigned Size, bool IsSigned, argument
89 : Offset(Offset), Size(Size), IsSigned(IsSigned),
H A DCGRecordLayoutBuilder.cpp216 Info.IsSigned = FD->getType()->isSignedIntegerOrEnumerationType();
643 bool IsSigned = FD->getType()->isSignedIntegerOrEnumerationType(); local
666 return CGBitFieldInfo(Offset, Size, IsSigned, StorageSize, StorageAlignment);
837 << " IsSigned:" << IsSigned
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp200 bool IsSigned = TI.isTypeSigned(Ty); local
202 for (const char *Fmt = IsSigned ? "di" : "ouxX"; *Fmt; ++Fmt) {
228 bool IsSigned = TI.isTypeSigned(Ty); local
233 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
235 const char *Prefix = IsSigned ? "__INT" : "__UINT";
248 bool IsSigned = TI.isTypeSigned(Ty); local
253 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
255 const char *Prefix = IsSigned ? "__INT" : "__UINT";
259 static void DefineLeastWidthIntType(unsigned TypeWidth, bool IsSigned, argument
262 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
272 DefineFastIntType(unsigned TypeWidth, bool IsSigned, const TargetInfo &TI, MacroBuilder &Builder) argument
[all...]
/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp75 bool IsSigned);
189 bool IsSigned) {
205 if ((!IsSigned || SE->isKnownNonNegative(S)) &&
206 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT,
213 if (IsSigned && !SE->isKnownNonNegative(LessOne))
216 if (!SE->isKnownPredicate(IsSigned ?
246 bool IsSigned = Rem->getOpcode() == Instruction::SRem; local
247 if (IsSigned || Rem->getOpcode() == Instruction::URem) {
248 eliminateIVRemainder(Rem, IVOperand, IsSigned);
187 eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand, bool IsSigned) argument
/external/ceres-solver/include/ceres/
H A Djet.h657 IsSigned, enumerator in enum:Eigen::NumTraits::__anon517
/external/llvm/include/llvm/CodeGen/
H A DDIE.h256 static dwarf::Form BestForm(bool IsSigned, uint64_t Int) { argument
257 if (IsSigned) {
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp40 LLVMBool IsSigned) {
42 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
72 LLVMBool IsSigned) {
74 if (IsSigned)
38 LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, unsigned long long N, LLVMBool IsSigned) argument
71 LLVMGenericValueToInt(LLVMGenericValueRef GenValRef, LLVMBool IsSigned) argument
/external/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.cpp71 bool IsSigned = (Opcode == AArch64::SBFMXri || Opcode == AArch64::SBFMWri); local
80 if (IsSigned)
86 if (IsSigned)
93 if (Is64Bit && IsSigned)
144 O << '\t' << (IsSigned ? "sbfiz" : "ubfiz") << '\t'
152 O << '\t' << (IsSigned ? "sbfx" : "ubfx") << '\t'
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp4735 bool IsSigned = false; local
4893 IsSigned = true;
4909 if (IsSigned) {
4915 if (IsSigned) {
H A DNVPTXISelLowering.cpp4060 /// the operands is placed in \p IsSigned.
4063 bool &IsSigned) {
4075 IsSigned = (LHSSign == Signed);
4061 AreMulWideOperandsDemotable(SDValue LHS, SDValue RHS, unsigned OptSize, bool &IsSigned) argument
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp82 bool IsSigned) {
84 if (IsSigned)
94 bool IsSigned) {
98 APInt Remainder(C1.getBitWidth(), /*Val=*/0ULL, IsSigned);
99 if (IsSigned)
798 bool IsSigned = I.getOpcode() == Instruction::SDiv; local
801 if ((IsSigned && match(LHS, m_SDiv(m_Value(X), m_APInt(C1)))) ||
802 (!IsSigned && match(LHS, m_UDiv(m_Value(X), m_APInt(C1))))) {
803 APInt Product(C1->getBitWidth(), /*Val=*/0ULL, IsSigned);
804 if (!MultiplyOverflows(*C1, *C2, Product, IsSigned))
81 MultiplyOverflows(const APInt &C1, const APInt &C2, APInt &Product, bool IsSigned) argument
93 IsMultiple(const APInt &C1, const APInt &C2, APInt &Quotient, bool IsSigned) argument
[all...]
H A DInstCombineCompares.cpp49 bool IsSigned) {
50 if (!IsSigned)
61 Constant *In2, bool IsSigned = false) {
70 IsSigned))
78 IsSigned);
83 bool IsSigned) {
84 if (!IsSigned)
96 Constant *In2, bool IsSigned = false) {
105 IsSigned))
113 IsSigned);
47 HasAddOverflow(ConstantInt *Result, ConstantInt *In1, ConstantInt *In2, bool IsSigned) argument
81 HasSubOverflow(ConstantInt *Result, ConstantInt *In1, ConstantInt *In2, bool IsSigned) argument
[all...]
/external/llvm/include/llvm/MC/
H A DMCAssembler.h462 /// IsSigned - True if this is a sleb128, false if uleb128.
463 bool IsSigned; member in class:llvm::MCLEBFragment
470 Value(&Value_), IsSigned(IsSigned_) { Contents.push_back(0); }
477 bool isSigned() const { return IsSigned; }
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp99 bool selectFPToInt(const Instruction *I, bool IsSigned);
897 bool MipsFastISel::selectFPToInt(const Instruction *I, bool IsSigned) { argument
901 if (!IsSigned)
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp136 bool SelectIToFP(const Instruction *I, bool IsSigned);
137 bool SelectFPToI(const Instruction *I, bool IsSigned);
169 unsigned SrcReg, bool IsSigned);
170 unsigned PPCMoveToFPReg(MVT VT, unsigned SrcReg, bool IsSigned);
919 bool IsSigned) {
924 if (!PPCEmitIntExt(MVT::i32, SrcReg, MVT::i64, TmpReg, !IsSigned))
943 if (!IsSigned) {
954 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc))
963 bool PPCFastISel::SelectIToFP(const Instruction *I, bool IsSigned) { argument
989 if (!IsSigned
918 PPCMoveToFPReg(MVT SrcVT, unsigned SrcReg, bool IsSigned) argument
1037 PPCMoveToIntReg(const Instruction *I, MVT VT, unsigned SrcReg, bool IsSigned) argument
1072 SelectFPToI(const Instruction *I, bool IsSigned) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp654 bool IsSigned; // Was a sext user seen before a zext? member in struct:__anon11018::WideIVInfo
657 IsSigned(false) {}
666 bool IsSigned = Cast->getOpcode() == Instruction::SExt; local
667 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
690 WI.IsSigned = IsSigned;
695 if (WI.IsSigned != IsSigned)
727 bool IsSigned; member in class:__anon11019::WidenIV
750 IsSigned(W
796 getExtend(Value *NarrowOper, Type *WideType, bool IsSigned, Instruction *Use) argument
[all...]
H A DLoopStrengthReduce.cpp1828 bool IsSigned = false; local
1843 IsSigned = false;
1847 IsSigned = true;
1877 Constant *NewInit = ConstantFP::get(DestTy, IsSigned ?
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1070 bool IsSigned = Addr.getExtendType() == AArch64_AM::SXTW || local
1074 MIB.addImm(IsSigned);
H A DAArch64ISelLowering.cpp1296 bool IsSigned = Op.getOpcode() == ISD::SMULO; local
1298 unsigned ExtendOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND;
1313 if (IsSigned) {
1347 if (IsSigned) {
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp1493 bool IsSigned = ET == AArch64_AM::SXTW || ET == AArch64_AM::SXTX; local
1494 Inst.addOperand(MCOperand::CreateImm(IsSigned));
1505 bool IsSigned = ET == AArch64_AM::SXTW || ET == AArch64_AM::SXTX; local
1506 Inst.addOperand(MCOperand::CreateImm(IsSigned));
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1695 bool IsSigned = I.isSigned(); local
1697 getLowestPossibleValue(IRB, A, Sa, IsSigned),
1698 getHighestPossibleValue(IRB, B, Sb, IsSigned));
1700 getHighestPossibleValue(IRB, A, Sa, IsSigned),
1701 getLowestPossibleValue(IRB, B, Sb, IsSigned));
/external/clang/lib/Sema/
H A DSemaOpenMP.cpp5528 bool IsSigned = Type->hasSignedIntegerRepresentation(); local
5531 Context.getIntTypeForBitwidth(Size, /*Signed=*/IsSigned);
5534 ? IsSigned ? llvm::APInt::getSignedMinValue(Size)
5536 : IsSigned ? llvm::APInt::getSignedMaxValue(Size)
H A DSemaStmt.cpp666 static void AdjustAPSInt(llvm::APSInt &Val, unsigned BitWidth, bool IsSigned) { argument
668 Val.setIsSigned(IsSigned);
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c877 value IsSigned) {
878 return LLVMConstIntCast(CV, T, Bool_val(IsSigned));
876 llvm_const_intcast(LLVMValueRef CV, LLVMTypeRef T, value IsSigned) argument

Completed in 8956 milliseconds

12