Searched defs:IsSigned (Results 1 - 25 of 32) 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::__anon5132
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(), StorageOffset() {}
87 CGBitFieldInfo(unsigned Offset, unsigned Size, bool IsSigned, argument
89 : Offset(Offset), Size(Size), IsSigned(IsSigned),
H A DCGRecordLayoutBuilder.cpp227 Info.IsSigned = FD->getType()->isSignedIntegerOrEnumerationType();
659 bool IsSigned = FD->getType()->isSignedIntegerOrEnumerationType(); local
682 return CGBitFieldInfo(Offset, Size, IsSigned, StorageSize, StorageOffset);
853 << " IsSigned:" << IsSigned
/external/v8/src/
H A Dmachine-type.h61 bool IsSigned() { function in class:v8::internal::MachineType
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp202 bool IsSigned = TI.isTypeSigned(Ty); local
204 for (const char *Fmt = IsSigned ? "di" : "ouxX"; *Fmt; ++Fmt) {
230 bool IsSigned = TI.isTypeSigned(Ty); local
235 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
237 const char *Prefix = IsSigned ? "__INT" : "__UINT";
250 bool IsSigned = TI.isTypeSigned(Ty); local
255 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
257 const char *Prefix = IsSigned ? "__INT" : "__UINT";
261 static void DefineLeastWidthIntType(unsigned TypeWidth, bool IsSigned, argument
264 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
274 DefineFastIntType(unsigned TypeWidth, bool IsSigned, const TargetInfo &TI, MacroBuilder &Builder) argument
[all...]
/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cc111 bool IsSigned = Data->Type.isSignedIntegerTy(); local
112 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
122 << (IsSigned ? "signed" : "unsigned")
145 bool IsSigned = Data->Type.isSignedIntegerTy(); local
146 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow
154 if (IsSigned)
/external/llvm/include/llvm/Transforms/Utils/
H A DLoopUtils.h89 RecurrenceType(nullptr), IsSigned(false) {}
95 UnsafeAlgebraInst(UAI), RecurrenceType(RT), IsSigned(Signed) {
210 /// source operands are added to CI, and IsSigned is updated to indicate if
213 Type *RT, bool &IsSigned,
226 bool isSigned() { return IsSigned; }
243 bool IsSigned; member in class:llvm::RecurrenceDescriptor
/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp77 bool IsSigned);
237 bool IsSigned) {
253 if ((!IsSigned || SE->isKnownNonNegative(S)) &&
254 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT,
260 if (IsSigned && !SE->isKnownNonNegative(LessOne))
263 if (!SE->isKnownPredicate(IsSigned ?
293 bool IsSigned = Rem->getOpcode() == Instruction::SRem; local
294 if (IsSigned || Rem->getOpcode() == Instruction::URem) {
295 eliminateIVRemainder(Rem, IVOperand, IsSigned);
235 eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand, bool IsSigned) argument
H A DLoopUtils.cpp95 Instruction *Start, Instruction *Exit, Type *RT, bool &IsSigned,
138 if (IsSigned != IsSExtInst)
142 IsSigned = IsSExtInst;
193 bool IsSigned = false; local
345 IsSigned, VisitedInsts, CastInsts))
357 ReduxDesc.getUnsafeAlgebraInst(), RecurrenceType, IsSigned, CastInsts);
94 getSourceExtensionKind( Instruction *Start, Instruction *Exit, Type *RT, bool &IsSigned, SmallPtrSetImpl<Instruction *> &Visited, SmallPtrSetImpl<Instruction *> &CI) argument
/external/ceres-solver/include/ceres/
H A Djet.h657 IsSigned, enumerator in enum:Eigen::NumTraits::__anon831
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp41 LLVMBool IsSigned) {
43 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
73 LLVMBool IsSigned) {
75 if (IsSigned)
39 LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, unsigned long long N, LLVMBool IsSigned) argument
72 LLVMGenericValueToInt(LLVMGenericValueRef GenValRef, LLVMBool IsSigned) argument
/external/llvm/include/llvm/CodeGen/
H A DDIE.h118 static dwarf::Form BestForm(bool IsSigned, uint64_t Int) { argument
119 if (IsSigned) {
/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.cpp4797 bool IsSigned = false; local
4955 IsSigned = true;
4971 if (IsSigned) {
4977 if (IsSigned) {
H A DNVPTXISelLowering.cpp4067 const bool IsSigned = ISD::isSignedIntSetCC(CC);
4071 if (IsSigned)
4077 if (IsSigned)
4123 /// the operands is placed in \p IsSigned.
4126 bool &IsSigned) {
4138 IsSigned = (LHSSign == Signed);
4124 AreMulWideOperandsDemotable(SDValue LHS, SDValue RHS, unsigned OptSize, bool &IsSigned) argument
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp81 bool IsSigned) {
83 if (IsSigned)
93 bool IsSigned) {
102 if (IsSigned && C1.isMinSignedValue() && C2.isAllOnesValue())
105 APInt Remainder(C1.getBitWidth(), /*Val=*/0ULL, IsSigned);
106 if (IsSigned)
808 bool IsSigned = I.getOpcode() == Instruction::SDiv; local
811 if ((IsSigned && match(LHS, m_SDiv(m_Value(X), m_APInt(C1)))) ||
812 (!IsSigned && match(LHS, m_UDiv(m_Value(X), m_APInt(C1))))) {
813 APInt Product(C1->getBitWidth(), /*Val=*/0ULL, IsSigned);
80 MultiplyOverflows(const APInt &C1, const APInt &C2, APInt &Product, bool IsSigned) argument
92 IsMultiple(const APInt &C1, const APInt &C2, APInt &Quotient, bool IsSigned) argument
[all...]
H A DInstCombineCalls.cpp641 InstCombiner::BuilderTy &Builder, bool IsSigned) {
649 Pred = IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
652 Pred = IsSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
655 Pred = IsSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
658 Pred = IsSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE;
640 SimplifyX86vpcom(const IntrinsicInst &II, InstCombiner::BuilderTy &Builder, bool IsSigned) argument
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.h403 /// IsSigned - True if this is a sleb128, false if uleb128.
404 bool IsSigned; member in class:llvm::MCLEBFragment
410 : MCFragment(FT_LEB, false, 0, Sec), Value(&Value_), IsSigned(IsSigned_) {
419 bool isSigned() const { return IsSigned; }
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp103 bool selectFPToInt(const Instruction *I, bool IsSigned);
1033 bool MipsFastISel::selectFPToInt(const Instruction *I, bool IsSigned) { argument
1037 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);
174 unsigned SrcReg, bool IsSigned);
175 unsigned PPCMoveToFPReg(MVT VT, unsigned SrcReg, bool IsSigned);
942 bool IsSigned) {
947 if (!PPCEmitIntExt(MVT::i32, SrcReg, MVT::i64, TmpReg, !IsSigned))
966 if (!IsSigned) {
977 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc))
986 bool PPCFastISel::SelectIToFP(const Instruction *I, bool IsSigned) { argument
1012 if (!IsSigned
941 PPCMoveToFPReg(MVT SrcVT, unsigned SrcReg, bool IsSigned) argument
1060 PPCMoveToIntReg(const Instruction *I, MVT VT, unsigned SrcReg, bool IsSigned) argument
1095 SelectFPToI(const Instruction *I, bool IsSigned) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp780 bool IsSigned = false; // Was a sext user seen before a zext? member in struct:__anon12921::WideIVInfo
789 bool IsSigned = Cast->getOpcode() == Instruction::SExt; local
790 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
813 WI.IsSigned = IsSigned;
818 if (WI.IsSigned != IsSigned)
855 bool IsSigned; member in class:__anon12922::WidenIV
878 IsSigned(WI.IsSigned),
927 createExtendInst(Value *NarrowOper, Type *WideType, bool IsSigned, Instruction *Use) argument
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1075 bool IsSigned = Addr.getExtendType() == AArch64_AM::SXTW || local
1079 MIB.addImm(IsSigned);
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1756 bool IsSigned = I.isSigned(); local
1758 getLowestPossibleValue(IRB, A, Sa, IsSigned),
1759 getHighestPossibleValue(IRB, B, Sb, IsSigned));
1761 getHighestPossibleValue(IRB, A, Sa, IsSigned),
1762 getLowestPossibleValue(IRB, B, Sb, IsSigned));
/external/clang/lib/Sema/
H A DSemaStmt.cpp669 static void AdjustAPSInt(llvm::APSInt &Val, unsigned BitWidth, bool IsSigned) { argument
671 Val.setIsSigned(IsSigned);

Completed in 768 milliseconds

12