/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 67 Log2Size = llvm::Log2_32(1); in getARMFixupKindMachOInfo() 70 Log2Size = llvm::Log2_32(2); in getARMFixupKindMachOInfo() 73 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo() 76 Log2Size = llvm::Log2_32(8); in getARMFixupKindMachOInfo() 90 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo() 96 Log2Size = llvm::Log2_32(2); in getARMFixupKindMachOInfo() 103 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
|
/external/llvm/include/llvm/Target/ |
D | TargetCallingConv.h | 78 (uint64_t(Log2_32(A) + 1) << ByValAlignOffs); in setByValAlign() 90 (uint64_t(Log2_32(A) + 1) << OrigAlignOffs); in setOrigAlign()
|
/external/llvm/include/llvm/ |
D | Attributes.h | 188 return Attributes((Log2_32(i)+1) << 16); in constructAlignmentFromInt() 209 return Attributes((Log2_32(i)+1) << 26); in constructStackAlignmentFromInt()
|
/external/llvm/lib/MC/ |
D | MCAsmStreamer.cpp | 509 OS << ',' << Log2_32(ByteAlignment); in EmitCommonSymbol() 530 OS << ',' << Log2_32(ByteAlign); in EmitLocalCommonSymbol() 549 OS << ',' << Log2_32(ByteAlignment); in EmitZerofill() 566 if (ByteAlignment > 1) OS << ", " << Log2_32(ByteAlignment); in EmitTBSSSymbol() 740 OS << Log2_32(ByteAlignment); in EmitValueToAlignment()
|
D | MachObjectWriter.cpp | 220 Write32(Log2_32(SD.getAlignment())); in WriteSection() 330 unsigned Log2Size = Log2_32(Align); in WriteNlist()
|
/external/llvm/lib/VMCore/ |
D | Globals.cpp | 61 Alignment = Log2_32(Align) + 1; in setAlignment()
|
D | Instructions.cpp | 874 setInstructionSubclassData(Log2_32(Align) + 1); in setAlignment() 1048 ((Log2_32(Align)+1)<<1)); in setAlignment() 1187 ((Log2_32(Align)+1) << 1)); in setAlignment()
|
D | ConstantFold.cpp | 994 unsigned SrcWidth = std::min(DstWidth, Log2_32(GVAlign)); in ConstantFoldBinaryInstruction()
|
/external/llvm/lib/Target/ |
D | TargetData.cpp | 587 return Log2_32(Align); in getPreferredTypeAlignmentShift() 662 return Log2_32(getPreferredAlignment(GV)); in getPreferredAlignmentLog()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 325 inline unsigned Log2_32(uint32_t Value) { in Log2_32() function
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 468 unsigned MaxEncAlignment = Log2_32(MaxAlignment)+1; in WriteModuleInfo() 495 Vals.push_back(Log2_32(GV->getAlignment())+1); in WriteModuleInfo() 520 Vals.push_back(Log2_32(F->getAlignment())+1); in WriteModuleInfo() 1289 Vals.push_back(Log2_32(cast<AllocaInst>(I).getAlignment())+1); in WriteInstruction() 1301 Vals.push_back(Log2_32(cast<LoadInst>(I).getAlignment())+1); in WriteInstruction() 1315 Vals.push_back(Log2_32(cast<StoreInst>(I).getAlignment())+1); in WriteInstruction()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 87 unsigned GVAlign = Log2_32(GV->getAlignment()); in getGVAlignmentLog2() 1044 EmitAlignment(Log2_32(CPSections[i].Alignment)); in EmitConstantPool() 1100 EmitAlignment(Log2_32(MJTI->getEntryAlignment(*TM.getTargetData()))); in EmitJumpTableInfo() 1312 unsigned Align = Log2_32(TD->getPointerPrefAlignment()); in EmitXXStructorList()
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 511 unsigned MaxAlign = Log2_32(MCP->getConstantPoolAlignment()); in doInitialPlacement() 542 unsigned LogAlign = Log2_32(Align); in doInitialPlacement() 612 return Log2_32(Align); in getCPELogAlign()
|
D | ARMISelDAGToDAG.cpp | 501 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() 599 unsigned ShAmt = Log2_32(RHSC); in SelectAddrMode2Worker() 2529 unsigned ShImm = Log2_32(RHSV-1); in Select() 2545 unsigned ShImm = Log2_32(RHSV+1); in Select()
|
D | ARMISelLowering.cpp | 7523 DAG.getConstant(Log2_32(MulAmt - 1), in PerformMULCombine() 7530 DAG.getConstant(Log2_32(MulAmt + 1), in PerformMULCombine() 7543 DAG.getConstant(Log2_32(MulAmtAbs + 1), in PerformMULCombine() 7551 DAG.getConstant(Log2_32(MulAmtAbs-1), in PerformMULCombine()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFrameLowering.cpp | 366 .addImm(32 - Log2_32(MaxAlign)) in emitPrologue() 400 .addImm(64 - Log2_32(MaxAlign)); in emitPrologue()
|
D | PPCISelDAGToDAG.cpp | 873 N0, getI32Imm(Log2_32(Imm))); in Select() 879 N0, getI32Imm(Log2_32(-Imm))); in Select()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 421 Assert1(!(KnownOne & APInt::getLowBitsSet(BitWidth, Log2_32(Align))), in visitMemoryReference()
|
D | ValueTracking.cpp | 728 unsigned LowBits = Log2_32(BitWidth)+1; in ComputeMaskedBits() 736 unsigned LowBits = Log2_32(BitWidth)+1; in ComputeMaskedBits()
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 424 Flags((f & ((1 << MOMaxBits) - 1)) | ((Log2_32(a) + 1) << MOMaxBits)), in MachineMemOperand() 450 ((Log2_32(MMO->getBaseAlignment()) + 1) << MOMaxBits); in refineAlignment()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 739 isPowerOf2_32(BitWidth) && Log2_32(BitWidth) == ShAmt) { in visitLShr()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 732 (1 << llvm::Log2_32(LHSElts+2))-1); in VisitShuffleVectorExpr() 735 (1 << llvm::Log2_32(LHSElts+1))-1); in VisitShuffleVectorExpr() 738 (1 << llvm::Log2_32(LHSElts))-1); in VisitShuffleVectorExpr()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 767 unsigned RoundWidth = 1 << Log2_32(StWidth); in LegalizeStoreOps() 966 unsigned RoundWidth = 1 << Log2_32(SrcWidth); in LegalizeLoadOps()
|
D | SelectionDAGBuilder.cpp | 118 1 << Log2_32(NumParts) : NumParts; in getCopyFromParts() 396 unsigned RoundParts = 1 << Log2_32(NumParts); in getCopyToParts() 4383 CountPopulation_32(Val)+Log2_32(Val) < 7) { in ExpandPowI()
|
D | SelectionDAG.cpp | 1926 unsigned LowBits = Log2_32(BitWidth)+1; in ComputeMaskedBits() 2116 KnownZero = APInt::getLowBitsSet(BitWidth, Log2_32(Align)); in ComputeMaskedBits()
|