Home
last modified time | relevance | path

Searched refs:Log2_32 (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp67 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/
DTargetCallingConv.h78 (uint64_t(Log2_32(A) + 1) << ByValAlignOffs); in setByValAlign()
90 (uint64_t(Log2_32(A) + 1) << OrigAlignOffs); in setOrigAlign()
/external/llvm/include/llvm/
DAttributes.h188 return Attributes((Log2_32(i)+1) << 16); in constructAlignmentFromInt()
209 return Attributes((Log2_32(i)+1) << 26); in constructStackAlignmentFromInt()
/external/llvm/lib/MC/
DMCAsmStreamer.cpp509 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()
DMachObjectWriter.cpp220 Write32(Log2_32(SD.getAlignment())); in WriteSection()
330 unsigned Log2Size = Log2_32(Align); in WriteNlist()
/external/llvm/lib/VMCore/
DGlobals.cpp61 Alignment = Log2_32(Align) + 1; in setAlignment()
DInstructions.cpp874 setInstructionSubclassData(Log2_32(Align) + 1); in setAlignment()
1048 ((Log2_32(Align)+1)<<1)); in setAlignment()
1187 ((Log2_32(Align)+1) << 1)); in setAlignment()
DConstantFold.cpp994 unsigned SrcWidth = std::min(DstWidth, Log2_32(GVAlign)); in ConstantFoldBinaryInstruction()
/external/llvm/lib/Target/
DTargetData.cpp587 return Log2_32(Align); in getPreferredTypeAlignmentShift()
662 return Log2_32(getPreferredAlignment(GV)); in getPreferredAlignmentLog()
/external/llvm/include/llvm/Support/
DMathExtras.h325 inline unsigned Log2_32(uint32_t Value) { in Log2_32() function
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp468 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/
DAsmPrinter.cpp87 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/
DARMConstantIslandPass.cpp511 unsigned MaxAlign = Log2_32(MCP->getConstantPoolAlignment()); in doInitialPlacement()
542 unsigned LogAlign = Log2_32(Align); in doInitialPlacement()
612 return Log2_32(Align); in getCPELogAlign()
DARMISelDAGToDAG.cpp501 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()
DARMISelLowering.cpp7523 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/
DPPCFrameLowering.cpp366 .addImm(32 - Log2_32(MaxAlign)) in emitPrologue()
400 .addImm(64 - Log2_32(MaxAlign)); in emitPrologue()
DPPCISelDAGToDAG.cpp873 N0, getI32Imm(Log2_32(Imm))); in Select()
879 N0, getI32Imm(Log2_32(-Imm))); in Select()
/external/llvm/lib/Analysis/
DLint.cpp421 Assert1(!(KnownOne & APInt::getLowBitsSet(BitWidth, Log2_32(Align))), in visitMemoryReference()
DValueTracking.cpp728 unsigned LowBits = Log2_32(BitWidth)+1; in ComputeMaskedBits()
736 unsigned LowBits = Log2_32(BitWidth)+1; in ComputeMaskedBits()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp424 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/
DInstCombineShifts.cpp739 isPowerOf2_32(BitWidth) && Log2_32(BitWidth) == ShAmt) { in visitLShr()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp732 (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/
DLegalizeDAG.cpp767 unsigned RoundWidth = 1 << Log2_32(StWidth); in LegalizeStoreOps()
966 unsigned RoundWidth = 1 << Log2_32(SrcWidth); in LegalizeLoadOps()
DSelectionDAGBuilder.cpp118 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()
DSelectionDAG.cpp1926 unsigned LowBits = Log2_32(BitWidth)+1; in ComputeMaskedBits()
2116 KnownZero = APInt::getLowBitsSet(BitWidth, Log2_32(Align)); in ComputeMaskedBits()

12