Lines Matching defs:Unsigned
478 Value *EmitCompare(const BinaryOperator *E, unsigned UICmpOpc,
479 unsigned SICmpOpc, unsigned FCmpOpc);
560 // Integer to floating-point. This can fail for unsigned short -> __half
561 // or unsigned __int128 -> float.
595 unsigned Width = CGF.getContext().getIntWidth(DstType);
596 bool Unsigned = DstType->isUnsignedIntegerOrEnumerationType();
598 APSInt Min = APSInt::getMinValue(Width, Unsigned);
599 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) &
605 APSInt Max = APSInt::getMaxValue(Width, Unsigned);
606 if (MaxSrc.convertFromAPInt(Max, !Unsigned, APFloat::rmTowardZero) &
716 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements();
868 unsigned LHSElts = LTy->getNumElements();
875 for (unsigned i = 0; i != LHSElts; ++i) {
915 for (unsigned i = 0, e = MTy->getNumElements(); i != e; ++i) {
940 for (unsigned i = 2; i < E->getNumSubExprs(); i++) {
941 unsigned Idx = E->getShuffleMaskIdx(CGF.getContext(), i-2);
999 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx,
1000 unsigned Off, llvm::Type *I32Ty) {
1011 unsigned NumInitElements = E->getNumInits();
1028 unsigned ResElts = VType->getNumElements();
1035 unsigned CurIdx = 0;
1038 for (unsigned i = 0; i != NumInitElements; ++i) {
1066 for (unsigned j = 0; j != CurIdx; ++j)
1090 unsigned InitElts = VVT->getNumElements();
1095 unsigned Offset = (CurIdx == 0) ? 0 : ResElts;
1102 for (unsigned j = 0; j != CurIdx; ++j) {
1112 for (unsigned j = 0, je = InitElts; j != je; ++j)
1126 for (unsigned j = 0; j != InitElts; ++j)
1134 for (unsigned j = 0; j != CurIdx; ++j)
1136 for (unsigned j = 0; j != InitElts; ++j)
1365 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements();
1714 unsigned n = E->getNumComponents();
1718 for (unsigned i = 0; i != n; ++i) {
1748 unsigned i = 0;
2098 unsigned IID;
2099 unsigned OpID = 0;
2216 unsigned width = cast<llvm::IntegerType>(index->getType())->getBitWidth();
2593 Value *ScalarExprEmitter::EmitCompare(const BinaryOperator *E,unsigned UICmpOpc,
2594 unsigned SICmpOpc, unsigned FCmpOpc) {
2681 // Unsigned integers and pointers.
2706 // and unsigned opcodes are the same.
3000 unsigned numElem = vecTy->getNumElements();
3111 unsigned numElementsDst = cast<llvm::VectorType>(DstTy)->getNumElements();
3112 unsigned numElementsSrc = cast<llvm::VectorType>(SrcTy)->getNumElements();