Searched refs:LogicOpc (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1197 auto LogicOpc = I.getOpcode(); in foldCastedBitwiseLogic() local 1198 assert((LogicOpc == Instruction::And || LogicOpc == Instruction::Or || in foldCastedBitwiseLogic() 1199 LogicOpc == Instruction::Xor) && in foldCastedBitwiseLogic() 1223 Value *NewOp = Builder->CreateBinOp(LogicOpc, BC, NewConstant, I.getName()); in foldCastedBitwiseLogic() 1246 Value *NewOp = Builder->CreateBinOp(LogicOpc, Cast0Src, Cast1Src, in foldCastedBitwiseLogic() 1252 if (LogicOpc == Instruction::Xor) in foldCastedBitwiseLogic() 1260 Value *Res = LogicOpc == Instruction::And ? FoldAndOfICmps(ICmp0, ICmp1) in foldCastedBitwiseLogic() 1272 Value *Res = LogicOpc == Instruction::And ? FoldAndOfFCmps(FCmp0, FCmp1) in foldCastedBitwiseLogic()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1182 auto LogicOpc = Logic.getOpcode(); in foldLogicCastConstant() local 1196 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 1206 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 1216 auto LogicOpc = I.getOpcode(); in foldCastedBitwiseLogic() local 1249 Value *NewOp = Builder.CreateBinOp(LogicOpc, Cast0Src, Cast1Src, in foldCastedBitwiseLogic() 1255 if (LogicOpc == Instruction::Xor) in foldCastedBitwiseLogic() 1263 Value *Res = LogicOpc == Instruction::And ? foldAndOfICmps(ICmp0, ICmp1, I) in foldCastedBitwiseLogic() 1275 if (Value *R = foldLogicOfFCmps(FCmp0, FCmp1, LogicOpc == Instruction::And)) in foldCastedBitwiseLogic()
|