/external/clang/lib/Analysis/ |
H A D | ScanfFormatString.cpp | 124 const OptionalAmount &Amt = clang::analyze_format_string::ParseAmount(I, E); local 125 if (Amt.getHowSpecified() != OptionalAmount::NotSpecified) { 126 assert(Amt.getHowSpecified() == OptionalAmount::Constant); 127 FS.setFieldWidth(Amt);
|
H A D | FormatString.cpp | 82 const OptionalAmount &Amt = ParseAmount(I, E); local 84 if (Amt.getHowSpecified() == OptionalAmount::NotSpecified) { 95 assert(Amt.getHowSpecified() == OptionalAmount::Constant); 101 if (Amt.getConstantAmount() == 0) { 109 return OptionalAmount(OptionalAmount::Arg, Amt.getConstantAmount() - 1, 132 const OptionalAmount Amt = local 136 if (Amt.isInvalid()) 138 CS.setFieldWidth(Amt); 151 const OptionalAmount &Amt = ParseAmount(I, E); local 159 if (Amt [all...] |
H A D | PrintfFormatString.cpp | 43 const OptionalAmount Amt = ParsePositionAmount(H, Start, Beg, E, local 45 if (Amt.isInvalid()) 47 FS.setPrecision(Amt);
|
/external/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 114 APSInt operator>>(unsigned Amt) const { 115 return IsUnsigned ? APSInt(lshr(Amt), true) : APSInt(ashr(Amt), false); 117 APSInt& operator>>=(unsigned Amt) { argument 118 *this = *this >> Amt; 158 APSInt& operator<<=(unsigned Amt) { argument 159 *this = *this << Amt;
|
/external/llvm/include/llvm/IR/ |
H A D | BasicBlock.h | 286 /// referencing this BasicBlock by \p Amt. 290 void AdjustBlockAddressRefCount(int Amt) { argument 291 setValueSubclassData(getSubclassDataFromValue()+Amt);
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAddressingModes.h | 86 static inline unsigned rotr32(unsigned Val, unsigned Amt) { argument 87 assert(Amt < 32 && "Invalid rotate amount"); 88 return (Val >> Amt) | (Val << ((32-Amt)&31)); 93 static inline unsigned rotl32(unsigned Val, unsigned Amt) { argument 94 assert(Amt < 32 && "Invalid rotate amount"); 95 return (Val << Amt) | (Val >> ((32-Amt)&31));
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 885 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt); local 886 New = BinaryOperator::CreateShl(VarX, Amt); 891 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt); local 892 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : 893 BinaryOperator::CreateAShr(VarX, Amt);
|
H A D | InstCombineCasts.cpp | 126 Value *Amt = 0; local 128 Amt = NumElements; 130 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); 132 Amt = AllocaBuilder.CreateMul(Amt, NumElements); 138 Amt = AllocaBuilder.CreateAdd(Amt, Off); 141 AllocaInst *New = AllocaBuilder.CreateAlloca(CastElTy, Amt); 706 if (ConstantInt *Amt = dyn_cast<ConstantInt>(I->getOperand(1))) { 709 uint64_t ShiftAmt = Amt [all...] |
H A D | InstCombineCompares.cpp | 1489 unsigned Amt = ShAmt->getLimitedValue(TypeBits-1); local 1491 Amt != 0 && RHSV.countTrailingZeros() >= Amt) { 1492 Type *NTy = IntegerType::get(ICI.getContext(), TypeBits - Amt); 1495 ConstantInt::get(RHS->getType(), Amt)),
|
H A D | InstructionCombining.cpp | 942 int32_t Amt = cast<ConstantInt>(BO->getOperand(1))-> local 944 // Op = LHS << Amt. 946 if (Amt == logScale) { 952 if (Amt < logScale || !Op->hasOneUse()) 958 Op = ConstantInt::get(BO->getType(), Amt - logScale);
|
/external/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 253 ConstantInt *Amt = dyn_cast<ConstantInt>(CE->getOperand(1)); local 254 if (Amt == 0) 256 unsigned ShAmt = Amt->getZExtValue(); 275 ConstantInt *Amt = dyn_cast<ConstantInt>(CE->getOperand(1)); local 276 if (Amt == 0) 278 unsigned ShAmt = Amt->getZExtValue();
|
H A D | Instructions.cpp | 822 static Value *getAISize(LLVMContext &Context, Value *Amt) { argument 823 if (!Amt) 824 Amt = ConstantInt::get(Type::getInt32Ty(Context), 1); 826 assert(!isa<BasicBlock>(Amt) && 828 assert(Amt->getType()->isIntegerTy() && 831 return Amt;
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | FormatString.h | 354 void setFieldWidth(const OptionalAmount &Amt) { argument 355 FieldWidth = Amt; 462 void setPrecision(const OptionalAmount &Amt) { argument 463 Precision = Amt;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 2453 SDValue Amt = DAG.getConstant(ShAmt, getShiftAmountTy(Op1.getValueType())); local 2454 Op1 = DAG.getNode(ISD::SRA, dl, Op1.getValueType(), Op1, Amt);
|
H A D | LegalizeIntegerTypes.cpp | 546 SDValue Amt = N->getOperand(1); local 547 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) : Amt; 548 return DAG.getNode(ISD::SHL, SDLoc(N), Res.getValueType(), Res, Amt); 570 SDValue Amt = N->getOperand(1); local 571 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) 578 SDValue Amt = N->getOperand(1); local 1268 ExpandShiftByConstant(SDNode *N, unsigned Amt, SDValue &Lo, SDValue &Hi) argument 1361 SDValue Amt = N->getOperand(1); local 1449 SDValue Amt = N->getOperand(1); local [all...] |
H A D | SelectionDAGBuilder.cpp | 3209 unsigned Amt = ElementSize.logBase2(); local 3212 DAG.getConstant(Amt, IdxN.getValueType()));
|
H A D | DAGCombiner.cpp | 251 SDValue visitShiftByConstant(SDNode *N, unsigned Amt); 3547 SDValue DAGCombiner::visitShiftByConstant(SDNode *N, unsigned Amt) { argument 3817 SDValue Amt = DAG.getConstant(ShiftAmt, local 3820 N0.getOperand(0), Amt); 3863 SDValue Amt = local 3867 N0.getOperand(0).getOperand(0), Amt); 5103 unsigned Amt = RHSC->getZExtValue(); local 5106 if (Amt >= Mask.getBitWidth()) break; 5107 APInt NewMask = Mask << Amt;
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 166 unsigned Amt = ARM_AM::getAM2Offset(OffImm); local 168 if (ARM_AM::getSOImmVal(Amt) == -1) 174 .addReg(BaseReg).addImm(Amt) 176 } else if (Amt != 0) { 178 unsigned SOOpc = ARM_AM::getSORegOpc(ShOpc, Amt); 192 unsigned Amt = ARM_AM::getAM3Offset(OffImm); local 197 .addReg(BaseReg).addImm(Amt)
|
/external/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.cpp | 2280 unsigned Amt = MI->getOperand(3).getImm(); local 2287 MI->getOperand(3).setImm(Size-Amt);
|
H A D | X86ISelLowering.cpp | 11980 SDValue Amt = DAG.getConstant(EltTy.getSizeInBits() - lg2, MVT::i32); local 11981 SDValue SRL = getTargetVShiftNode(X86ISD::VSRLI, dl, VT, SGN, Amt, DAG); 12003 SDValue Amt = Op.getOperand(1); local 12006 if (isSplatVector(Amt.getNode())) { 12007 SDValue SclrAmt = Amt->getOperand(0); 12058 SDValue Res = DAG.getNode(ISD::SRL, dl, VT, R, Amt); 12102 SDValue Res = DAG.getNode(ISD::SRL, dl, VT, R, Amt); 12118 Amt.getOpcode() == ISD::BITCAST && 12119 Amt.getOperand(0).getOpcode() == ISD::BUILD_VECTOR) { 12120 Amt 12169 SDValue Amt = Op.getOperand(1); local 12305 SDValue Amt = Op.getOperand(1); local 17104 SDValue Amt = Mask.getOperand(1); local 17445 unsigned Amt = RegVT.getVectorElementType().getSizeInBits() - local [all...] |
/external/llvm/lib/Target/ARM/AsmParser/ |
H A D | ARMAsmParser.cpp | 6903 unsigned Amt = Inst.getOperand(2).getImm(); local 6904 unsigned Opc = Amt == 0 ? ARM::MOVr : ARM::MOVsi; 6906 if (Amt == 32 && (ShiftTy == ARM_AM::lsr || ShiftTy == ARM_AM::asr)) 6907 Amt = 0; 6908 unsigned Shifter = ARM_AM::getSORegOpc(ShiftTy, Amt);
|
/external/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 2676 bool HandleAmount(const analyze_format_string::OptionalAmount &Amt, unsigned k, 2679 const analyze_printf::OptionalAmount &Amt, 2709 const analyze_format_string::OptionalAmount &Amt, 2713 if (Amt.hasDataArgument()) { 2715 unsigned argIndex = Amt.getArgIndex(); 2719 getLocationOfByte(Amt.getStart()), 2738 const analyze_printf::ArgType &AT = Amt.getArgType(S.Context); 2745 getLocationOfByte(Amt.getStart()), 2759 const analyze_printf::OptionalAmount &Amt, 2767 Amt 2708 HandleAmount( const analyze_format_string::OptionalAmount &Amt, unsigned k, const char *startSpecifier, unsigned specifierLen) argument 2757 HandleInvalidAmount( const analyze_printf::PrintfSpecifier &FS, const analyze_printf::OptionalAmount &Amt, unsigned type, const char *startSpecifier, unsigned specifierLen) argument 3343 const OptionalAmount &Amt = FS.getFieldWidth(); local [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 5016 SDValue Amt = Op.getOperand(2); local 5017 EVT AmtVT = Amt.getValueType(); 5020 DAG.getConstant(BitWidth, AmtVT), Amt); 5021 SDValue Tmp2 = DAG.getNode(PPCISD::SHL, dl, VT, Hi, Amt); 5024 SDValue Tmp5 = DAG.getNode(ISD::ADD, dl, AmtVT, Amt, 5028 SDValue OutLo = DAG.getNode(PPCISD::SHL, dl, VT, Lo, Amt); 5045 SDValue Amt = Op.getOperand(2); local 5046 EVT AmtVT = Amt.getValueType(); 5049 DAG.getConstant(BitWidth, AmtVT), Amt); 5050 SDValue Tmp2 = DAG.getNode(PPCISD::SRL, dl, VT, Lo, Amt); 5073 SDValue Amt = Op.getOperand(2); local 5155 BuildVSLDOI(SDValue LHS, SDValue RHS, unsigned Amt, EVT VT, SelectionDAG &DAG, SDLoc dl) argument [all...] |