Home
last modified time | relevance | path

Searched refs:Amount (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp101 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add() argument
103 assert(Amount && "invalid weight of 0"); in add()
104 uint64_t NewTotal = Total + Amount; in add()
115 Weights.push_back(Weight(Type, Node, Amount)); in add()
120 if (!W.Amount) { in combineWeight()
126 assert(OtherW.Amount && "Expected non-zero weight"); in combineWeight()
127 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight()
129 W.Amount = UINT64_MAX; in combineWeight()
131 W.Amount += OtherW.Amount; in combineWeight()
199 Weights.front().Amount = 1; in normalize()
[all …]
DInstructionSimplify.cpp1269 static bool isUndefShift(Value *Amount) { in isUndefShift() argument
1270 Constant *C = dyn_cast<Constant>(Amount); in isUndefShift()
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp239 uint64_t Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
240 if (Amount != 0) { in eliminateCallFramePseudoInstr()
244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
250 .addReg(MSP430::SP).addImm(Amount); in eliminateCallFramePseudoInstr()
255 Amount -= CalleeAmt; in eliminateCallFramePseudoInstr()
256 if (Amount) in eliminateCallFramePseudoInstr()
259 .addReg(MSP430::SP).addImm(Amount); in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/Mips/
DMipsFrameLowering.cpp142 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
144 Amount = -Amount; in eliminateCallFramePseudoInstr()
146 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
DMips16InstrInfo.h79 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
91 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount);
115 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
120 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
DMips16InstrInfo.cpp262 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, in adjustStackPtrBig() argument
275 MIB1.addImm(Amount).addImm(-1); in adjustStackPtrBig()
287 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted() argument
293 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument
296 if (Amount == 0) in adjustStackPtr()
299 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr()
300 BuildAddiuSpImm(MBB, I, Amount); in adjustStackPtr()
302 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I); in adjustStackPtr()
458 int64_t Amount) { in validImmediate() argument
470 return isInt<16>(Amount); in validImmediate()
[all …]
DMipsSEInstrInfo.cpp359 void MipsSEInstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument
367 if (Amount == 0) in adjustStackPtr()
370 if (isInt<16>(Amount))// addi sp, sp, amount in adjustStackPtr()
371 BuildMI(MBB, I, DL, get(ADDiu), SP).addReg(SP).addImm(Amount); in adjustStackPtr()
373 unsigned Reg = loadImmediate(Amount, MBB, I, DL, nullptr); in adjustStackPtr()
DMipsSEInstrInfo.h70 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
DMipsInstrInfo.h120 virtual void adjustStackPtr(unsigned SP, int64_t Amount,
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_loops.c53 float Amount; member
167 count_inst->Amount += amount; in get_incr_amount()
174 count_inst->Amount -= amount; in get_incr_amount()
232 count_inst.Amount = 0.0f; in try_unroll_loop()
272 if(count_inst.Amount == 0.0f){ in try_unroll_loop()
275 DBG("Counter is increased by %f each iteration.\n", count_inst.Amount); in try_unroll_loop()
289 count_inst.Amount); in try_unroll_loop()
295 count_inst.Amount) + 1; in try_unroll_loop()
/external/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp486 uint64_t Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
487 if (Amount != 0) { in eliminateCallFramePseudoInstr()
492 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr()
494 assert(Amount%4 == 0); in eliminateCallFramePseudoInstr()
495 Amount /= 4; in eliminateCallFramePseudoInstr()
497 bool isU6 = isImmU6(Amount); in eliminateCallFramePseudoInstr()
498 if (!isU6 && !isImmU16(Amount)) { in eliminateCallFramePseudoInstr()
502 << Amount << "\n"; in eliminateCallFramePseudoInstr()
511 .addImm(Amount); in eliminateCallFramePseudoInstr()
516 .addImm(Amount); in eliminateCallFramePseudoInstr()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h323 uint64_t Amount;
324 Weight() : Type(Local), Amount(0) {}
325 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount)
326 : Type(Type), TargetNode(TargetNode), Amount(Amount) {}
344 void addLocal(const BlockNode &Node, uint64_t Amount) {
345 add(Node, Amount, Weight::Local);
347 void addExit(const BlockNode &Node, uint64_t Amount) {
348 add(Node, Amount, Weight::Exit);
350 void addBackedge(const BlockNode &Node, uint64_t Amount) {
351 add(Node, Amount, Weight::Backedge);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCompactDecimalFormat.java236 Amount amount = toAmount(number, currencyUnit); in format()
260 Amount amount = toAmount(number.doubleValue(), null); in formatToCharacterIterator()
322 private Amount toAmount(double number, Output<Unit> currencyUnit) { in toAmount()
339 return new Amount( in toAmount()
453 private static class Amount { class in CompactDecimalFormat
457 public Amount(double qty, Unit unit) { in Amount() method in CompactDecimalFormat.Amount
/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp172 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
173 Amount = RoundUpToAlignment(Amount, Align); in eliminateCallFramePseudoInstr()
175 Amount = -Amount; in eliminateCallFramePseudoInstr()
191 assert(Amount > -0xffffff && Amount < 0xffffff && "call frame too large"); in eliminateCallFramePseudoInstr()
192 emitFrameOffset(MBB, I, DL, AArch64::SP, AArch64::SP, Amount, TII); in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp64 unsigned Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
65 if (Amount != 0) { in eliminateCallFramePseudoInstr()
70 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr()
75 emitSPUpdate(MBB, I, TII, dl, *RegInfo, -Amount); in eliminateCallFramePseudoInstr()
78 emitSPUpdate(MBB, I, TII, dl, *RegInfo, Amount); in eliminateCallFramePseudoInstr()
DARMFrameLowering.cpp1772 unsigned Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
1773 if (Amount != 0) { in eliminateCallFramePseudoInstr()
1778 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr()
1793 emitSPUpdate(isARM, MBB, I, dl, TII, -Amount, MachineInstr::NoFlags, in eliminateCallFramePseudoInstr()
1799 emitSPUpdate(isARM, MBB, I, dl, TII, Amount, MachineInstr::NoFlags, in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/AArch64/InstPrinter/
DAArch64InstPrinter.h59 template <int Amount>
62 printPostIncOperand(MI, OpNo, Amount, O); in printPostIncOperand()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp1987 uint64_t Amount = !reserveCallFrame ? I->getOperand(0).getImm() : 0; in eliminateCallFramePseudoInstr() local
1988 uint64_t InternalAmt = (isDestroy || Amount) ? I->getOperand(1).getImm() : 0; in eliminateCallFramePseudoInstr()
1995 if (Amount == 0) in eliminateCallFramePseudoInstr()
2002 Amount = RoundUpToAlignment(Amount, StackAlign); in eliminateCallFramePseudoInstr()
2008 Amount -= InternalAmt; in eliminateCallFramePseudoInstr()
2010 if (Amount) { in eliminateCallFramePseudoInstr()
2012 New = BuildMI(MF, DL, TII.get(getSUBriOpcode(IsLP64, Amount)), StackPtr) in eliminateCallFramePseudoInstr()
2013 .addReg(StackPtr).addImm(Amount); in eliminateCallFramePseudoInstr()
2017 unsigned Opc = getADDriOpcode(IsLP64, Amount); in eliminateCallFramePseudoInstr()
2019 .addReg(StackPtr).addImm(Amount); in eliminateCallFramePseudoInstr()
DX86FrameLowering.h88 uint64_t Amount) const;
/external/toybox/kconfig/
Dlex.zconf.c_shipped869 /* Amount of stuff to slurp up with each read. */
1289 /* Amount of text matched not including the EOB char. */
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp231 unsigned Amount; member
406 return ShiftExtend.Amount; in getShiftExtendAmount()
1668 Op->ShiftExtend.Amount = Val; in CreateShiftExtend()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp4963 unsigned &Amount) { in parseMemRegOffsetShift() argument
4986 Amount = 0; in parseMemRegOffsetShift()
5016 Amount = Imm; in parseMemRegOffsetShift()
7948 unsigned Amount = ARM_AM::getSORegOffset(Inst.getOperand(2).getImm()); in processInstruction() local
7949 if (Amount == 32) Amount = 0; in processInstruction()
7957 TmpInst.addOperand(MCOperand::CreateImm(Amount)); in processInstruction()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp1453 uint64_t Amount = Shift->getZExtValue(); in isSimpleShift() local
1454 if (Amount >= N.getValueType().getSizeInBits()) in isSimpleShift()
1457 ShiftVal = Amount; in isSimpleShift()
/external/e2fsprogs/lib/et/
Dtexinfo.tex4899 % Amount to narrow the margins by for @lisp.
/external/e2fsprogs/doc/
Dtexinfo.tex4899 % Amount to narrow the margins by for @lisp.

12