HomeSort by relevance Sort by last modified time
    Searched refs:InstCombiner (Results 1 - 14 of 14) sorted by null

  /external/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 79 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI,
160 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty,
270 bool InstCombiner::ShouldOptimizeCast(Instruction::CastOps opc, const Value *V,
291 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) {
436 Instruction *InstCombiner::visitTrunc(TruncInst &CI) {
510 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI,
757 Instruction *InstCombiner::visitZExt(ZExtInst &CI) {
    [all...]
InstructionCombining.cpp 83 char InstCombiner::ID = 0;
84 INITIALIZE_PASS_BEGIN(InstCombiner, "instcombine",
87 INITIALIZE_PASS_END(InstCombiner, "instcombine",
90 void InstCombiner::getAnalysisUsage(AnalysisUsage &AU) const {
96 Value *InstCombiner::EmitGEPOffset(User *GEP) {
103 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const {
201 bool InstCombiner::SimplifyAssociativeOrCommutative(BinaryOperator &I) {
396 Value *InstCombiner::SimplifyUsingDistributiveLaws(BinaryOperator &I) {
515 Value *InstCombiner::dyn_castNegVal(Value *V) const {
534 Value *InstCombiner::dyn_castFNegVal(Value *V, bool IgnoreZeroSign) const
    [all...]
InstCombineMulDivRem.cpp 26 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC) {
98 /// \brief A helper routine of InstCombiner::visitMul().
117 Instruction *InstCombiner::visitMul(BinaryOperator &I) {
326 /// Helper function of InstCombiner::visitFMul(BinaryOperator(). It returns
350 /// foldFMulConst() is a helper routine of InstCombiner::visitFMul().
357 Value *InstCombiner::foldFMulConst(Instruction *FMulOrDiv, ConstantFP *C,
402 Instruction *InstCombiner::visitFMul(BinaryOperator &I) {
599 bool InstCombiner::SimplifyDivRemOfSelect(BinaryOperator &I) {
672 Instruction *InstCombiner::commonIDivTransforms(BinaryOperator &I) {
741 InstCombiner &IC)
    [all...]
InstCombineSelect.cpp 124 Instruction *InstCombiner::FoldSelectOpOp(SelectInst &SI, Instruction *TI,
211 Instruction *InstCombiner::FoldSelectIntoOp(SelectInst &SI, Value *TrueVal,
368 InstCombiner::BuilderTy *Builder) {
418 Instruction *InstCombiner::visitSelectInstWithICmp(SelectInst &SI,
632 Instruction *InstCombiner::FoldSPFofSPF(Instruction *Inner,
663 InstCombiner::BuilderTy *Builder) {
732 Instruction *InstCombiner::visitSelectInst(SelectInst &SI) {
    [all...]
InstCombineShifts.cpp 22 Instruction *InstCombiner::commonShiftTransforms(BinaryOperator &I) {
69 InstCombiner &IC) {
184 InstCombiner &IC) {
312 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantInt *Op1,
677 Instruction *InstCombiner::visitShl(BinaryOperator &I) {
715 Instruction *InstCombiner::visitLShr(BinaryOperator &I) {
755 Instruction *InstCombiner::visitAShr(BinaryOperator &I) {
InstCombine.h 71 /// InstCombiner - The -instcombine pass.
72 class LLVM_LIBRARY_VISIBILITY InstCombiner
74 public InstVisitor<InstCombiner, Instruction*> {
90 InstCombiner() : FunctionPass(ID), TD(0), Builder(0) {
InstCombineLoadStoreAlloca.cpp 153 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) {
282 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI,
337 Instruction *InstCombiner::visitLoadInst(LoadInst &LI) {
449 static Instruction *InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) {
562 Instruction *InstCombiner::visitStoreInst(StoreInst &SI) {
692 bool InstCombiner::SimplifyStoreAtEndOfBlock(StoreInst &SI) {
InstCombinePHI.cpp 24 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) {
130 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) {
287 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) {
391 Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) {
620 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) {
794 Instruction *InstCombiner::visitPHINode(PHINode &PN) {
    [all...]
InstCombineVectorOps.cpp 111 Instruction *InstCombiner::scalarizePHI(ExtractElementInst &EI, PHINode *PN) {
175 Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) {
442 Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) {
649 InstCombiner::EvaluateInDifferentElementOrder(Value *V, ArrayRef<int> Mask) {
746 Instruction *InstCombiner::visitShuffleVectorInst(ShuffleVectorInst &SVI) {
    [all...]
InstCombineAddSub.cpp 157 FAddCombine(InstCombiner::BuilderTy *B) : Builder(B), Instr(0) {}
180 InstCombiner::BuilderTy *Builder;
891 bool InstCombiner::WillNotOverflowSignedAdd(Value *LHS, Value *RHS) {
913 Instruction *InstCombiner::visitAdd(BinaryOperator &I) {
    [all...]
InstCombineCalls.cpp 58 Instruction *InstCombiner::SimplifyMemTransfer(MemIntrinsic *MI) {
154 Instruction *InstCombiner::SimplifyMemSet(MemSetInst *MI) {
201 Instruction *InstCombiner::visitCallInst(CallInst &CI) {
757 Instruction *InstCombiner::visitInvokeInst(InvokeInst &II) {
790 Instruction *InstCombiner::tryOptimizeCall(CallInst *CI, const DataLayout *TD) {
    [all...]
InstCombineSimplifyDemanded.cpp 53 bool InstCombiner::SimplifyDemandedInstructionBits(Instruction &Inst) {
69 bool InstCombiner::SimplifyDemandedBits(Use &U, APInt DemandedMask,
101 Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask,
    [all...]
InstCombineAndOrXor.cpp 98 InstCombiner::BuilderTy *Builder) {
110 InstCombiner::BuilderTy *Builder) {
131 Instruction *InstCombiner::OptAndOp(Instruction *Op,
271 Value *InstCombiner::InsertRangeTest(Value *V, Constant *Lo, Constant *Hi,
340 Value *InstCombiner::FoldLogicalPlusAnd(Value *LHS, Value *RHS,
623 llvm::InstCombiner::BuilderTy* Builder) {
700 Value *InstCombiner::FoldAndOfICmps(ICmpInst *LHS, ICmpInst *RHS) {
    [all...]
InstCombineCompares.cpp 226 Instruction *InstCombiner::
510 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC) {
606 Instruction *InstCombiner::FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS,
740 Instruction *InstCombiner::FoldICmpAddOpCst(ICmpInst &ICI,
    [all...]

Completed in 152 milliseconds