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

12

/external/eigen/Eigen/src/Core/
H A DNumTraits.h75 * \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.
92 IsSigned = std::numeric_limits<T>::is_signed, enumerator in enum:Eigen::GenericNumTraits::__anon5176
207 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/swiftshader/third_party/LLVM/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp27 LLVMBool IsSigned) {
29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
59 LLVMBool IsSigned) {
61 if (IsSigned)
25 LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, unsigned long long N, LLVMBool IsSigned) argument
58 LLVMGenericValueToInt(LLVMGenericValueRef GenValRef, LLVMBool IsSigned) argument
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp81 bool IsSigned);
191 bool IsSigned) {
207 if ((!IsSigned || SE->isKnownNonNegative(S)) &&
208 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT,
215 if (IsSigned && !SE->isKnownNonNegative(LessOne))
218 if (!SE->isKnownPredicate(IsSigned ?
253 bool IsSigned = Rem->getOpcode() == Instruction::SRem; local
254 if (IsSigned || Rem->getOpcode() == Instruction::URem) {
255 eliminateIVRemainder(Rem, IVOperand, IsSigned);
422 bool IsSigned local
189 eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand, bool IsSigned) argument
[all...]
/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.h93 RecurrenceType(nullptr), IsSigned(false) {}
99 UnsafeAlgebraInst(UAI), RecurrenceType(RT), IsSigned(Signed) {
221 /// source operands are added to CI, and IsSigned is updated to indicate if
224 Type *RT, bool &IsSigned,
237 bool isSigned() { return IsSigned; }
254 bool IsSigned; member in class:llvm::RecurrenceDescriptor
/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp77 bool IsSigned);
272 bool IsSigned) {
288 if ((!IsSigned || SE->isKnownNonNegative(S)) &&
289 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT,
295 if (IsSigned && !SE->isKnownNonNegative(LessOne))
298 if (!SE->isKnownPredicate(IsSigned ?
430 bool IsSigned = Rem->getOpcode() == Instruction::SRem; local
431 if (IsSigned || Rem->getOpcode() == Instruction::URem) {
432 eliminateIVRemainder(Rem, IVOperand, IsSigned);
270 eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand, bool IsSigned) argument
H A DLoopUtils.cpp102 Instruction *Start, Instruction *Exit, Type *RT, bool &IsSigned,
145 if (IsSigned != IsSExtInst)
149 IsSigned = IsSExtInst;
200 bool IsSigned = false; local
352 IsSigned, VisitedInsts, CastInsts))
364 ReduxDesc.getUnsafeAlgebraInst(), RecurrenceType, IsSigned, CastInsts);
101 getSourceExtensionKind( Instruction *Start, Instruction *Exit, Type *RT, bool &IsSigned, SmallPtrSetImpl<Instruction *> &Visited, SmallPtrSetImpl<Instruction *> &CI) argument
/external/v8/src/
H A Dmachine-type.h74 bool IsSigned() { function in class:v8::internal::MachineRepresentation::MachineType
/external/llvm/include/llvm/MC/
H A DMCFragment.h376 /// IsSigned - True if this is a sleb128, false if uleb128.
377 bool IsSigned; member in class:llvm::MCLEBFragment
383 : MCFragment(FT_LEB, false, 0, Sec), Value(&Value_), IsSigned(IsSigned_) {
392 bool isSigned() const { return IsSigned; }
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp42 LLVMBool IsSigned) {
44 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
74 LLVMBool IsSigned) {
76 if (IsSigned)
40 LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, unsigned long long N, LLVMBool IsSigned) argument
73 LLVMGenericValueToInt(LLVMGenericValueRef GenValRef, LLVMBool IsSigned) argument
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
H A DDIE.h246 static unsigned BestForm(bool IsSigned, uint64_t Int) { argument
247 if (IsSigned) {
/external/llvm/include/llvm/CodeGen/
H A DDIE.h117 static dwarf::Form BestForm(bool IsSigned, uint64_t Int) { argument
118 if (IsSigned) {
/external/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.cpp72 bool IsSigned = (Opcode == AArch64::SBFMXri || Opcode == AArch64::SBFMWri); local
81 if (IsSigned)
87 if (IsSigned)
94 if (Is64Bit && IsSigned)
145 O << '\t' << (IsSigned ? "sbfiz" : "ubfiz") << '\t'
153 O << '\t' << (IsSigned ? "sbfx" : "ubfx") << '\t'
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp2096 bool IsSigned = LdNode->getExtensionType() == ISD::SEXTLOAD; local
2098 EltVT.getSimpleVT(), IsSigned);
4868 bool IsSigned = false; local
5026 IsSigned = true;
5042 if (IsSigned) {
5048 if (IsSigned) {
5201 bool IsSigned) {
5210 return IsSigned ? NVPTX::CVT_s16_s8 : NVPTX::CVT_u16_u8;
5212 return IsSigned ? NVPTX::CVT_s32_s8 : NVPTX::CVT_u32_u8;
5214 return IsSigned
5200 GetConvertOpcode(MVT DestTy, MVT SrcTy, bool IsSigned) argument
[all...]
/external/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp139 unsigned getRegForPromotedValue(const Value *V, bool IsSigned);
500 bool IsSigned) {
501 return IsSigned ? getRegForSignedValue(V) :
499 getRegForPromotedValue(const Value *V, 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)
822 bool IsSigned = I.getOpcode() == Instruction::SDiv; local
825 if ((IsSigned && match(LHS, m_SDiv(m_Value(X), m_APInt(C1)))) ||
826 (!IsSigned && match(LHS, m_UDiv(m_Value(X), m_APInt(C1))))) {
827 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...]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
H A DSPIRVType.h135 IsSigned(ItIsSigned){
139 SPIRVTypeInt():SPIRVType(OC), BitWidth(0), IsSigned(false){}
142 bool isSigned() const { return IsSigned;}
153 _SPIRV_DEF_ENCDEC3(Id, BitWidth, IsSigned)
160 bool IsSigned; // Whether it is signed member in class:SPIRV::SPIRVTypeInt
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp116 bool selectFPToInt(const Instruction *I, bool IsSigned);
1046 bool MipsFastISel::selectFPToInt(const Instruction *I, bool IsSigned) { argument
1050 if (!IsSigned)
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp137 bool SelectIToFP(const Instruction *I, bool IsSigned);
138 bool SelectFPToI(const Instruction *I, bool IsSigned);
175 unsigned SrcReg, bool IsSigned);
176 unsigned PPCMoveToFPReg(MVT VT, unsigned SrcReg, bool IsSigned);
955 bool IsSigned) {
960 if (!PPCEmitIntExt(MVT::i32, SrcReg, MVT::i64, TmpReg, !IsSigned))
979 if (!IsSigned) {
990 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc))
999 bool PPCFastISel::SelectIToFP(const Instruction *I, bool IsSigned) { argument
1025 if (!IsSigned
954 PPCMoveToFPReg(MVT SrcVT, unsigned SrcReg, bool IsSigned) argument
1073 PPCMoveToIntReg(const Instruction *I, MVT VT, unsigned SrcReg, bool IsSigned) argument
1108 SelectFPToI(const Instruction *I, bool IsSigned) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp800 bool IsSigned = false; // Was a sext user seen before a zext? member in struct:__anon13351::WideIVInfo
809 bool IsSigned = Cast->getOpcode() == Instruction::SExt; local
810 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
833 WI.IsSigned = IsSigned;
838 if (WI.IsSigned != IsSigned)
875 bool IsSigned; member in class:__anon13352::WidenIV
898 IsSigned(WI.IsSigned),
947 createExtendInst(Value *NarrowOper, Type *WideType, bool IsSigned, Instruction *Use) argument
[all...]
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVInternal.h385 bool IsSigned; member in struct:SPIRV::BuiltinArgTypeMangleInfo
393 BuiltinArgTypeMangleInfo():IsSigned(true), IsVoidPtr(false), IsEnum(false),
462 Info.IsSigned = !isArgUnsigned(Ndx);
598 std::string getSPIRVFuncName(Op OC, const Type *pRetTy, bool IsSigned = false);
789 std::string getPostfixForReturnType(CallInst *CI, bool IsSigned = false);
790 std::string getPostfixForReturnType(const Type *pRetTy, bool IsSigned = false);
H A DSPIRVUtil.cpp404 getSPIRVFuncName(Op OC, const Type *pRetTy, bool IsSigned) { argument
460 getPostfixForReturnType(CallInst *CI, bool IsSigned) { argument
461 return getPostfixForReturnType(CI->getType(), IsSigned);
464 std::string getPostfixForReturnType(const Type *pRetTy, bool IsSigned) { argument
466 mapLLVMTypeToOCLType(pRetTy, IsSigned);
983 bool Signed = Info.IsSigned;

Completed in 1593 milliseconds

12