Lines Matching defs:Unsigned
45 static unsigned int uniqueCallSite = 0;
85 for (unsigned i = 0, e = TempVTs.size(); i != e; ++i) {
89 for (unsigned j = 0, je = VT.getVectorNumElements(); j != je; ++j) {
110 MaxStoresPerMemset = (unsigned) 0xFFFFFFFF;
111 MaxStoresPerMemcpy = (unsigned) 0xFFFFFFFF;
112 MaxStoresPerMemmove = (unsigned) 0xFFFFFFFF;
267 const char *NVPTXTargetLowering::getTargetNodeName(unsigned Opcode) const {
495 unsigned retAlignment,
511 unsigned size = 0;
543 unsigned OIdx = 0;
544 for (unsigned i = 0, e = Args.size(); i != e; ++i, ++OIdx) {
553 unsigned align = 0;
559 unsigned sz = TD->getTypeAllocSize(Ty);
566 if (unsigned len = vtparts.size())
575 unsigned sz = 0;
592 unsigned align = Outs[OIdx].Flags.getByValAlign();
593 unsigned sz = getDataLayout()->getTypeAllocSize(ETy);
602 unsigned
606 unsigned Idx) const {
608 unsigned Align = 0;
679 unsigned paramCount = 0;
689 unsigned OIdx = 0;
692 for (unsigned i = 0, e = Args.size(); i != e; ++i, ++OIdx) {
703 unsigned align = getArgumentAlignment(Callee, CS, Ty, paramCount + 1);
705 unsigned sz = TD->getTypeAllocSize(Ty);
713 for (unsigned j = 0, je = vtparts.size(); j != je; ++j) {
715 unsigned ArgAlign = GreatestCommonDivisor64(align, Offsets[j]);
741 unsigned align = getArgumentAlignment(Callee, CS, Ty, paramCount + 1);
743 unsigned sz = TD->getTypeAllocSize(Ty);
751 unsigned NumElts = ObjectVT.getVectorNumElements();
793 unsigned curOffset = 0;
804 unsigned VecSize = 4;
810 unsigned PerStoreOffset = MemVT.getStoreSizeInBits() / 8 * VecSize;
812 for (unsigned i = 0; i < NumElts; i += VecSize) {
820 unsigned Opc = NVPTXISD::StoreParamV2;
875 unsigned sz = VT.getSizeInBits();
894 unsigned opc = ISD::ZERO_EXTEND;
903 unsigned opcode = NVPTXISD::StoreParam;
923 unsigned sz = Outs[OIdx].Flags.getByValSize();
925 unsigned ArgAlign = Outs[OIdx].Flags.getByValAlign();
937 for (unsigned j = 0, je = vtparts.size(); j != je; ++j) {
940 unsigned PartAlign = GreatestCommonDivisor64(ArgAlign, curOffset);
964 unsigned retAlignment = 0;
974 unsigned resultsz = TD->getTypeAllocSizeInBits(retTy);
1039 for (unsigned i = 0, e = paramCount; i != e; ++i) {
1040 unsigned opcode;
1069 unsigned NumElts = ObjectVT.getVectorNumElements();
1074 unsigned sz = EltVT.getSizeInBits();
1143 unsigned Ofst = 0;
1144 unsigned VecSize = 4;
1145 unsigned Opc = NVPTXISD::LoadParamV4;
1151 for (unsigned i = 0; i < NumElts; i += VecSize) {
1158 for (unsigned j = 0; j < VecSize; ++j)
1161 for (unsigned j = 0; j < VecSize; ++j)
1182 for (unsigned j = 0; j < VecSize; ++j) {
1198 unsigned RetAlign = getArgumentAlignment(Callee, CS, retTy, 0);
1199 for (unsigned i = 0, e = Ins.size(); i != e; ++i) {
1200 unsigned sz = VTs[i].getSizeInBits();
1201 unsigned AlignI = GreatestCommonDivisor64(RetAlign, Offsets[i]);
1262 unsigned NumOperands = Node->getNumOperands();
1263 for (unsigned i = 0; i < NumOperands; ++i) {
1267 unsigned NumSubElem = VVT.getVectorNumElements();
1268 for (unsigned j = 0; j < NumSubElem; ++j) {
1287 unsigned VTBits = VT.getSizeInBits();
1292 unsigned Opc = (Op.getOpcode() == ISD::SRA_PARTS) ? ISD::SRA : ISD::SRL;
1348 unsigned VTBits = VT.getSizeInBits();
1497 unsigned Opcode = 0;
1499 unsigned NumElts = ValVT.getVectorNumElements();
1526 for (unsigned i = 0; i < NumElts; ++i) {
1535 for (unsigned i = 2, e = N->getNumOperands(); i != e; ++i) {
1564 unsigned Alignment = ST->getAlignment();
1662 unsigned InsIdx = 0;
1665 for (unsigned i = 0, e = theArgs.size(); i != e; ++i, ++idx, ++InsIdx) {
1687 for (unsigned parti = 0, parte = vtparts.size(); parti != parte;
1698 unsigned NumRegs = TLI->getNumRegisters(F->getContext(), ObjectVT);
1699 for (unsigned parti = 0; parti < NumRegs; ++parti) {
1730 for (unsigned parti = 0, parte = vtparts.size(); parti != parte;
1739 unsigned partAlign =
1767 unsigned NumElts = ObjectVT.getVectorNumElements();
1770 unsigned Ofst = 0;
1833 unsigned VecSize = 4;
1838 for (unsigned i = 0; i < NumElts; i += VecSize) {
1852 for (unsigned j = 0; j < VecSize; ++j) {
1952 unsigned NumElts = VTy->getNumElements();
1998 unsigned VecSize = 4;
2002 unsigned Offset = 0;
2006 unsigned PerStoreOffset =
2009 for (unsigned i = 0; i < NumElts; i += VecSize) {
2015 unsigned Opc = NVPTXISD::StoreRetvalV2;
2068 for (unsigned i = 0, e = Outs.size(); i != e; ++i) {
2071 unsigned numElems = 1;
2074 for (unsigned j = 0, je = numElems; j != je; ++j) {
2130 static unsigned getOpcForTextureInstr(unsigned Intrinsic) {
2222 static unsigned getOpcForSurfaceInstr(unsigned Intrinsic) {
2325 IntrinsicInfo &Info, const CallInst &I, unsigned Intrinsic) const {
2617 std::pair<unsigned, const TargetRegisterClass *>
2643 unsigned NVPTXTargetLowering::getFunctionAlignment(const Function *) const {
2651 extern unsigned FMAContractLevel;
2829 unsigned ExtType =
2855 Unsigned,
2863 unsigned OptSize,
2877 S = Unsigned;
2890 unsigned OptSize,
2908 if (LHSSign == Unsigned) {
2942 unsigned OptSize = MulType.getSizeInBits() >> 1;
2961 unsigned BitWidth = MulType.getSizeInBits();
2990 unsigned Opc;
3077 unsigned NumElts = ResVT.getVectorNumElements();
3088 unsigned Opcode = 0;
3109 for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i)
3124 for (unsigned i = 0; i < NumElts; ++i) {
3146 unsigned IntrinNo = cast<ConstantSDNode>(Intrin.getNode())->getZExtValue();
3161 unsigned NumElts = ResVT.getVectorNumElements();
3174 unsigned Opcode = 0;
3225 for (unsigned i = 2, e = N->getNumOperands(); i != e; ++i)
3236 for (unsigned i = 0; i < NumElts; ++i) {
3258 for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i)