| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Annotation2Metadata.cpp | 44 auto *OpC = dyn_cast<ConstantStruct>(&Op); in convertAnnotation2Metadata() local 45 if (!OpC || OpC->getNumOperands() != 4) in convertAnnotation2Metadata() 47 auto *StrC = dyn_cast<GlobalValue>(OpC->getOperand(1)->stripPointerCasts()); in convertAnnotation2Metadata() 53 auto *Fn = dyn_cast<Function>(OpC->getOperand(0)->stripPointerCasts()); in convertAnnotation2Metadata()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
| H A D | SimpleRemoteEPCServer.cpp | 62 SimpleRemoteEPCServer::handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, in handleMessage() argument 68 switch (OpC) { in handleMessage() 93 if (static_cast<UT>(OpC) > static_cast<UT>(SimpleRemoteEPCOpcode::LastOpC)) in handleMessage() 98 switch (OpC) { in handleMessage() 151 Error SimpleRemoteEPCServer::sendMessage(SimpleRemoteEPCOpcode OpC, in sendMessage() argument 157 switch (OpC) { in sendMessage() 180 auto Err = T->sendMessage(OpC, SeqNo, TagAddr, ArgBytes); in sendMessage()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/ |
| H A D | SimpleRemoteEPCUtils.cpp | 86 Error FDSimpleRemoteEPCTransport::sendMessage(SimpleRemoteEPCOpcode OpC, in sendMessage() argument 95 static_cast<uint64_t>(OpC); in sendMessage() 204 SimpleRemoteEPCOpcode OpC; in listenLoop() local 210 OpC = static_cast<SimpleRemoteEPCOpcode>(static_cast<uint64_t>( in listenLoop() 232 if (auto Action = C.handleMessage(OpC, SeqNo, TagAddr, ArgBytes)) { in listenLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Local.cpp | 43 if (Constant *OpC = dyn_cast<Constant>(Op)) { in emitGEPOffset() local 44 if (OpC->isZeroValue()) in emitGEPOffset() 49 uint64_t OpValue = OpC->getUniqueInteger().getZExtValue(); in emitGEPOffset()
|
| H A D | CGSCCPassManager.cpp | 943 if (auto *OpC = dyn_cast<Constant>(Op)) in updateCGAndAnalysisManagerForPass() local 944 if (Visited.insert(OpC).second) in updateCGAndAnalysisManagerForPass() 945 Worklist.push_back(OpC); in updateCGAndAnalysisManagerForPass()
|
| H A D | ConstantFolding.cpp | 4097 if (ConstantFP *OpC = dyn_cast<ConstantFP>(Call->getArgOperand(0))) { in isMathLibCallNoop() local 4098 const APFloat &Op = OpC->getValueAPF(); in isMathLibCallNoop() 4118 if (OpC->getType()->isDoubleTy()) in isMathLibCallNoop() 4120 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop() 4128 if (OpC->getType()->isDoubleTy()) in isMathLibCallNoop() 4130 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop() 4147 Type *Ty = OpC->getType(); in isMathLibCallNoop() 4149 return ConstantFoldFP(tan, OpC->getValueAPF(), Ty) != nullptr; in isMathLibCallNoop() 4175 if (OpC->getType()->isDoubleTy()) in isMathLibCallNoop() 4177 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
|
| H A D | InlineCost.cpp | 1538 ConstantInt *OpC = in accumulateGEPOffset() local 1540 if (!OpC) in accumulateGEPOffset() 1542 if (OpC->isZero()) in accumulateGEPOffset() 1547 unsigned ElementIdx = OpC->getZExtValue(); in accumulateGEPOffset() 1554 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | SimpleRemoteEPC.cpp | 134 SimpleRemoteEPC::handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, in handleMessage() argument 140 switch (OpC) { in handleMessage() 165 if (static_cast<UT>(OpC) > static_cast<UT>(SimpleRemoteEPCOpcode::LastOpC)) in handleMessage() 169 switch (OpC) { in handleMessage() 248 Error SimpleRemoteEPC::sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, in sendMessage() argument 251 assert(OpC != SimpleRemoteEPCOpcode::Setup && in sendMessage() 256 switch (OpC) { in sendMessage() 276 auto Err = T->sendMessage(OpC, SeqNo, TagAddr, ArgBytes); in sendMessage()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCRegisterInfo.cpp | 94 static unsigned offsetMinAlignForOpcode(unsigned OpC); 1621 static unsigned offsetMinAlignForOpcode(unsigned OpC) { in offsetMinAlignForOpcode() argument 1622 switch (OpC) { in offsetMinAlignForOpcode() 1655 unsigned OpC = MI.getOpcode(); in offsetMinAlign() local 1656 return offsetMinAlignForOpcode(OpC); in offsetMinAlign() 1702 unsigned OpC = MI.getOpcode(); in eliminateFrameIndex() local 1704 switch (OpC) { in eliminateFrameIndex() 1787 bool noImmForm = !MI.isInlineAsm() && OpC != TargetOpcode::STACKMAP && in eliminateFrameIndex() 1788 OpC != TargetOpcode::PATCHPOINT && !ImmToIdxMap.count(OpC); in eliminateFrameIndex() 1807 if ((OpC == PPC::LXVP || OpC == PPC::STXVP) && in eliminateFrameIndex() [all …]
|
| H A D | PPCInstrInfo.cpp | 794 MachineOperand &OpC = Root.getOperand(0); in reassociateFMA() local 795 Register RegC = OpC.getReg(); in reassociateFMA() 2202 unsigned OpC = MI.getOpcode(); in PredicateInstruction() local 2203 if (OpC == PPC::BLR || OpC == PPC::BLR8) { in PredicateInstruction() 2226 } else if (OpC == PPC::B) { in PredicateInstruction() 2263 } else if (OpC == PPC::BCTR || OpC == PPC::BCTR8 || OpC == PPC::BCTRL || in PredicateInstruction() 2264 OpC == PPC::BCTRL8 || OpC == PPC::BCTRL_RM || in PredicateInstruction() 2265 OpC == PPC::BCTRL8_RM) { in PredicateInstruction() 2269 bool setLR = OpC == PPC::BCTRL || OpC == PPC::BCTRL8 || in PredicateInstruction() 2270 OpC == PPC::BCTRL_RM || OpC == PPC::BCTRL8_RM; in PredicateInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 96 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in getMaxPreservedAlignment() local 100 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 105 const uint64_t ElemCount = OpC ? OpC->getZExtValue() : 1; in getMaxPreservedAlignment()
|
| H A D | Value.cpp | 1033 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); in getOffsetFromIndex() local 1034 if (!OpC) in getOffsetFromIndex() 1036 if (OpC->isZero()) in getOffsetFromIndex() 1041 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in getOffsetFromIndex() 1050 Offset += Size.getFixedValue() * OpC->getSExtValue(); in getOffsetFromIndex()
|
| H A D | Constants.cpp | 1755 Constant *OpC = getOperand(I); in getSplatValue() local 1756 if (OpC == Elt) in getSplatValue() 1764 if (isa<PoisonValue>(OpC)) in getSplatValue() 1769 Elt = OpC; in getSplatValue() 1771 if (OpC != Elt) in getSplatValue()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | SimpleRemoteEPCUtils.h | 67 handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, ExecutorAddr TagAddr, 94 virtual Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, 122 Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 177 static bool isPossiblyExactOpcode(unsigned OpC) { 178 return OpC == Instruction::SDiv || 179 OpC == Instruction::UDiv || 180 OpC == Instruction::AShr || 181 OpC == Instruction::LShr;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | SimpleRemoteEPC.h | 88 handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, ExecutorAddr TagAddr, 105 Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ |
| H A D | SimpleRemoteEPCServer.h | 147 handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, ExecutorAddr TagAddr, 155 Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupVectorConstants.cpp | 72 Constant *OpC = cast<Constant>(Op); in getSplatValueAllowUndef() local 73 if (isa<UndefValue>(OpC)) in getSplatValueAllowUndef() 76 Res = OpC; in getSplatValueAllowUndef() 77 else if (Res != OpC) in getSplatValueAllowUndef()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAttributor.cpp | 280 const auto *OpC = dyn_cast<Constant>(U); in getConstantAccess() local 281 if (!OpC || !Visited.insert(OpC).second) in getConstantAccess() 284 Result |= getConstantAccess(OpC, Visited); in getConstantAccess()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/ |
| H A D | BottomUpVec.cpp | 116 auto OpC = UOp0->getOpcode(); in createVectorInstr() local 117 return UnaryOperator::createWithCopiedFlags(OpC, Operands[0], UOp0, in createVectorInstr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenACC.cpp | 1394 BinaryOperatorKind OpC = BO->getOpcode(); in isValidForIncRHSAssign() local 1395 if (OpC != BO_Add && OpC != BO_Sub) in isValidForIncRHSAssign() 1397 return isValid(InitVar, BO->getLHS(), BO->getRHS(), OpC == BO_Add); in isValidForIncRHSAssign()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2838 auto *OpC = dyn_cast<CallInst>(Op1); in optimizeTrigInversionPairs() local 2839 if (!OpC) in optimizeTrigInversionPairs() 2843 if (!CI->isFast() || !OpC->isFast()) in optimizeTrigInversionPairs() 2852 Function *F = OpC->getCalledFunction(); in optimizeTrigInversionPairs() 2873 Ret = OpC->getArgOperand(0); in optimizeTrigInversionPairs()
|
| H A D | SCCPSolver.cpp | 1385 if (Constant *OpC = getConstant(OpSt, I.getOperand(0)->getType())) { in visitCastInst() local 1388 ConstantFoldCastOperand(I.getOpcode(), OpC, I.getType(), DL)) in visitCastInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1797 const APInt *OpC; in foldSelectInstWithICmpConst() local 1798 if (match(Op, m_BinOp(m_Specific(V), m_APInt(OpC)))) { in foldSelectInstWithICmpConst() 1800 static_cast<Instruction::BinaryOps>(Op->getOpcode()), *OpC); in foldSelectInstWithICmpConst() 1807 MMI && MMI->getLHS() == V && match(MMI->getRHS(), m_APInt(OpC))) { in foldSelectInstWithICmpConst() 1809 {InvDomCR, ConstantRange(*OpC)}); in foldSelectInstWithICmpConst()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetInstrInfo.cpp | 1329 MachineOperand &OpC = Root.getOperand(0); in reassociateOps() local 1335 Register RegC = OpC.getReg(); in reassociateOps()
|