Home
last modified time | relevance | path

Searched refs:IsSigned (Results 1 – 24 of 24) sorted by relevance

/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGRecordLayout.h75 unsigned IsSigned : 1; member
85 : Offset(), Size(), IsSigned(), StorageSize(), StorageAlignment() {} in CGBitFieldInfo()
87 CGBitFieldInfo(unsigned Offset, unsigned Size, bool IsSigned, in CGBitFieldInfo()
89 : Offset(Offset), Size(Size), IsSigned(IsSigned), in CGBitFieldInfo()
DCGRecordLayoutBuilder.cpp239 bool IsSigned = FD->getType()->isSignedIntegerOrEnumerationType(); in MakeInfo() local
262 return CGBitFieldInfo(Offset, Size, IsSigned, StorageSize, StorageAlignment); in MakeInfo()
1108 << " IsSigned:" << IsSigned in print()
DCGExpr.cpp1293 if (Info.IsSigned) { in EmitLoadOfBitfieldLValue()
1308 Val = Builder.CreateIntCast(Val, ResLTy, Info.IsSigned, "bf.cast"); in EmitLoadOfBitfieldLValue()
1494 if (Info.IsSigned) { in EmitStoreThroughBitfieldLValue()
1503 ResultVal = Builder.CreateIntCast(ResultVal, ResLTy, Info.IsSigned, in EmitStoreThroughBitfieldLValue()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp77 bool IsSigned);
187 bool IsSigned) { in eliminateIVRemainder() argument
203 if ((!IsSigned || SE->isKnownNonNegative(S)) && in eliminateIVRemainder()
204 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
211 if (IsSigned && !SE->isKnownNonNegative(LessOne)) in eliminateIVRemainder()
214 if (!SE->isKnownPredicate(IsSigned ? in eliminateIVRemainder()
244 bool IsSigned = Rem->getOpcode() == Instruction::SRem; in eliminateIVUser() local
245 if (IsSigned || Rem->getOpcode() == Instruction::URem) { in eliminateIVUser()
246 eliminateIVRemainder(Rem, IVOperand, IsSigned); in eliminateIVUser()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp633 bool IsSigned; // Was an sext user seen before a zext? member
635 WideIVInfo() : NarrowIV(0), WidestNativeType(0), IsSigned(false) {} in WideIVInfo()
658 bool IsSigned = Cast->getOpcode() == Instruction::SExt; in visitCast() local
659 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt) in visitCast()
669 WI.IsSigned = IsSigned; in visitCast()
674 if (WI.IsSigned != IsSigned) in visitCast()
706 bool IsSigned; member in __anon72b39c6c0311::WidenIV
729 IsSigned(WI.IsSigned), in WidenIV()
744 Value *getExtend(Value *NarrowOper, Type *WideType, bool IsSigned,
770 Value *WidenIV::getExtend(Value *NarrowOper, Type *WideType, bool IsSigned, in getExtend() argument
[all …]
DLoopStrengthReduce.cpp1764 bool IsSigned = false; in OptimizeShadowIV() local
1779 IsSigned = false; in OptimizeShadowIV()
1783 IsSigned = true; in OptimizeShadowIV()
1813 Constant *NewInit = ConstantFP::get(DestTy, IsSigned ? in OptimizeShadowIV()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Basic/
DTargetInfo.cpp156 unsigned BitWidth, bool IsSigned) const { in getIntTypeByWidth()
158 return IsSigned ? SignedChar : UnsignedChar; in getIntTypeByWidth()
160 return IsSigned ? SignedShort : UnsignedShort; in getIntTypeByWidth()
162 return IsSigned ? SignedInt : UnsignedInt; in getIntTypeByWidth()
164 return IsSigned ? SignedLong : UnsignedLong; in getIntTypeByWidth()
166 return IsSigned ? SignedLongLong : UnsignedLongLong; in getIntTypeByWidth()
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp133 bool SelectIToFP(const Instruction *I, bool IsSigned);
134 bool SelectFPToI(const Instruction *I, bool IsSigned);
164 unsigned SrcReg, bool IsSigned);
165 unsigned PPCMoveToFPReg(MVT VT, unsigned SrcReg, bool IsSigned);
871 bool IsSigned) { in PPCMoveToFPReg() argument
876 if (!PPCEmitIntExt(MVT::i32, SrcReg, MVT::i64, TmpReg, !IsSigned)) in PPCMoveToFPReg()
895 if (!IsSigned) { in PPCMoveToFPReg()
906 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc)) in PPCMoveToFPReg()
913 bool PPCFastISel::SelectIToFP(const Instruction *I, bool IsSigned) { in SelectIToFP() argument
939 if (!IsSigned && !PPCSubTarget.hasFPCVT()) in SelectIToFP()
[all …]
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp50 LLVMBool IsSigned) { in LLVMCreateGenericValueOfInt() argument
52 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
82 LLVMBool IsSigned) { in LLVMGenericValueToInt() argument
84 if (IsSigned) in LLVMGenericValueToInt()
/freebsd-10-stable/contrib/llvm/include/llvm-c/
DExecutionEngine.h57 LLVMBool IsSigned);
66 LLVMBool IsSigned);
/freebsd-10-stable/contrib/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h304 SDValue LowerFP_TO_INT(SDValue Op, SelectionDAG &DAG, bool IsSigned) const;
315 SDValue LowerINT_TO_FP(SDValue Op, SelectionDAG &DAG, bool IsSigned) const;
DAArch64ISelLowering.cpp2077 bool IsSigned) const { in LowerFP_TO_INT()
2084 if (IsSigned) in LowerFP_TO_INT()
2392 bool IsSigned) const { in LowerINT_TO_FP()
2399 if (IsSigned) in LowerINT_TO_FP()
/freebsd-10-stable/contrib/llvm/lib/CodeGen/AsmPrinter/
DDIE.h235 static dwarf::Form BestForm(bool IsSigned, uint64_t Int) { in BestForm() argument
236 if (IsSigned) { in BestForm()
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DScalarEvolution.cpp4616 bool IsSigned = Cond == ICmpInst::ICMP_SLT; in ComputeExitLimitFromICmp() local
4617 ExitLimit EL = HowManyLessThans(LHS, RHS, L, IsSigned, IsSubExpr); in ComputeExitLimitFromICmp()
4623 bool IsSigned = Cond == ICmpInst::ICMP_SGT; in ComputeExitLimitFromICmp() local
4624 ExitLimit EL = HowManyGreaterThans(LHS, RHS, L, IsSigned, IsSubExpr); in ComputeExitLimitFromICmp()
6341 bool IsSigned, bool NoWrap) { in doesIVOverflowOnLT() argument
6347 if (IsSigned) { in doesIVOverflowOnLT()
6370 bool IsSigned, bool NoWrap) { in doesIVOverflowOnGT() argument
6376 if (IsSigned) { in doesIVOverflowOnGT()
6414 const Loop *L, bool IsSigned, in HowManyLessThans() argument
6427 IV->getNoWrapFlags(IsSigned ? SCEV::FlagNSW : SCEV::FlagNUW); in HowManyLessThans()
[all …]
/freebsd-10-stable/contrib/llvm/include/llvm/MC/
DMCAssembler.h451 bool IsSigned; variable
457 Value(&Value_), IsSigned(IsSigned_) { Contents.push_back(0); } in MCFragment()
464 bool isSigned() const { return IsSigned; } in isSigned()
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/
DScalarEvolution.h887 bool IsSigned, bool NoWrap);
893 bool IsSigned, bool NoWrap);
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp46 bool IsSigned) { in HasAddOverflow() argument
47 if (!IsSigned) in HasAddOverflow()
58 Constant *In2, bool IsSigned = false) { in AddWithOverflow() argument
67 IsSigned)) in AddWithOverflow()
75 IsSigned); in AddWithOverflow()
80 bool IsSigned) { in HasSubOverflow() argument
81 if (!IsSigned) in HasSubOverflow()
93 Constant *In2, bool IsSigned = false) { in SubWithOverflow() argument
102 IsSigned)) in SubWithOverflow()
110 IsSigned); in SubWithOverflow()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
DTargetInfo.h231 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const;
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1453 bool IsSigned = I.isSigned(); in handleRelationalComparisonExact() local
1455 getLowestPossibleValue(IRB, A, Sa, IsSigned), in handleRelationalComparisonExact()
1456 getHighestPossibleValue(IRB, B, Sb, IsSigned)); in handleRelationalComparisonExact()
1458 getHighestPossibleValue(IRB, A, Sa, IsSigned), in handleRelationalComparisonExact()
1459 getLowestPossibleValue(IRB, B, Sb, IsSigned)); in handleRelationalComparisonExact()
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h774 SDValue Value, bool IsSigned);
DSelectionDAGBuilder.cpp5502 bool IsSigned) { in processIntegerCallValue() argument
5504 if (IsSigned) in processIntegerCallValue()
/freebsd-10-stable/contrib/llvm/patches/
Dpatch-r267981-llvm-r211435-fix-ppc-fctiduz.diff35 + if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget.hasFPCVT())
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaStmt.cpp655 static void AdjustAPSInt(llvm::APSInt &Val, unsigned BitWidth, bool IsSigned) { in AdjustAPSInt() argument
660 Val.setIsSigned(IsSigned); in AdjustAPSInt()
/freebsd-10-stable/contrib/llvm/lib/Target/X86/
DX86ISelLowering.cpp8792 bool IsSigned, bool IsReplace) const { in FP_TO_INTHelper() argument
8797 if (!IsSigned && !isIntegerTypeFTOL(DstTy)) { in FP_TO_INTHelper()
8823 if (!IsSigned && isIntegerTypeFTOL(DstTy)) in FP_TO_INTHelper()
13547 bool IsSigned = N->getOpcode() == ISD::FP_TO_SINT; in ReplaceNodeResults() local
13549 if (!IsSigned && !isIntegerTypeFTOL(SDValue(N, 0).getValueType())) in ReplaceNodeResults()
13553 FP_TO_INTHelper(SDValue(N, 0), DAG, IsSigned, /*IsReplace=*/ true); in ReplaceNodeResults()