/freebsd-9.3-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | AsmPrinter.h | 242 void EmitGlobalConstant(const Constant *CV); 280 virtual void EmitXXStructor(const Constant *CV) { argument 281 EmitGlobalConstant(CV);
|
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 1500 static const MCExpr *lowerConstant(const Constant *CV, AsmPrinter &AP) { argument 1503 if (CV->isNullValue() || isa<UndefValue>(CV)) 1506 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) 1509 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) 1512 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) 1515 const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV); 1568 Op = ConstantExpr::getIntegerCast(Op, DL.getIntPtrType(CV->getType()), 1765 static void emitGlobalConstantVector(const ConstantVector *CV, AsmPrinter &AP) { argument 1766 for (unsigned i = 0, e = CV 1905 emitGlobalConstantImpl(const Constant *CV, AsmPrinter &AP) argument 1970 EmitGlobalConstant(const Constant *CV) argument [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMAsmPrinter.h | 78 virtual void EmitXXStructor(const Constant *CV) LLVM_OVERRIDE;
|
H A D | ARMCodeEmitter.cpp | 663 const Constant *CV = MCPE.Val.ConstVal; local 668 if (const Function *F = dyn_cast<Function>(CV)) 671 errs() << *CV; 675 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) { 678 } else if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { 681 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
|
H A D | ARMAsmPrinter.cpp | 141 void ARMAsmPrinter::EmitXXStructor(const Constant *CV) { argument 142 uint64_t Size = TM.getDataLayout()->getTypeAllocSize(CV->getType()); 145 const GlobalValue *GV = dyn_cast<GlobalValue>(CV->stripPointerCasts());
|
/freebsd-9.3-release/contrib/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 766 static void WriteConstantInternal(raw_ostream &Out, const Constant *CV, argument 770 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { 779 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { 891 if (isa<ConstantAggregateZero>(CV)) { 896 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) { 907 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) { 926 if (const ConstantDataArray *CA = dyn_cast<ConstantDataArray>(CV)) { 955 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) { 985 if (isa<ConstantVector>(CV) || isa<ConstantDataVector>(CV)) { 1082 const Constant *CV = dyn_cast<Constant>(V); local [all...] |
H A D | Constants.cpp | 51 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) 52 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) 98 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) 99 if (Constant *Splat = CV->getSplatValue()) 103 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) 104 if (Constant *Splat = CV->getSplatValue()) 190 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) 191 return Elt < CV->getNumOperands() ? CV->getOperand(Elt) : 0; 1280 if (const ConstantDataVector *CV [all...] |
H A D | ConstantFold.cpp | 44 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) { argument 46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); 47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); 53 if (NumElts != CV->getType()->getVectorNumElements()) 59 Type *Ty = IntegerType::get(CV->getContext(), 32); 62 ConstantExpr::getExtractElement(CV, ConstantInt::get(Ty, i));
|
/freebsd-9.3-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.h | 47 LowerConstant(const llvm::Constant *CV, llvm::AsmPrinter &AP); 270 void bufferAggregateConstant(const Constant *CV, AggBuffer *aggBuffer);
|
H A D | NVPTXAsmPrinter.cpp | 119 const MCExpr *nvptx::LowerConstant(const Constant *CV, AsmPrinter &AP) { argument 122 if (CV->isNullValue() || isa<UndefValue>(CV)) 125 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) 128 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) 131 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) 134 const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV); 185 Op = ConstantExpr::getIntegerCast(Op, TD.getIntPtrType(CV->getContext()),
|
/freebsd-9.3-release/contrib/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 371 ConstantInt *CV = dyn_cast<ConstantInt>(RHS); local 372 if (!CV) 376 if (CV->isZero()) { 397 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { 401 } else if (CV->isAllOnesValue()) {
|
H A D | CostModel.cpp | 106 ConstantVector *CV = 0; local 107 if ((CV = dyn_cast<ConstantVector>(V))) 108 if (CV->getSplatValue() != NULL)
|
/freebsd-9.3-release/contrib/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 866 const ConstantVector *CV = dyn_cast<ConstantVector>(C); local 872 } else if (CV || CAZ) { 890 if(CV) { 892 if (!isa<UndefValue>(CV->getOperand(i))) 894 CV->getOperand(i))->getValueAPF().convertToFloat(); 912 if(CV) { 914 if (!isa<UndefValue>(CV->getOperand(i))) 916 CV->getOperand(i))->getValueAPF().convertToDouble(); 934 if(CV) { 936 if (!isa<UndefValue>(CV [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/CppBackend/ |
H A D | CPPBackend.cpp | 714 void CppWriter::printConstant(const Constant *CV) { argument 718 if (isa<GlobalValue>(CV) || ValueNames.find(CV) != ValueNames.end()) 721 std::string constName(getCppName(CV)); 722 std::string typeName(getCppName(CV->getType())); 724 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { 730 } else if (isa<ConstantAggregateZero>(CV)) { 733 } else if (isa<ConstantPointerNull>(CV)) { 736 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { 740 } else if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) { [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelDAGToDAG.cpp | 104 SDValue getConstantPoolItemAddress(SDLoc DL, const Constant *CV); 283 const Constant *CV) { 289 getTargetLowering()->getDataLayout()->getABITypeAlignment(CV->getType()); 292 CurDAG->getTargetConstantPool(CV, PtrVT, 0, 0, AArch64II::MO_NO_FLAG), 293 CurDAG->getTargetConstantPool(CV, PtrVT, 0, 0, AArch64II::MO_LO12), 300 CurDAG->getTargetConstantPool(CV, PtrVT, 0, 0, AArch64II::MO_ABS_G3), 304 CurDAG->getTargetConstantPool(CV, PtrVT, 0, 0, AArch64II::MO_ABS_G2_NC), 308 CurDAG->getTargetConstantPool(CV, PtrVT, 0, 0, AArch64II::MO_ABS_G1_NC), 312 CurDAG->getTargetConstantPool(CV, PtrVT, 0, 0, AArch64II::MO_ABS_G0_NC), 349 Constant *CV local 282 getConstantPoolItemAddress(SDLoc DL, const Constant *CV) argument [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 1304 Value *CV; 1307 if (ConstOpnd != 0 && CombineXorOpnd(I, CurrOpnd, ConstOpnd, CV)) { 1309 if (CV) 1310 *CurrOpnd = XorOpnd(CV); 1325 if (CombineXorOpnd(I, CurrOpnd, PrevOpnd, ConstOpnd, CV)) { 1328 if (CV) { 1329 *CurrOpnd = XorOpnd(CV);
|
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | PatternMatch.h | 291 if (Class *CV = dyn_cast<Class>(V)) { 292 VR = CV; 356 if (ConstantInt *CV = dyn_cast<ConstantInt>(V)) 357 if (CV->getBitWidth() <= 64) { 358 VR = CV->getZExtValue(); 730 // FIXME: Remove CV.
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 465 Value *CV = 0; local 471 CV = SI->getCondition(); 476 CV = ICI->getOperand(0); 479 if (TD && CV) { 480 if (PtrToIntInst *PTII = dyn_cast<PtrToIntInst>(CV)) { 483 CV = Ptr; 486 return CV; 775 Value *CV = isValueEqualityComparison(TI); // CondVal local 776 assert(CV && "Not a comparison?"); 787 if (PCV == CV [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 1987 const nonloc::CompoundVal& CV = Init.castAs<nonloc::CompoundVal>(); local 1988 nonloc::CompoundVal::iterator VI = CV.begin(), VE = CV.end(); 2036 nonloc::CompoundVal CV = V.castAs<nonloc::CompoundVal>(); local 2037 nonloc::CompoundVal::iterator VI = CV.begin(), VE = CV.end(); 2131 const nonloc::CompoundVal& CV = V.castAs<nonloc::CompoundVal>(); local 2132 nonloc::CompoundVal::iterator VI = CV.begin(), VE = CV.end();
|
H A D | BugReporterVisitors.cpp | 675 } else if (Optional<nonloc::ConcreteInt> CV = 678 os << "The value " << CV->getValue() << " is assigned"; 680 os << "Assigning " << CV->getValue();
|
/freebsd-9.3-release/contrib/nvi/perl_api/ |
H A D | perl.xs | 418 extern void boot_DynaLoader _((CV* cv)); 419 extern void boot_VI _((CV* cv));
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 103 static Constant *getLogBase2Vector(ConstantDataVector *CV) { argument 107 for (unsigned I = 0, E = CV->getNumElements(); I != E; ++I) { 108 Constant *Elt = CV->getElementAsConstant(I); 146 else if (ConstantDataVector *CV = dyn_cast<ConstantDataVector>(C1)) 149 NewCst = getLogBase2Vector(CV);
|
H A D | InstCombineSimplifyDemanded.cpp | 1098 if (ConstantVector* CV = dyn_cast<ConstantVector>(I->getOperand(0))) { 1100 if (CV->getAggregateElement(i)->isNullValue())
|
H A D | InstCombineCalls.cpp | 293 Value *CV = ConstantInt::get(X->getType(), C); local 294 Value *V = Builder->CreateLShr(X, CV);
|
/freebsd-9.3-release/sys/dev/lmc/ |
H A D | if_lmc.c | 1195 u_int16_t CV; local 1256 CV = read_framer(sc, T3CSR_CVHI)<<8; 1257 CV += read_framer(sc, T3CSR_CVLO); 1264 /* CV is invalid during LOS. */ 1265 if ((stat16 & STAT16_RLOS)!=0) CV = 0; 1270 if (DRIVER_DEBUG && (CV || PERR || CERR || FERR || MERR || FEBE)) 1271 printf("%s: CV=%u PERR=%u CERR=%u FERR=%u MERR=%u FEBE=%u\n", 1272 NAME_UNIT, CV, PERR, CERR, FERR, MERR, FEBE); 1275 sc->status.cntrs.lcv_errs += CV; 1396 sc->status.snmp.t3.lcv = CV; [all...] |