Home
last modified time | relevance | path

Searched refs:AndI (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1259 static bool sinkAndCmp0Expression(Instruction *AndI, in sinkAndCmp0Expression() argument
1264 assert(!InsertedInsts.count(AndI) && in sinkAndCmp0Expression()
1269 if (AndI->hasOneUse() && in sinkAndCmp0Expression()
1270 AndI->getParent() == cast<Instruction>(*AndI->user_begin())->getParent()) in sinkAndCmp0Expression()
1275 if (!isa<ConstantInt>(AndI->getOperand(0)) && in sinkAndCmp0Expression()
1276 !isa<ConstantInt>(AndI->getOperand(1)) && in sinkAndCmp0Expression()
1277 AndI->getOperand(0)->hasOneUse() && AndI->getOperand(1)->hasOneUse()) in sinkAndCmp0Expression()
1280 for (auto *U : AndI->users()) { in sinkAndCmp0Expression()
1292 if (!TLI.isMaskAndCmp0FoldingBeneficial(*AndI)) in sinkAndCmp0Expression()
1296 LLVM_DEBUG(AndI->getParent()->dump()); in sinkAndCmp0Expression()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp239 if (auto *AndI = dyn_cast<Instruction>(And)) { in foldShiftedShift() local
240 AndI->moveBefore(InnerShift); in foldShiftedShift()
241 AndI->takeName(InnerShift); in foldShiftedShift()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h444 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
DAArch64ISelLowering.cpp11488 const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial()
11494 ConstantInt* Mask = dyn_cast<ConstantInt>(AndI.getOperand(1)); in isMaskAndCmp0FoldingBeneficial()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h1125 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
DPPCISelDAGToDAG.cpp4536 SDValue AndI(CurDAG->getMachineNode(Opcode, dl, InVT, MVT::Glue, in Select() local
4546 SRIdxVal, SDValue(AndI.getNode(), 1) /* glue */); in Select()
DPPCISelLowering.cpp14172 isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial()
14173 const Value *Mask = AndI.getOperand(1); in isMaskAndCmp0FoldingBeneficial()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.h810 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
DX86ISelLowering.cpp4749 const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h465 virtual bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial() argument
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp2750 SDValue AndI(CurDAG->getMachineNode(Opcode, dl, InVT, MVT::Glue, in Select() local
2760 SRIdxVal, SDValue(AndI.getNode(), 1) /* glue */); in Select()