Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Unsigned

485   Value *EmitCompare(const BinaryOperator *E, unsigned UICmpOpc,
486 unsigned SICmpOpc, unsigned FCmpOpc);
567 // Integer to floating-point. This can fail for unsigned short -> __half
568 // or unsigned __int128 -> float.
599 unsigned Width = CGF.getContext().getIntWidth(DstType);
600 bool Unsigned = DstType->isUnsignedIntegerOrEnumerationType();
602 APSInt Min = APSInt::getMinValue(Width, Unsigned);
604 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) &
614 APSInt Max = APSInt::getMaxValue(Width, Unsigned);
616 if (MaxSrc.convertFromAPInt(Max, !Unsigned, APFloat::rmTowardZero) &
754 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements();
906 unsigned LHSElts = LTy->getNumElements();
913 for (unsigned i = 0; i != LHSElts; ++i) {
945 for (unsigned i = 0, e = MTy->getNumElements(); i != e; ++i) {
959 for (unsigned i = 2; i < E->getNumSubExprs(); ++i) {
1081 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx,
1082 unsigned Off, llvm::Type *I32Ty) {
1093 unsigned NumInitElements = E->getNumInits();
1110 unsigned ResElts = VType->getNumElements();
1117 unsigned CurIdx = 0;
1120 for (unsigned i = 0; i != NumInitElements; ++i) {
1148 for (unsigned j = 0; j != CurIdx; ++j)
1172 unsigned InitElts = VVT->getNumElements();
1177 unsigned Offset = (CurIdx == 0) ? 0 : ResElts;
1184 for (unsigned j = 0; j != CurIdx; ++j) {
1194 for (unsigned j = 0, je = InitElts; j != je; ++j)
1208 for (unsigned j = 0; j != InitElts; ++j)
1216 for (unsigned j = 0; j != CurIdx; ++j)
1218 for (unsigned j = 0; j != InitElts; ++j)
1462 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements();
1816 unsigned n = E->getNumComponents();
1820 for (unsigned i = 0; i != n; ++i) {
1850 unsigned i = 0;
2197 unsigned IID;
2198 unsigned OpID = 0;
2315 unsigned width = cast<llvm::IntegerType>(index->getType())->getBitWidth();
2692 Value *ScalarExprEmitter::EmitCompare(const BinaryOperator *E,unsigned UICmpOpc,
2693 unsigned SICmpOpc, unsigned FCmpOpc) {
2780 // Unsigned integers and pointers.
2805 // and unsigned opcodes are the same.
3112 unsigned numElem = vecTy->getNumElements();
3230 unsigned numElementsDst = cast<llvm::VectorType>(DstTy)->getNumElements();
3231 unsigned numElementsSrc = cast<llvm::VectorType>(SrcTy)->getNumElements();