Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp62 Constant *COp = C->getAggregateElement(i); in DecodePSHUFBMask() local
63 if (!COp) { in DecodePSHUFBMask()
66 } else if (isa<UndefValue>(COp)) { in DecodePSHUFBMask()
71 APInt APElt = cast<ConstantInt>(COp)->getValue(); in DecodePSHUFBMask()
139 Constant *COp = C->getAggregateElement(i * Factor); in DecodeVPERMILPMask() local
140 if (!COp) { in DecodeVPERMILPMask()
143 } else if (isa<UndefValue>(COp)) { in DecodeVPERMILPMask()
148 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); in DecodeVPERMILPMask()
191 Constant *COp = C->getAggregateElement(i * Factor); in DecodeVPERMIL2PMask() local
192 if (!COp) { in DecodeVPERMIL2PMask()
[all …]
DX86MCInstLower.cpp1635 Constant *COp = CV->getOperand(i); in EmitInstruction() local
1636 if (isa<UndefValue>(COp)) { in EmitInstruction()
1638 } else if (auto *CI = dyn_cast<ConstantInt>(COp)) { in EmitInstruction()
1652 } else if (auto *CF = dyn_cast<ConstantFP>(COp)) { in EmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp61 Constant *COp = C->getAggregateElement(i); in extractConstantMask() local
62 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in extractConstantMask()
65 if (isa<UndefValue>(COp)) { in extractConstantMask()
71 auto *Elt = cast<ConstantInt>(COp); in extractConstantMask()
81 Constant *COp = C->getAggregateElement(i); in extractConstantMask() local
82 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in extractConstantMask()
87 if (isa<UndefValue>(COp)) { in extractConstantMask()
92 MaskBits.insertBits(cast<ConstantInt>(COp)->getValue(), BitOffset); in extractConstantMask()
DX86MCInstLower.cpp1518 static void printConstant(const Constant *COp, raw_ostream &CS) { in printConstant() argument
1519 if (isa<UndefValue>(COp)) { in printConstant()
1521 } else if (auto *CI = dyn_cast<ConstantInt>(COp)) { in printConstant()
1535 } else if (auto *CF = dyn_cast<ConstantFP>(COp)) { in printConstant()
/external/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp141 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitCastInst() local
142 if (!COp) in visitCastInst()
143 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
150 if (COp && CastInst::castIsValid(I.getOpcode(), COp, I.getType())) { in visitCastInst()
152 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DInlineCost.cpp432 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitBitCast() local
433 if (!COp) in visitBitCast()
434 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitBitCast()
435 if (COp) in visitBitCast()
436 if (Constant *C = ConstantExpr::getBitCast(COp, I.getType())) { in visitBitCast()
460 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitPtrToInt() local
461 if (!COp) in visitPtrToInt()
462 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitPtrToInt()
463 if (COp) in visitPtrToInt()
464 if (Constant *C = ConstantExpr::getPtrToInt(COp, I.getType())) { in visitPtrToInt()
[all …]
DInstructionSimplify.cpp3351 else if (Constant *COp = dyn_cast<Constant>(I->getOperand(i))) in SimplifyWithOpReplaced() local
3352 ConstOps.push_back(COp); in SimplifyWithOpReplaced()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp146 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitCastInst() local
147 if (!COp) in visitCastInst()
148 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
155 if (COp && CastInst::castIsValid(I.getOpcode(), COp, I.getType())) { in visitCastInst()
157 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DInlineCost.cpp603 Constant *COp = dyn_cast<Constant>(Op); in simplifyInstruction() local
604 if (!COp) in simplifyInstruction()
605 COp = SimplifiedValues.lookup(Op); in simplifyInstruction()
606 if (!COp) in simplifyInstruction()
608 COps.push_back(COp); in simplifyInstruction()
DInstructionSimplify.cpp3686 else if (Constant *COp = dyn_cast<Constant>(I->getOperand(i))) in SimplifyWithOpReplaced() local
3687 ConstOps.push_back(COp); in SimplifyWithOpReplaced()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp383 auto *COp = dyn_cast_or_null<ConstantInt>(CElt); in simplifyX86varShift() local
384 if (!COp) in simplifyX86varShift()
390 APInt ShiftVal = COp->getValue(); in simplifyX86varShift()
460 auto *COp = C->getAggregateElement(I); in simplifyX86movmsk() local
461 if (!COp) in simplifyX86movmsk()
463 if (isa<UndefValue>(COp)) in simplifyX86movmsk()
466 auto *CInt = dyn_cast<ConstantInt>(COp); in simplifyX86movmsk()
467 auto *CFp = dyn_cast<ConstantFP>(COp); in simplifyX86movmsk()
744 Constant *COp = V->getAggregateElement(I); in simplifyX86pshufb() local
745 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) in simplifyX86pshufb()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp448 auto *COp = dyn_cast_or_null<ConstantInt>(CElt); in simplifyX86varShift() local
449 if (!COp) in simplifyX86varShift()
455 APInt ShiftVal = COp->getValue(); in simplifyX86varShift()
536 auto *COp = Cst->getAggregateElement(SrcIdx); in simplifyX86pack() local
537 if (COp && isa<UndefValue>(COp)) { in simplifyX86pack()
542 auto *CInt = dyn_cast_or_null<ConstantInt>(COp); in simplifyX86pack()
698 auto *COp = C->getAggregateElement(I); in simplifyX86movmsk() local
699 if (!COp) in simplifyX86movmsk()
701 if (isa<UndefValue>(COp)) in simplifyX86movmsk()
704 auto *CInt = dyn_cast<ConstantInt>(COp); in simplifyX86movmsk()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp1449 const SCEVConstant *COp = nullptr; in updateNonLoopCtrlIncr() local
1451 COp = dyn_cast<SCEVConstant>(SE->getSCEV(LoopInc->getOperand(1))); in updateNonLoopCtrlIncr()
1453 COp = dyn_cast<SCEVConstant>(SE->getSCEV(LoopInc->getOperand(0))); in updateNonLoopCtrlIncr()
1454 if (!COp) in updateNonLoopCtrlIncr()
1455 COp = dyn_cast<SCEVConstant>(SE->getSCEV(LoopInc->getOperand(1))); in updateNonLoopCtrlIncr()
1458 assert(COp && "Didn't find constant operand of LoopInc!\n"); in updateNonLoopCtrlIncr()
1460 const APInt &AInt = COp->getValue()->getValue(); in updateNonLoopCtrlIncr()
1461 const SCEV *ScaleSCEV = SE->getConstant(COp->getType(), Scale); in updateNonLoopCtrlIncr()
1463 NewInc = SE->getNegativeSCEV(COp); in updateNonLoopCtrlIncr()
1467 NewInc = SE->getUDivExpr(COp, ScaleSCEV); in updateNonLoopCtrlIncr()
/external/swiftshader/third_party/llvm-7.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()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp320 else if (Constant *COp = dyn_cast<Constant>(I->getOperand(i))) in SimplifyWithOpReplaced() local
321 ConstOps.push_back(COp); in SimplifyWithOpReplaced()
/external/honggfuzz/examples/apache-httpd/corpus_http2/
D39cd2d33e6a0ee837389bc26eff3f824.0001f809.honggfuzz.cov4816 iY��ጮP�5hO��'f�6yvw�a�h����]��qUH����+��j�)�.��?�[�ڱ�)Y�r�O����2�COp�H2��h�.�[��PRg$��}�= …
/external/honggfuzz/examples/apache-httpd/corpus_http1/
D39cd2d33e6a0ee837389bc26eff3f824.0001f809.honggfuzz.cov4816 iY��ጮP�5hO��'f�6yvw�a�h����]��qUH����+��j�)�.��?�[�ڱ�)Y�r�O����2�COp�H2��h�.�[��PRg$��}�= …