Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp325 Constant *COp = C->getAggregateElement(i); in DecodePSHUFBMask() local
326 if (!COp) { in DecodePSHUFBMask()
329 } else if (isa<UndefValue>(COp)) { in DecodePSHUFBMask()
333 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); in DecodePSHUFBMask()
418 Constant *COp = CV->getOperand(i); in DecodeVPERMILPMask() local
419 if (isa<UndefValue>(COp)) { in DecodeVPERMILPMask()
423 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); in DecodeVPERMILPMask()
560 Constant *COp = C->getAggregateElement(i); in DecodeVPERMVMask() local
561 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) { in DecodeVPERMVMask()
565 if (isa<UndefValue>(COp)) in DecodeVPERMVMask()
[all …]
/external/llvm/lib/Analysis/
DInlineCost.cpp386 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitBitCast() local
387 if (!COp) in visitBitCast()
388 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitBitCast()
389 if (COp) in visitBitCast()
390 if (Constant *C = ConstantExpr::getBitCast(COp, I.getType())) { in visitBitCast()
414 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitPtrToInt() local
415 if (!COp) in visitPtrToInt()
416 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitPtrToInt()
417 if (COp) in visitPtrToInt()
418 if (Constant *C = ConstantExpr::getPtrToInt(COp, I.getType())) { in visitPtrToInt()
[all …]
DInstructionSimplify.cpp3290 else if (Constant *COp = dyn_cast<Constant>(I->getOperand(i))) in SimplifyWithOpReplaced() local
3291 ConstOps.push_back(COp); in SimplifyWithOpReplaced()
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp443 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitCastInst() local
444 if (!COp) in visitCastInst()
445 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
446 if (COp) in visitCastInst()
448 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp1375 Constant *COp = CV->getOperand(i); in EmitInstruction() local
1376 if (isa<UndefValue>(COp)) { in EmitInstruction()
1378 } else if (auto *CI = dyn_cast<ConstantInt>(COp)) { in EmitInstruction()
1392 } else if (auto *CF = dyn_cast<ConstantFP>(COp)) { in EmitInstruction()