/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 | 285 /// referencing this BasicBlock by \p Amt. 289 void AdjustBlockAddressRefCount(int Amt) { argument 290 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); 707 if (ConstantInt *Amt = dyn_cast<ConstantInt>(I->getOperand(1))) { 710 BitsToClear += Amt [all...] |
H A D | InstCombineCompares.cpp | 1341 unsigned Amt = ShAmt->getLimitedValue(TypeBits-1); local 1343 Amt != 0 && RHSV.countTrailingZeros() >= Amt) { 1344 Type *NTy = IntegerType::get(ICI.getContext(), TypeBits - Amt); 1347 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/Target/ARM/InstPrinter/ |
H A D | ARMInstPrinter.cpp | 678 unsigned Amt = ShiftOp & 0x1f; local 682 << "#" << (Amt == 0 ? 32 : Amt) 685 else if (Amt) { 688 << "#" << Amt
|
/external/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 252 ConstantInt *Amt = dyn_cast<ConstantInt>(CE->getOperand(1)); local 253 if (Amt == 0) 255 unsigned ShAmt = Amt->getZExtValue(); 274 ConstantInt *Amt = dyn_cast<ConstantInt>(CE->getOperand(1)); local 275 if (Amt == 0) 277 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 | 2450 SDValue Amt = DAG.getConstant(ShAmt, getShiftAmountTy(Op1.getValueType())); local 2451 Op1 = DAG.getNode(ISD::SRA, dl, Op1.getValueType(), Op1, Amt);
|
H A D | LegalizeIntegerTypes.cpp | 535 SDValue Amt = N->getOperand(1); local 536 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) : Amt; 537 return DAG.getNode(ISD::SHL, N->getDebugLoc(), Res.getValueType(), Res, Amt); 559 SDValue Amt = N->getOperand(1); local 560 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) 567 SDValue Amt = N->getOperand(1); local 1267 ExpandShiftByConstant(SDNode *N, unsigned Amt, SDValue &Lo, SDValue &Hi) argument 1360 SDValue Amt = N->getOperand(1); local 1448 SDValue Amt = N->getOperand(1); local [all...] |
H A D | SelectionDAGBuilder.cpp | 3194 unsigned Amt = ElementSize.logBase2(); local 3197 DAG.getConstant(Amt, IdxN.getValueType()));
|
H A D | DAGCombiner.cpp | 251 SDValue visitShiftByConstant(SDNode *N, unsigned Amt); 3496 SDValue DAGCombiner::visitShiftByConstant(SDNode *N, unsigned Amt) { argument 3766 SDValue Amt = DAG.getConstant(ShiftAmt, local 3769 N0.getOperand(0), Amt); 3812 SDValue Amt = local 3816 N0.getOperand(0).getOperand(0), Amt); 5010 unsigned Amt = RHSC->getZExtValue(); local 5013 if (Amt >= Mask.getBitWidth()) break; 5014 APInt NewMask = Mask << Amt;
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 167 unsigned Amt = ARM_AM::getAM2Offset(OffImm); local 169 if (ARM_AM::getSOImmVal(Amt) == -1) 175 .addReg(BaseReg).addImm(Amt) 177 } else if (Amt != 0) { 179 unsigned SOOpc = ARM_AM::getSORegOpc(ShOpc, Amt); 193 unsigned Amt = ARM_AM::getAM3Offset(OffImm); local 198 .addReg(BaseReg).addImm(Amt)
|
/external/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.cpp | 2179 unsigned Amt = MI->getOperand(3).getImm(); local 2186 MI->getOperand(3).setImm(Size-Amt);
|
H A D | X86ISelLowering.cpp | 11476 SDValue Amt = DAG.getConstant(EltTy.getSizeInBits() - lg2, MVT::i32); local 11477 SDValue SRL = getTargetVShiftNode(X86ISD::VSRLI, dl, VT, SGN, Amt, DAG); 11499 SDValue Amt = Op.getOperand(1); local 11505 if (isSplatVector(Amt.getNode())) { 11506 SDValue SclrAmt = Amt->getOperand(0); 11557 SDValue Res = DAG.getNode(ISD::SRL, dl, VT, R, Amt); 11601 SDValue Res = DAG.getNode(ISD::SRL, dl, VT, R, Amt); 11616 Op = DAG.getNode(ISD::SHL, dl, VT, Amt, DAG.getConstant(23, VT)); 11627 Op = DAG.getNode(ISD::SHL, dl, VT, Amt, DAG.getConstant(5, VT)); 11680 if (Amt 16690 unsigned Amt = RegVT.getVectorElementType().getSizeInBits() - local [all...] |
/external/llvm/lib/Target/ARM/AsmParser/ |
H A D | ARMAsmParser.cpp | 6965 unsigned Amt = Inst.getOperand(2).getImm(); local 6966 unsigned Opc = Amt == 0 ? ARM::MOVr : ARM::MOVsi; 6968 if (Amt == 32 && (ShiftTy == ARM_AM::lsr || ShiftTy == ARM_AM::asr)) 6969 Amt = 0; 6970 unsigned Shifter = ARM_AM::getSORegOpc(ShiftTy, Amt);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 4850 SDValue Amt = Op.getOperand(2); local 4851 EVT AmtVT = Amt.getValueType(); 4854 DAG.getConstant(BitWidth, AmtVT), Amt); 4855 SDValue Tmp2 = DAG.getNode(PPCISD::SHL, dl, VT, Hi, Amt); 4858 SDValue Tmp5 = DAG.getNode(ISD::ADD, dl, AmtVT, Amt, 4862 SDValue OutLo = DAG.getNode(PPCISD::SHL, dl, VT, Lo, Amt); 4879 SDValue Amt = Op.getOperand(2); local 4880 EVT AmtVT = Amt.getValueType(); 4883 DAG.getConstant(BitWidth, AmtVT), Amt); 4884 SDValue Tmp2 = DAG.getNode(PPCISD::SRL, dl, VT, Lo, Amt); 4907 SDValue Amt = Op.getOperand(2); local 4979 BuildVSLDOI(SDValue LHS, SDValue RHS, unsigned Amt, EVT VT, SelectionDAG &DAG, DebugLoc dl) argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 2385 bool HandleAmount(const analyze_format_string::OptionalAmount &Amt, unsigned k, 2388 const analyze_printf::OptionalAmount &Amt, 2418 const analyze_format_string::OptionalAmount &Amt, 2422 if (Amt.hasDataArgument()) { 2424 unsigned argIndex = Amt.getArgIndex(); 2428 getLocationOfByte(Amt.getStart()), 2447 const analyze_printf::ArgType &AT = Amt.getArgType(S.Context); 2454 getLocationOfByte(Amt.getStart()), 2468 const analyze_printf::OptionalAmount &Amt, 2476 Amt 2417 HandleAmount( const analyze_format_string::OptionalAmount &Amt, unsigned k, const char *startSpecifier, unsigned specifierLen) argument 2466 HandleInvalidAmount( const analyze_printf::PrintfSpecifier &FS, const analyze_printf::OptionalAmount &Amt, unsigned type, const char *startSpecifier, unsigned specifierLen) argument 3019 const OptionalAmount &Amt = FS.getFieldWidth(); local [all...] |