/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | dwarf2yaml.cpp | 290 DWARFYAML::LineTableOpcode NewOp; in dumpDebugLines() local 291 NewOp.Opcode = (dwarf::LineNumberOps)LineData.getU8(&Offset); in dumpDebugLines() 292 if (NewOp.Opcode == 0) { in dumpDebugLines() 294 NewOp.ExtLen = LineData.getULEB128(&Offset); in dumpDebugLines() 295 NewOp.SubOpcode = in dumpDebugLines() 297 switch (NewOp.SubOpcode) { in dumpDebugLines() 300 NewOp.Data = LineData.getAddress(&Offset); in dumpDebugLines() 303 dumpFileEntry(LineData, Offset, NewOp.FileEntry); in dumpDebugLines() 308 while (Offset < StartExt + NewOp.ExtLen) in dumpDebugLines() 309 NewOp.UnknownOpcodeData.push_back(LineData.getU8(&Offset)); in dumpDebugLines() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonPeephole.cpp | 252 int NewOp = QII->getInvertedPredicatedOpcode(MI.getOpcode()); in runOnMachineFunction() local 253 MI.setDesc(QII->get(NewOp)); in runOnMachineFunction() 263 unsigned NewOp = 0; in runOnMachineFunction() local 269 NewOp = Op; in runOnMachineFunction() 272 NewOp = Hexagon::C2_muxir; in runOnMachineFunction() 275 NewOp = Hexagon::C2_muxri; in runOnMachineFunction() 278 if (NewOp) { in runOnMachineFunction() 282 QII->get(NewOp), MI.getOperand(0).getReg()) in runOnMachineFunction()
|
D | HexagonInstrInfo.cpp | 3618 int NewOp = MI.getOpcode(); in getDotOldOp() local 3619 if (isPredicated(NewOp) && isPredicatedNew(NewOp)) { // Get predicate old form in getDotOldOp() 3620 NewOp = Hexagon::getPredOldOpcode(NewOp); in getDotOldOp() 3625 switch (NewOp) { in getDotOldOp() 3627 NewOp = Hexagon::J2_jumpt; in getDotOldOp() 3630 NewOp = Hexagon::J2_jumpf; in getDotOldOp() 3633 NewOp = Hexagon::J2_jumprt; in getDotOldOp() 3636 NewOp = Hexagon::J2_jumprf; in getDotOldOp() 3640 assert(NewOp >= 0 && in getDotOldOp() 3644 if (isNewValueStore(NewOp)) { // Convert into non-new-value format in getDotOldOp() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonPeephole.cpp | 253 int NewOp = QII->getInvertedPredicatedOpcode(MI.getOpcode()); in runOnMachineFunction() local 254 MI.setDesc(QII->get(NewOp)); in runOnMachineFunction() 264 unsigned NewOp = 0; in runOnMachineFunction() local 270 NewOp = Op; in runOnMachineFunction() 273 NewOp = Hexagon::C2_muxir; in runOnMachineFunction() 276 NewOp = Hexagon::C2_muxri; in runOnMachineFunction() 279 if (NewOp) { in runOnMachineFunction() 283 MI.setDesc(QII->get(NewOp)); in runOnMachineFunction()
|
D | HexagonInstrInfo.cpp | 3619 int NewOp = opc; in getDotOldOp() local 3620 if (isPredicated(NewOp) && isPredicatedNew(NewOp)) { // Get predicate old form in getDotOldOp() 3621 NewOp = Hexagon::getPredOldOpcode(NewOp); in getDotOldOp() 3622 assert(NewOp >= 0 && in getDotOldOp() 3626 if (isNewValueStore(NewOp)) { // Convert into non-new-value format in getDotOldOp() 3627 NewOp = Hexagon::getNonNVStore(NewOp); in getDotOldOp() 3628 assert(NewOp >= 0 && "Couldn't change new-value store to its old form."); in getDotOldOp() 3630 return NewOp; in getDotOldOp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | ValueList.cpp | 175 Value *NewOp; in resolveConstantForwardRefs() local 178 NewOp = *I; in resolveConstantForwardRefs() 181 NewOp = RealVal; in resolveConstantForwardRefs() 188 NewOp = operator[](It->second); in resolveConstantForwardRefs() 191 NewOps.push_back(cast<Constant>(NewOp)); in resolveConstantForwardRefs()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | VirtRegRewriter.cpp | 909 ReusedOp NewOp = Op; in GetRegForReload() local 913 unsigned RealPhysRegUsed = MI->getOperand(NewOp.Operand).getReg(); in GetRegForReload() 928 unsigned NewPhysReg = GetRegForReload(RC, NewOp.AssignedPhysReg, in GetRegForReload() 932 bool DoReMat = NewOp.StackSlotOrReMat > VirtRegMap::MAX_STACK_SLOT; in GetRegForReload() 934 ? VRM.getReMatId(NewOp.VirtReg) : (int) NewOp.StackSlotOrReMat; in GetRegForReload() 942 ReMaterialize(*MBB, InsertLoc, NewPhysReg, NewOp.VirtReg, TII, in GetRegForReload() 946 NewOp.StackSlotOrReMat, AliasRC, TRI); in GetRegForReload() 948 VRM.addSpillSlotUse(NewOp.StackSlotOrReMat, LoadMI); in GetRegForReload() 950 MaybeDeadStores[NewOp.StackSlotOrReMat] = NULL; in GetRegForReload() 954 Spills.ClobberPhysReg(NewOp.PhysRegReused); in GetRegForReload() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1237 Value *NewOp = Builder->CreateAnd(Op0COp, Op1COp, I.getName()); in visitAnd() local 1238 return CastInst::Create(Op0C->getOpcode(), NewOp, I.getType()); in visitAnd() 1263 Value *NewOp = in visitAnd() local 1266 return BinaryOperator::Create(SI1->getOpcode(), NewOp, in visitAnd() 1746 Value *NewOp = Builder->CreateAnd((V1 == A) ? B : A, CI1); in FoldOrWithConstants() local 1747 return BinaryOperator::CreateOr(NewOp, V1); in FoldOrWithConstants() 1948 Value *NewOp = Builder->CreateOr(SI0->getOperand(0), SI1->getOperand(0), in visitOr() local 1950 return BinaryOperator::Create(SI1->getOpcode(), NewOp, in visitOr() 2022 Value *NewOp = Builder->CreateOr(Op0COp, Op1COp, I.getName()); in visitOr() local 2023 return CastInst::Create(Op0C->getOpcode(), NewOp, I.getType()); in visitOr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 435 Value *NewOp = nullptr; in processOverflowIntrinsic() local 441 NewOp = BinaryOperator::CreateAdd(II->getOperand(0), II->getOperand(1), in processOverflowIntrinsic() 446 NewOp = BinaryOperator::CreateSub(II->getOperand(0), II->getOperand(1), in processOverflowIntrinsic() 452 Value *NewI = B.CreateInsertValue(UndefValue::get(II->getType()), NewOp, 0); in processOverflowIntrinsic()
|
D | SeparateConstOffsetFromGEP.cpp | 708 BinaryOperator::BinaryOps NewOp = BO->getOpcode(); in removeConstOffset() local 723 NewOp = Instruction::Add; in removeConstOffset() 728 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset() 730 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset()
|
D | Reassociate.cpp | 751 BinaryOperator *NewOp; in RewriteExprTree() local 754 NewOp = BinaryOperator::Create(Instruction::BinaryOps(Opcode), in RewriteExprTree() 756 if (NewOp->getType()->isFPOrFPVectorTy()) in RewriteExprTree() 757 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree() 759 NewOp = NodesToRewrite.pop_back_val(); in RewriteExprTree() 763 Op->setOperand(0, NewOp); in RewriteExprTree() 768 Op = NewOp; in RewriteExprTree()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 662 BinaryOperator::BinaryOps NewOp = BO->getOpcode(); in removeConstOffset() local 677 NewOp = Instruction::Add; in removeConstOffset() 682 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset() 684 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset()
|
D | Reassociate.cpp | 734 BinaryOperator *NewOp; in RewriteExprTree() local 737 NewOp = BinaryOperator::Create(Instruction::BinaryOps(Opcode), in RewriteExprTree() 739 if (NewOp->getType()->isFPOrFPVectorTy()) in RewriteExprTree() 740 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree() 742 NewOp = NodesToRewrite.pop_back_val(); in RewriteExprTree() 746 Op->setOperand(0, NewOp); in RewriteExprTree() 751 Op = NewOp; in RewriteExprTree()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6537 static SDValue tryAdvSIMDModImm64(unsigned NewOp, SDValue Op, SelectionDAG &DAG, in tryAdvSIMDModImm64() argument 6548 SDValue Mov = DAG.getNode(NewOp, dl, MovTy, in tryAdvSIMDModImm64() 6558 static SDValue tryAdvSIMDModImm32(unsigned NewOp, SDValue Op, SelectionDAG &DAG, in tryAdvSIMDModImm32() argument 6590 Mov = DAG.getNode(NewOp, dl, MovTy, *LHS, in tryAdvSIMDModImm32() 6594 Mov = DAG.getNode(NewOp, dl, MovTy, in tryAdvSIMDModImm32() 6606 static SDValue tryAdvSIMDModImm16(unsigned NewOp, SDValue Op, SelectionDAG &DAG, in tryAdvSIMDModImm16() argument 6630 Mov = DAG.getNode(NewOp, dl, MovTy, *LHS, in tryAdvSIMDModImm16() 6634 Mov = DAG.getNode(NewOp, dl, MovTy, in tryAdvSIMDModImm16() 6646 static SDValue tryAdvSIMDModImm321s(unsigned NewOp, SDValue Op, in tryAdvSIMDModImm321s() argument 6666 SDValue Mov = DAG.getNode(NewOp, dl, MovTy, in tryAdvSIMDModImm321s() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 561 Value *NewOp = Builder.CreateBinOp(TBO->getOpcode(), NewShift, in FoldShiftByConstant() local 563 return SelectInst::Create(Cond, NewOp, NewShift); in FoldShiftByConstant() 580 Value *NewOp = Builder.CreateBinOp(FBO->getOpcode(), NewShift, in FoldShiftByConstant() local 582 return SelectInst::Create(Cond, NewShift, NewOp); in FoldShiftByConstant()
|
D | InstCombineMulDivRem.cpp | 153 Value *NewOp; in visitMul() local 156 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul() 162 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul() 171 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul() 173 if (Constant *NewCst = getLogBase2(NewOp->getType(), C1)) { in visitMul() 175 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul()
|
D | InstCombineAndOrXor.cpp | 1196 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() local 1197 return new ZExtInst(NewOp, DestTy); in foldLogicCastConstant() 1206 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() local 1207 return new SExtInst(NewOp, DestTy); in foldLogicCastConstant() 1249 Value *NewOp = Builder.CreateBinOp(LogicOpc, Cast0Src, Cast1Src, in foldCastedBitwiseLogic() local 1251 return CastInst::Create(CastOpcode, NewOp, DestTy); in foldCastedBitwiseLogic()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 198 Value *NewOp; in visitMul() local 201 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul() 207 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul() 216 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul() 220 NewCst = ConstantInt::get(NewOp->getType(), IVal->logBase2()); in visitMul() 228 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul()
|
D | InstCombineAndOrXor.cpp | 1223 Value *NewOp = Builder->CreateBinOp(LogicOpc, BC, NewConstant, I.getName()); in foldCastedBitwiseLogic() local 1224 return CastInst::CreateBitOrPointerCast(NewOp, DestTy); in foldCastedBitwiseLogic() 1246 Value *NewOp = Builder->CreateBinOp(LogicOpc, Cast0Src, Cast1Src, in foldCastedBitwiseLogic() local 1248 return CastInst::Create(CastOpcode, NewOp, DestTy); in foldCastedBitwiseLogic() 2083 Value *NewOp = Builder->CreateAnd((V1 == A) ? B : A, CI1); in FoldOrWithConstants() local 2084 return BinaryOperator::CreateOr(NewOp, V1); in FoldOrWithConstants() 2115 Value *NewOp = Builder->CreateAnd(V1 == A ? B : A, CI1); in FoldXorWithConstants() local 2116 return BinaryOperator::CreateXor(NewOp, V1); in FoldXorWithConstants()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | ScalarEvolution.h | 606 SmallVector<const SCEV *, 4> NewOp(Operands.begin(), Operands.end()); 607 return getAddRecExpr(NewOp, L, Flags);
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | Record.cpp | 1047 const OpInit *NewOp = RHSo->clone(NewOperands); in EvaluateOperation() local 1048 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); in EvaluateOperation() 1049 if (NewVal != NewOp) in EvaluateOperation() 1124 const OpInit *NewOp = RHSo->clone(NewOperands); in ForeachHelper() local 1125 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass); in ForeachHelper() 1126 if (NewItem != NewOp) in ForeachHelper()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 974 const OpInit *NewOp = RHSo->clone(NewOperands); in EvaluateOperation() local 975 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); in EvaluateOperation() 976 return (NewVal != NewOp) ? NewVal : nullptr; in EvaluateOperation() 1032 const OpInit *NewOp = RHSo->clone(NewOperands); in ForeachHelper() local 1033 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass); in ForeachHelper() 1034 if (NewItem != NewOp) in ForeachHelper()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 175 SDValue NewOp = BitConvertVectorToIntegerVector(N->getOperand(0)); in SoftenFloatRes_EXTRACT_VECTOR_ELT() local 177 NewOp.getValueType().getVectorElementType(), in SoftenFloatRes_EXTRACT_VECTOR_ELT() 178 NewOp, N->getOperand(1)); in SoftenFloatRes_EXTRACT_VECTOR_ELT() 1997 SDValue NewOp = BitConvertVectorToIntegerVector(N->getOperand(0)); in PromoteFloatRes_EXTRACT_VECTOR_ELT() local 1998 EVT IVT = NewOp.getValueType().getVectorElementType(); in PromoteFloatRes_EXTRACT_VECTOR_ELT() 2002 NewOp, N->getOperand(1)); in PromoteFloatRes_EXTRACT_VECTOR_ELT()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 178 SDValue NewOp = BitConvertVectorToIntegerVector(N->getOperand(0)); in SoftenFloatRes_EXTRACT_VECTOR_ELT() local 180 NewOp.getValueType().getVectorElementType(), in SoftenFloatRes_EXTRACT_VECTOR_ELT() 181 NewOp, N->getOperand(1)); in SoftenFloatRes_EXTRACT_VECTOR_ELT() 2020 SDValue NewOp = BitConvertVectorToIntegerVector(N->getOperand(0)); in PromoteFloatRes_EXTRACT_VECTOR_ELT() local 2021 EVT IVT = NewOp.getValueType().getVectorElementType(); in PromoteFloatRes_EXTRACT_VECTOR_ELT() 2025 NewOp, N->getOperand(1)); in PromoteFloatRes_EXTRACT_VECTOR_ELT()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmInstrumentation.cpp | 450 std::unique_ptr<X86Operand> NewOp = in ComputeMemOperandAddress() local 452 EmitLEA(*NewOp, Size, Reg, Out); in ComputeMemOperandAddress()
|