Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp62 Constant *COp = C->getAggregateElement(i); in extractConstantMask() local
63 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in extractConstantMask()
66 if (isa<UndefValue>(COp)) { in extractConstantMask()
72 auto *Elt = cast<ConstantInt>(COp); in extractConstantMask()
82 Constant *COp = C->getAggregateElement(i); in extractConstantMask() local
83 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in extractConstantMask()
88 if (isa<UndefValue>(COp)) { in extractConstantMask()
93 MaskBits.insertBits(cast<ConstantInt>(COp)->getValue(), BitOffset); in extractConstantMask()
H A DX86InstCombineIntrinsic.cpp377 auto *COp = dyn_cast_or_null<ConstantInt>(CElt); in simplifyX86varShift() local
378 if (!COp) in simplifyX86varShift()
384 APInt ShiftVal = COp->getValue(); in simplifyX86varShift()
1993 Constant *COp = V->getAggregateElement(I); in simplifyX86pshufb() local
1994 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in simplifyX86pshufb()
1997 if (isa<UndefValue>(COp)) { in simplifyX86pshufb()
2002 int8_t Index = cast<ConstantInt>(COp)->getValue().getZExtValue(); in simplifyX86pshufb()
2038 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermilvar() local
2039 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in simplifyX86vpermilvar()
2042 if (isa<UndefValue>(COp)) { in simplifyX86vpermilvar()
[all …]
H A DX86MCInstLower.cpp1566 static void printConstant(const Constant *COp, unsigned BitWidth, in printConstant() argument
1568 if (isa<UndefValue>(COp)) { in printConstant()
1570 } else if (auto *CI = dyn_cast<ConstantInt>(COp)) { in printConstant()
1579 } else if (auto *CF = dyn_cast<ConstantFP>(COp)) { in printConstant()
1588 } else if (auto *CDS = dyn_cast<ConstantDataSequential>(COp)) { in printConstant()
1608 } else if (auto *CV = dyn_cast<ConstantVector>(COp)) { in printConstant()
H A DX86ISelLowering.cpp54060 if (SDValue COp = combineFaddCFmul(N, DAG, Subtarget)) in combineFaddFsub() local
54061 return COp; in combineFaddFsub()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonNewValueJump.cpp619 unsigned COp = cmpInstr->getOpcode(); in runOnMachineFunction() local
620 if ((COp == Hexagon::C2_cmpeq || COp == Hexagon::C4_cmpneq) && in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp1236 if (auto *COp = dyn_cast<ConstantVector>(Op)) { in preprocessCompositeConstants() local
1237 AggrConst = cast<Constant>(COp); in preprocessCompositeConstants()
1238 ResTy = COp->getType(); in preprocessCompositeConstants()
1239 } else if (auto *COp = dyn_cast<ConstantArray>(Op)) { in preprocessCompositeConstants() local
1240 AggrConst = cast<Constant>(COp); in preprocessCompositeConstants()
1242 } else if (auto *COp = dyn_cast<ConstantStruct>(Op)) { in preprocessCompositeConstants() local
1243 AggrConst = cast<Constant>(COp); in preprocessCompositeConstants()
1245 } else if (auto *COp = dyn_cast<ConstantDataArray>(Op)) { in preprocessCompositeConstants() local
1246 AggrConst = cast<Constant>(COp); in preprocessCompositeConstants()
1248 } else if (auto *COp = dyn_cast<ConstantAggregateZero>(Op)) { in preprocessCompositeConstants() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp1823 Constant *COp = getDirectOrSimplifiedValue<Constant>(Op); in simplifyInstruction() local
1824 if (!COp) in simplifyInstruction()
1826 COps.push_back(COp); in simplifyInstruction()
2317 Constant *COp = getDirectOrSimplifiedValue<Constant>(Op); in visitFNeg() local
2320 COp ? COp : Op, cast<FPMathOperator>(I).getFastMathFlags(), DL); in visitFNeg()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DContext.cpp404 for (llvm::Value *COp : LLVMC->operands()) in getOrCreateValueInternal()
405 getOrCreateValueInternal(COp, LLVMC); in getOrCreateValueInternal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp752 Constant *COp = C->getAggregateElement(I); in simplifyNeonTbl1() local
754 if (!COp || !isa<ConstantInt>(COp)) in simplifyNeonTbl1()
757 Indexes[I] = cast<ConstantInt>(COp)->getLimitedValue(); in simplifyNeonTbl1()