Home
last modified time | relevance | path

Searched refs:COp (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp60 Constant *COp = C->getAggregateElement(i); in extractConstantMask() local
61 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in extractConstantMask()
64 if (isa<UndefValue>(COp)) { in extractConstantMask()
70 auto *Elt = cast<ConstantInt>(COp); in extractConstantMask()
80 Constant *COp = C->getAggregateElement(i); in extractConstantMask() local
81 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in extractConstantMask()
86 if (isa<UndefValue>(COp)) { in extractConstantMask()
91 MaskBits.insertBits(cast<ConstantInt>(COp)->getValue(), BitOffset); in extractConstantMask()
DX86MCInstLower.cpp1865 static void printConstant(const Constant *COp, raw_ostream &CS) { in printConstant() argument
1866 if (isa<UndefValue>(COp)) { in printConstant()
1868 } else if (auto *CI = dyn_cast<ConstantInt>(COp)) { in printConstant()
1870 } else if (auto *CF = dyn_cast<ConstantFP>(COp)) { in printConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp145 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitCastInst() local
146 if (!COp) in visitCastInst()
147 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
154 if (COp && CastInst::castIsValid(I.getOpcode(), COp, I.getType())) { in visitCastInst()
156 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DInlineCost.cpp898 Constant *COp = dyn_cast<Constant>(Op); in simplifyInstruction() local
899 if (!COp) in simplifyInstruction()
900 COp = SimplifiedValues.lookup(Op); in simplifyInstruction()
901 if (!COp) in simplifyInstruction()
903 COps.push_back(COp); in simplifyInstruction()
1368 Constant *COp = dyn_cast<Constant>(Op); in visitFNeg() local
1369 if (!COp) in visitFNeg()
1370 COp = SimplifiedValues.lookup(Op); in visitFNeg()
1373 COp ? COp : Op, cast<FPMathOperator>(I).getFastMathFlags(), DL); in visitFNeg()
DInstructionSimplify.cpp3780 else if (Constant *COp = dyn_cast<Constant>(I->getOperand(i))) in SimplifyWithOpReplaced() local
3781 ConstOps.push_back(COp); in SimplifyWithOpReplaced()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp494 auto *COp = dyn_cast_or_null<ConstantInt>(CElt); in simplifyX86varShift() local
495 if (!COp) in simplifyX86varShift()
501 APInt ShiftVal = COp->getValue(); in simplifyX86varShift()
939 Constant *COp = V->getAggregateElement(I); in simplifyX86pshufb() local
940 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in simplifyX86pshufb()
943 if (isa<UndefValue>(COp)) { in simplifyX86pshufb()
948 int8_t Index = cast<ConstantInt>(COp)->getValue().getZExtValue(); in simplifyX86pshufb()
986 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermilvar() local
987 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in simplifyX86vpermilvar()
990 if (isa<UndefValue>(COp)) { in simplifyX86vpermilvar()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonNewValueJump.cpp632 unsigned COp = cmpInstr->getOpcode(); in runOnMachineFunction() local
633 if ((COp == Hexagon::C2_cmpeq || COp == Hexagon::C4_cmpneq) && in runOnMachineFunction()