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 77 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI,
154 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty,
262 bool InstCombiner::ShouldOptimizeCast(Instruction::CastOps opc, const Value *V,
283 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) {
428 Instruction *InstCombiner::visitTrunc(TruncInst &CI) {
502 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI,
745 Instruction *InstCombiner::visitZExt(ZExtInst &CI) {
    [all...]
InstructionCombining.cpp 74 char InstCombiner::ID = 0;
75 INITIALIZE_PASS(InstCombiner, "instcombine",
78 void InstCombiner::getAnalysisUsage(AnalysisUsage &AU) const {
86 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const {
132 bool InstCombiner::SimplifyAssociativeOrCommutative(BinaryOperator &I) {
317 Value *InstCombiner::SimplifyUsingDistributiveLaws(BinaryOperator &I) {
436 Value *InstCombiner::dyn_castNegVal(Value *V) const {
455 Value *InstCombiner::dyn_castFNegVal(Value *V) const {
471 InstCombiner *IC) {
506 Instruction *InstCombiner::FoldOpIntoSelect(Instruction &Op, SelectInst *SI)
    [all...]
InstCombineMulDivRem.cpp 26 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC) {
99 Instruction *InstCombiner::visitMul(BinaryOperator &I) {
255 Instruction *InstCombiner::visitFMul(BinaryOperator &I) {
296 bool InstCombiner::SimplifyDivRemOfSelect(BinaryOperator &I) {
370 Instruction *InstCombiner::commonIDivTransforms(BinaryOperator &I) {
435 Instruction *InstCombiner::visitUDiv(BinaryOperator &I) {
504 Instruction *InstCombiner::visitSDiv(BinaryOperator &I) {
557 Instruction *InstCombiner::visitFDiv(BinaryOperator &I) {
582 Instruction *InstCombiner::commonIRemTransforms(BinaryOperator &I) {
614 Instruction *InstCombiner::visitURem(BinaryOperator &I)
    [all...]
InstCombineLoadStoreAlloca.cpp 25 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) {
90 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI,
144 Instruction *InstCombiner::visitLoadInst(LoadInst &LI) {
255 static Instruction *InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) {
369 Instruction *InstCombiner::visitStoreInst(StoreInst &SI) {
500 bool InstCombiner::SimplifyStoreAtEndOfBlock(StoreInst &SI) {
InstCombineAddSub.cpp 64 bool InstCombiner::WillNotOverflowSignedAdd(Value *LHS, Value *RHS) {
86 Instruction *InstCombiner::visitAdd(BinaryOperator &I) {
324 Instruction *InstCombiner::visitFAdd(BinaryOperator &I) {
401 Value *InstCombiner::EmitGEPOffset(User *GEP) {
462 Value *InstCombiner::OptimizePointerDifference(Value *LHS, Value *RHS,
529 Instruction *InstCombiner::visitSub(BinaryOperator &I) {
689 Instruction *InstCombiner::visitFSub(BinaryOperator &I) {
InstCombineShifts.cpp 21 Instruction *InstCombiner::commonShiftTransforms(BinaryOperator &I) {
68 InstCombiner &IC) {
183 InstCombiner &IC) {
302 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantInt *Op1,
620 Instruction *InstCombiner::visitShl(BinaryOperator &I) {
658 Instruction *InstCombiner::visitLShr(BinaryOperator &I) {
698 Instruction *InstCombiner::visitAShr(BinaryOperator &I) {
InstCombine.h 68 /// InstCombiner - The -instcombine pass.
69 class LLVM_LIBRARY_VISIBILITY InstCombiner
71 public InstVisitor<InstCombiner, Instruction*> {
84 InstCombiner() : FunctionPass(ID), TD(0), Builder(0) {
InstCombinePHI.cpp 24 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) {
130 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) {
288 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) {
387 Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) {
616 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) {
790 Instruction *InstCombiner::visitPHINode(PHINode &PN) {
    [all...]
InstCombineSelect.cpp 123 Instruction *InstCombiner::FoldSelectOpOp(SelectInst &SI, Instruction *TI,
204 Instruction *InstCombiner::FoldSelectIntoOp(SelectInst &SI, Value *TrueVal,
337 Instruction *InstCombiner::visitSelectInstWithICmp(SelectInst &SI,
542 Instruction *InstCombiner::FoldSPFofSPF(Instruction *Inner,
573 InstCombiner::BuilderTy *Builder) {
637 Instruction *InstCombiner::visitSelectInst(SelectInst &SI) {
    [all...]
InstCombineAndOrXor.cpp 142 InstCombiner::BuilderTy *Builder) {
165 InstCombiner::BuilderTy *Builder) {
194 Instruction *InstCombiner::OptAndOp(Instruction *Op,
338 Value *InstCombiner::InsertRangeTest(Value *V, Constant *Lo, Constant *Hi,
407 Value *InstCombiner::FoldLogicalPlusAnd(Value *LHS, Value *RHS,
645 llvm::InstCombiner::BuilderTy* Builder) {
718 Value *InstCombiner::FoldAndOfICmps(ICmpInst *LHS, ICmpInst *RHS) {
    [all...]
InstCombineCalls.cpp 34 Instruction *InstCombiner::SimplifyMemTransfer(MemIntrinsic *MI) {
124 Instruction *InstCombiner::SimplifyMemSet(MemSetInst *MI) {
173 Instruction *InstCombiner::visitCallInst(CallInst &CI) {
748 Instruction *InstCombiner::visitInvokeInst(InvokeInst &II) {
779 InstCombiner *IC;
805 InstCombineFortifiedLibCalls(InstCombiner *IC) : IC(IC), NewInstruction(0) { }
814 Instruction *InstCombiner::tryOptimizeCall(CallInst *CI, const TargetData *TD) {
824 Instruction *InstCombiner::visitCallSite(CallSite CS) {
    [all...]
InstCombineVectorOps.cpp 123 Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) {
391 Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) {
447 Instruction *InstCombiner::visitShuffleVectorInst(ShuffleVectorInst &SVI) {
InstCombineSimplifyDemanded.cpp 52 bool InstCombiner::SimplifyDemandedInstructionBits(Instruction &Inst) {
68 bool InstCombiner::SimplifyDemandedBits(Use &U, APInt DemandedMask,
100 Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask,
    [all...]
InstCombineCompares.cpp 199 Instruction *InstCombiner::
469 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC) {
565 Instruction *InstCombiner::FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS,
679 Instruction *InstCombiner::FoldICmpAddOpCst(ICmpInst &ICI,
744 Instruction *InstCombiner::FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI,
    [all...]

Completed in 295 milliseconds