Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGRecordLayout.h97 bool IsSigned : 1; variable
101 bool IsSigned) : Size(Size), NumComponents(NumComponents), in CGBitFieldInfo() argument
102 IsSigned(IsSigned) { in CGBitFieldInfo()
131 bool isSigned() const { return IsSigned; } in isSigned()
DCGRecordLayoutBuilder.cpp243 bool IsSigned = FD->getType()->isSignedIntegerOrEnumerationType(); in MakeInfo() local
353 return CGBitFieldInfo(FieldSize, NumComponents, Components, IsSigned); in MakeInfo()
1142 OS << " IsSigned:" << IsSigned << "\n"; in print()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp79 bool IsSigned);
189 bool IsSigned) { in eliminateIVRemainder() argument
205 if ((!IsSigned || SE->isKnownNonNegative(S)) && in eliminateIVRemainder()
206 SE->isKnownPredicate(IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, in eliminateIVRemainder()
213 if (IsSigned && !SE->isKnownNonNegative(LessOne)) in eliminateIVRemainder()
216 if (!SE->isKnownPredicate(IsSigned ? in eliminateIVRemainder()
246 bool IsSigned = Rem->getOpcode() == Instruction::SRem; in eliminateIVUser() local
247 if (IsSigned || Rem->getOpcode() == Instruction::URem) { in eliminateIVUser()
248 eliminateIVRemainder(Rem, IVOperand, IsSigned); in eliminateIVUser()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp591 bool IsSigned; // Was an sext user seen before a zext? member
593 WideIVInfo() : NarrowIV(0), WidestNativeType(0), IsSigned(false) {} in WideIVInfo()
616 bool IsSigned = Cast->getOpcode() == Instruction::SExt; in visitCast() local
617 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt) in visitCast()
627 WI.IsSigned = IsSigned; in visitCast()
632 if (WI.IsSigned != IsSigned) in visitCast()
664 bool IsSigned; member in __anon5f70900a0311::WidenIV
687 IsSigned(WI.IsSigned), in WidenIV()
702 Value *getExtend(Value *NarrowOper, Type *WideType, bool IsSigned,
728 Value *WidenIV::getExtend(Value *NarrowOper, Type *WideType, bool IsSigned, in getExtend() argument
[all …]
DLoopStrengthReduce.cpp1621 bool IsSigned = false; in OptimizeShadowIV() local
1636 IsSigned = false; in OptimizeShadowIV()
1640 IsSigned = true; in OptimizeShadowIV()
1673 Constant *NewInit = ConstantFP::get(DestTy, IsSigned ? in OptimizeShadowIV()
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp27 LLVMBool IsSigned) { in LLVMCreateGenericValueOfInt() argument
29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
59 LLVMBool IsSigned) { in LLVMGenericValueToInt() argument
61 if (IsSigned) in LLVMGenericValueToInt()
/external/llvm/include/llvm-c/
DExecutionEngine.h46 LLVMBool IsSigned);
55 LLVMBool IsSigned);
/external/llvm/lib/CodeGen/AsmPrinter/
DDIE.h236 static unsigned BestForm(bool IsSigned, uint64_t Int) { in BestForm() argument
237 if (IsSigned) { in BestForm()
/external/llvm/include/llvm/MC/
DMCAssembler.h352 bool IsSigned; variable
358 Value(&Value_), IsSigned(IsSigned_) { Contents.push_back(0); } in MCLEBFragment()
365 bool isSigned() const { return IsSigned; } in isSigned()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp45 bool IsSigned) { in HasAddOverflow() argument
46 if (!IsSigned) in HasAddOverflow()
57 Constant *In2, bool IsSigned = false) { in AddWithOverflow() argument
66 IsSigned)) in AddWithOverflow()
74 IsSigned); in AddWithOverflow()
79 bool IsSigned) { in HasSubOverflow() argument
80 if (!IsSigned) in HasSubOverflow()
92 Constant *In2, bool IsSigned = false) { in SubWithOverflow() argument
101 IsSigned)) in SubWithOverflow()
109 IsSigned); in SubWithOverflow()
/external/clang/lib/Sema/
DSemaStmt.cpp556 static void AdjustAPSInt(llvm::APSInt &Val, unsigned BitWidth, bool IsSigned) { in AdjustAPSInt() argument
561 Val.setIsSigned(IsSigned); in AdjustAPSInt()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp7795 FP_TO_INTHelper(SDValue Op, SelectionDAG &DAG, bool IsSigned, bool IsReplace) const { in FP_TO_INTHelper() argument
7800 if (!IsSigned && !isIntegerTypeFTOL(DstTy)) { in FP_TO_INTHelper()
7826 if (!IsSigned && isIntegerTypeFTOL(DstTy)) in FP_TO_INTHelper()
10958 bool IsSigned = N->getOpcode() == ISD::FP_TO_SINT; in ReplaceNodeResults() local
10960 if (!IsSigned && !isIntegerTypeFTOL(SDValue(N, 0).getValueType())) in ReplaceNodeResults()
10964 FP_TO_INTHelper(SDValue(N, 0), DAG, IsSigned, /*IsReplace=*/ true); in ReplaceNodeResults()