Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp98 const Constant *InitValue = nullptr; in addEmuTlsVar() local
100 InitValue = GV->getInitializer(); in addEmuTlsVar()
101 const ConstantInt *InitIntValue = dyn_cast<ConstantInt>(InitValue); in addEmuTlsVar()
104 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
106 InitValue = nullptr; in addEmuTlsVar()
116 PointerType *InitPtrType = InitValue ? in addEmuTlsVar()
117 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
139 if (InitValue) { in addEmuTlsVar()
145 EmuTlsTmplVar->setInitializer(const_cast<Constant*>(InitValue)); in addEmuTlsVar()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DOptions.h97 const ValT &InitValue) { in registerOption() argument
99 cl::Hidden, cl::init(InitValue)); in registerOption()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp294 int64_t InitValue; in handleFloatingPointIV() local
295 if (!InitValueVal || !ConvertToSInt(InitValueVal->getValueAPF(), InitValue)) in handleFloatingPointIV()
373 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
384 if (InitValue >= ExitValue) in handleFloatingPointIV()
387 uint32_t Range = uint32_t(ExitValue-InitValue); in handleFloatingPointIV()
410 if (InitValue <= ExitValue) in handleFloatingPointIV()
413 uint32_t Range = uint32_t(InitValue-ExitValue); in handleFloatingPointIV()
439 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOpenMP.cpp11207 llvm::APFloat InitValue = in actOnOMPReductionKindClause() local
11210 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in actOnOMPReductionKindClause()
11215 llvm::APInt InitValue = llvm::APInt::getAllOnesValue(Size); in actOnOMPReductionKindClause() local
11216 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in actOnOMPReductionKindClause()
11237 llvm::APInt InitValue = in actOnOMPReductionKindClause() local
11242 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in actOnOMPReductionKindClause()
11252 llvm::APFloat InitValue = llvm::APFloat::getLargest( in actOnOMPReductionKindClause() local
11254 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in actOnOMPReductionKindClause()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp8105 Value *InitValue = nullptr; in computeSCEVAtScope() local
8109 if (!InitValue) in computeSCEVAtScope()
8110 InitValue = PN->getIncomingValue(i); in computeSCEVAtScope()
8111 else if (InitValue != PN->getIncomingValue(i)) { in computeSCEVAtScope()
8116 if (!MultipleInitValues && InitValue) in computeSCEVAtScope()
8117 return getSCEV(InitValue); in computeSCEVAtScope()