Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp103 assert(Amount && "invalid weight of 0"); in add()
104 uint64_t NewTotal = Total + Amount; in add()
120 if (!W.Amount) { 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()
219 return Sum + W.Amount; in normalize()
234 W.Amount = std::max(UINT64_C(1), shiftRightAndRound(W.Amount, Shift)); in normalize()
235 assert(W.Amount <= UINT32_MAX); in normalize()
[all …]
H A DInstructionSimplify.cpp1259 static bool isUndefShift(Value *Amount) { in isUndefShift() argument
1260 Constant *C = dyn_cast<Constant>(Amount); in isUndefShift()
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A 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,
H A 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()
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()
473 return isInt<16>(Amount); in validImmediate()
[all …]
H A DMips16FrameLowering.cpp151 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
154 Amount = -Amount; in eliminateCallFramePseudoInstr()
159 TII.adjustStackPtr(Mips::SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
H A DMipsSEInstrInfo.h70 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
H A 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()
H A DMipsSEFrameLowering.cpp652 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
655 Amount = -Amount; in eliminateCallFramePseudoInstr()
658 TII.adjustStackPtr(SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
/minix/external/bsd/llvm/dist/llvm/lib/Target/MSP430/
H A 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()
/minix/external/bsd/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp489 uint64_t Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
490 if (Amount != 0) { in eliminateCallFramePseudoInstr()
495 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr()
497 assert(Amount%4 == 0); in eliminateCallFramePseudoInstr()
498 Amount /= 4; in eliminateCallFramePseudoInstr()
500 bool isU6 = isImmU6(Amount); in eliminateCallFramePseudoInstr()
501 if (!isU6 && !isImmU16(Amount)) { in eliminateCallFramePseudoInstr()
505 << Amount << "\n"; in eliminateCallFramePseudoInstr()
514 .addImm(Amount); in eliminateCallFramePseudoInstr()
519 .addImm(Amount); in eliminateCallFramePseudoInstr()
/minix/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A 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 …]
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp123 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
124 Amount = RoundUpToAlignment(Amount, Align); in eliminateCallFramePseudoInstr()
126 Amount = -Amount; in eliminateCallFramePseudoInstr()
142 assert(Amount > -0xffffff && Amount < 0xffffff && "call frame too large"); in eliminateCallFramePseudoInstr()
143 emitFrameOffset(MBB, I, DL, AArch64::SP, AArch64::SP, Amount, TII); in eliminateCallFramePseudoInstr()
/minix/external/bsd/llvm/dist/llvm/lib/Target/ARM/
H A 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()
H A DARMFrameLowering.cpp1778 unsigned Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
1779 if (Amount != 0) { in eliminateCallFramePseudoInstr()
1784 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr()
1799 emitSPUpdate(isARM, MBB, I, dl, TII, -Amount, MachineInstr::NoFlags, in eliminateCallFramePseudoInstr()
1805 emitSPUpdate(isARM, MBB, I, dl, TII, Amount, MachineInstr::NoFlags, in eliminateCallFramePseudoInstr()
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp1953 Amount -= ExpectedDist; in convertArgMovsToPushes()
1954 if (Amount) { in convertArgMovsToPushes()
1957 .addReg(StackPtr).addImm(Amount); in convertArgMovsToPushes()
2000 if (Amount == 0) in eliminateCallFramePseudoInstr()
2010 Amount = (Amount + StackAlign - 1) / StackAlign * StackAlign; in eliminateCallFramePseudoInstr()
2017 if (!IsLP64 && convertArgMovsToPushes(MF, MBB, I, Amount)) in eliminateCallFramePseudoInstr()
2023 .addImm(Amount); in eliminateCallFramePseudoInstr()
2028 Amount -= CalleeAmt; in eliminateCallFramePseudoInstr()
2030 if (Amount) { in eliminateCallFramePseudoInstr()
2031 unsigned Opc = getADDriOpcode(IsLP64, Amount); in eliminateCallFramePseudoInstr()
[all …]
H A DX86FrameLowering.h90 uint64_t Amount) const;
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.h52 template<int Amount>
54 printPostIncOperand(MI, OpNo, Amount, O); in printPostIncOperand()
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp228 unsigned Amount; member
399 return ShiftExtend.Amount; in getShiftExtendAmount()
1682 Op->ShiftExtend.Amount = Val; in CreateShiftExtend()
/minix/external/bsd/llvm/dist/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4965 unsigned &Amount) { in parseMemRegOffsetShift() argument
4988 Amount = 0; in parseMemRegOffsetShift()
5018 Amount = Imm; in parseMemRegOffsetShift()
7945 unsigned Amount = ARM_AM::getSORegOffset(Inst.getOperand(2).getImm()); in processInstruction() local
7946 if (Amount == 32) Amount = 0; in processInstruction()
7954 TmpInst.addOperand(MCOperand::CreateImm(Amount)); in processInstruction()
/minix/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1386 uint64_t Amount = Shift->getZExtValue(); in isSimpleShift() local
1387 if (Amount >= N.getValueType().getSizeInBits()) in isSimpleShift()
1390 ShiftVal = Amount; in isSimpleShift()
/minix/external/bsd/flex/dist/
H A Dflex.skl1108 /* Amount of stuff to slurp up with each read. */
1389 /* Amount of text matched not including the EOB char. */
/minix/external/bsd/flex/dist/doc/
H A Dtexinfo.tex6243 % Amount to narrow the margins by for @lisp.