Home
last modified time | relevance | path

Searched refs:CV (Results 1 – 25 of 85) sorted by relevance

1234

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp278 if (CV[I]) in operator []()
279 return CV[I]; in operator []()
283 if (!CV[0]) { in operator []()
288 CV[I] = Builder.CreateConstGEP1_32(ElTy, CV[0], I, in operator []()
305 return CV[J]; in operator []()
306 } else if (!CV[J]) { in operator []()
316 return CV[I]; in operator []()
402 CV[I]->takeName(Old); in gather()
407 SV = CV; in gather()
952 assert(CV.size() == 1 && Op->getType() == CV[0]->getType()); in finish()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp94 for (const auto &CV : ClauseVals) { in GenerateEnumClauseVal() local
95 ClauseVal CVal{CV}; in GenerateEnumClauseVal()
102 for (const auto &CV : ClauseVals) { in GenerateEnumClauseVal() local
103 OS << "constexpr auto " << CV->getName() << " = " in GenerateEnumClauseVal()
105 << "::" << CV->getName() << ";\n"; in GenerateEnumClauseVal()
315 return CV->getValueAsBit("isDefault") == true; in GenerateGetKindClauseVal()
336 for (const auto &CV : ClauseVals) { in GenerateGetKindClauseVal() local
337 ClauseVal CVal{CV}; in GenerateGetKindClauseVal()
350 for (const auto &CV : ClauseVals) { in GenerateGetKindClauseVal() local
351 ClauseVal CVal{CV}; in GenerateGetKindClauseVal()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp198 const Constant *CV, in lowerAddrSpaceCast() argument
204 auto *CE = dyn_cast<ConstantExpr>(CV); in lowerAddrSpaceCast()
221 const MCExpr *AMDGPUAsmPrinter::lowerConstant(const Constant *CV) { in lowerConstant() argument
222 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
224 return AsmPrinter::lowerConstant(CV); in lowerConstant()
367 const MCExpr *R600AsmPrinter::lowerConstant(const Constant *CV) { in lowerConstant() argument
368 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
370 return AsmPrinter::lowerConstant(CV); in lowerConstant()
H A DR600AsmPrinter.h33 const MCExpr *lowerConstant(const Constant *CV) override;
H A DAMDGPUAsmPrinter.h104 const MCExpr *lowerConstant(const Constant *CV) override;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp84 bool fillGenericConstant(const DataLayout &DL, const Constant *CV,
389 const Constant *CV, in fillGenericConstant() argument
391 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant()
393 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
396 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { in fillGenericConstant()
413 if (const ConstantDataArray *CDA = dyn_cast<ConstantDataArray>(CV)) in fillGenericConstant()
416 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) in fillGenericConstant()
419 if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV)) in fillGenericConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp57 const MCExpr *lowerConstant(const Constant *CV) override;
182 const MCExpr *AVRAsmPrinter::lowerConstant(const Constant *CV) { in lowerConstant() argument
185 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) { in lowerConstant()
193 return AsmPrinter::lowerConstant(CV); in lowerConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.cpp55 const ColorVector &CV = BlockColors.find(InsertBefore->getParent())->second; in createCallInstWithColors() local
56 assert(CV.size() == 1 && "non-unique color for block!"); in createCallInstWithColors()
57 Instruction *EHPad = CV.front()->getFirstNonPHI(); in createCallInstWithColors()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h73 if (Constant *CV = dyn_cast<Constant>(V)) return CV; in getVal() local
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2471 if (CV->isNullValue() || isa<UndefValue>(CV)) in lowerConstant()
2486 const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV); in lowerConstant()
2761 unsigned Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantVector()
2995 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstantImpl()
3000 if (!BaseCV && CV->hasOneUse()) in emitGlobalConstantImpl()
3001 BaseCV = dyn_cast<Constant>(CV->user_back()); in emitGlobalConstantImpl()
3003 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in emitGlobalConstantImpl()
3028 if (isa<ConstantPointerNull>(CV)) { in emitGlobalConstantImpl()
3063 const MCExpr *ME = AP.lowerConstant(CV); in emitGlobalConstantImpl()
3076 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in emitGlobalConstant()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp140 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad() local
141 assert(CV && "Constant expected."); in visitLoad()
142 SimplifiedValues[&I] = CV; in visitLoad()
H A DBranchProbabilityInfo.cpp933 ConstantInt *CV = GetConstantInt(RHS); in calcZeroHeuristics() local
934 if (!CV) in calcZeroHeuristics()
976 } else if (CV->isZero()) { in calcZeroHeuristics()
997 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
1001 } else if (CV->isMinusOne()) { in calcZeroHeuristics()
/freebsd-13.1/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp48 std::condition_variable CV; member in __anonf42221350111::DirectoryWatcherWindows::EventQueue
56 CV.notify_one(); in emplace()
67 CV.wait(L, [this]() { return !Q.empty(); }); in pop_front()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp918 const ConstantVector *CV = dyn_cast<ConstantVector>(C); in getConstantValue() local
924 } else if (CV || CAZ) { in getConstantValue()
942 if(CV) { in getConstantValue()
944 if (!isa<UndefValue>(CV->getOperand(i))) in getConstantValue()
946 CV->getOperand(i))->getValueAPF().convertToFloat(); in getConstantValue()
964 if(CV) { in getConstantValue()
966 if (!isa<UndefValue>(CV->getOperand(i))) in getConstantValue()
968 CV->getOperand(i))->getValueAPF().convertToDouble(); in getConstantValue()
986 if(CV) { in getConstantValue()
988 if (!isa<UndefValue>(CV->getOperand(i))) in getConstantValue()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h438 virtual const MCExpr *lowerConstant(const Constant *CV);
441 void emitGlobalConstant(const DataLayout &DL, const Constant *CV);
516 virtual void emitXXStructor(const DataLayout &DL, const Constant *CV) { in emitXXStructor() argument
517 emitGlobalConstant(DL, CV); in emitXXStructor()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
64 if (Constant *Splat = CV->getSplatValue()) { in BitCastConstantVector()
70 Type *Ty = IntegerType::get(CV->getContext(), 32); in BitCastConstantVector()
836 const APFloat &CV = CFP->getValueAPF(); in ConstantFoldUnaryInstruction() local
841 return ConstantFP::get(C->getContext(), neg(CV)); in ConstantFoldUnaryInstruction()
914 const APInt *CV; in ConstantFoldBinaryInstruction() local
916 if (match(C1, m_APInt(CV)) || match(C2, m_APInt(CV))) in ConstantFoldBinaryInstruction()
917 if ((*CV)[0]) in ConstantFoldBinaryInstruction()
2077 auto *CV = cast<ConstantDataVector>(Idxs[0]); in isInBoundsIndices() local
2078 CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in isInBoundsIndices()
[all …]
H A DAsmWriter.cpp1438 if (isa<ConstantAggregateZero>(CV)) { in WriteConstantInternal()
1538 if (isa<ConstantVector>(CV) || isa<ConstantDataVector>(CV)) { in WriteConstantInternal()
1539 auto *CVVTy = cast<FixedVectorType>(CV->getType()); in WriteConstantInternal()
1557 if (isa<ConstantPointerNull>(CV)) { in WriteConstantInternal()
1562 if (isa<ConstantTokenNone>(CV)) { in WriteConstantInternal()
1567 if (isa<PoisonValue>(CV)) { in WriteConstantInternal()
1572 if (isa<UndefValue>(CV)) { in WriteConstantInternal()
1891 auto *CV = cast<ConstantInt>(CE->getValue()); in writeDISubrange() local
1892 Printer.printInt("count", CV->getSExtValue(), in writeDISubrange()
2444 const Constant *CV = dyn_cast<Constant>(V); in WriteAsOperandInternal() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1368 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) { in SimplifyDemandedVectorElts() local
1370 Value = CV->getOperand(LHSValIdx); in SimplifyDemandedVectorElts()
1375 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(1))) { in SimplifyDemandedVectorElts() local
1377 Value = CV->getOperand(RHSValIdx); in SimplifyDemandedVectorElts()
1419 if (auto *CV = dyn_cast<ConstantVector>(Sel->getCondition())) { in SimplifyDemandedVectorElts() local
1423 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
1520 if (auto *CV = dyn_cast<ConstantVector>(II->getOperand(2))) in SimplifyDemandedVectorElts() local
1522 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
/freebsd-13.1/sys/contrib/device-tree/Bindings/power/supply/
H A Drohm,bd99954.yaml36 # Then constant voltage (CV) phase (after the battery voltage has reached
65 # | | | CC | CV |
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h237 const MCExpr *lowerConstantForGV(const Constant *CV, bool ProcessingGeneric);
265 void bufferAggregateConstant(const Constant *CV, AggBuffer *aggBuffer);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMAsmPrinter.h100 void emitXXStructor(const DataLayout &DL, const Constant *CV) override;
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp174 QualType VisitNonLocCompoundVal(nonloc::CompoundVal CV) { in VisitNonLocCompoundVal() argument
175 return CV.getValue()->getType(); in VisitNonLocCompoundVal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.td83 def JAsm#V : FixedCondBranchRI <CV<V>, "j#", 0xA74>;
84 def JGAsm#V : FixedCondBranchRIL<CV<V>, "j{g|l}#", 0xC04>;
86 def BAsm#V : FixedCondBranchRX <CV<V>, "b#", 0x47>;
87 def BRAsm#V : FixedCondBranchRR <CV<V>, "b#r", 0x07>;
88 def BIAsm#V : FixedCondBranchRXY<CV<V>, "bi#", 0xe347>,
540 def SELRAsm#V : FixedCondBinaryRRFa<CV<V>, "selr", 0xB9F0,
542 def SELFHRAsm#V : FixedCondBinaryRRFa<CV<V>, "selfhr", 0xB9C0,
544 def SELGRAsm#V : FixedCondBinaryRRFa<CV<V>, "selgr", 0xB9E3,
581 def LOCHIAsm#V : FixedCondBinaryRIE<CV<V>, "lochi", 0xEC42, GR32,
583 def LOCGHIAsm#V : FixedCondBinaryRIE<CV<V>, "locghi", 0xEC46, GR64,
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp500 til::SExpr *CV = nullptr; in translateBinAssign() local
503 CV = lookupVarDecl(VD); in translateBinAssign()
507 til::SExpr *Arg = CV ? CV : new (Arena) til::Load(E0); in translateBinAssign()
511 if (VD && CV) in translateBinAssign()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp315 ConstantInt *CV = dyn_cast<ConstantInt>(RHS); in getBranchCondString() local
316 if (CV) { in getBranchCondString()
317 if (CV->isZero()) in getBranchCondString()
319 else if (CV->isOne()) in getBranchCondString()
321 else if (CV->isMinusOne()) in getBranchCondString()
883 const ColorVector &CV = BlockColors.find(OrigCall->getParent())->second; in populateEHOperandBundle() local
884 assert(CV.size() == 1 && "non-unique color for block!"); in populateEHOperandBundle()
885 Instruction *EHPad = CV.front()->getFirstNonPHI(); in populateEHOperandBundle()

1234