Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp93 const Constant *InitValue = nullptr; in addEmuTlsVar() local
95 InitValue = GV->getInitializer(); in addEmuTlsVar()
96 const ConstantInt *InitIntValue = dyn_cast<ConstantInt>(InitValue); in addEmuTlsVar()
99 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
101 InitValue = nullptr; in addEmuTlsVar()
111 PointerType *InitPtrType = InitValue ? in addEmuTlsVar()
112 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
134 if (InitValue) { in addEmuTlsVar()
140 EmuTlsTmplVar->setInitializer(const_cast<Constant*>(InitValue)); in addEmuTlsVar()
/external/llvm/include/llvm/Support/
DOptions.h97 const ValT &InitValue) { in registerOption() argument
99 cl::Hidden, cl::init(InitValue)); in registerOption()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp287 int64_t InitValue; in handleFloatingPointIV() local
288 if (!InitValueVal || !ConvertToSInt(InitValueVal->getValueAPF(), InitValue)) in handleFloatingPointIV()
367 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
378 if (InitValue >= ExitValue) in handleFloatingPointIV()
381 uint32_t Range = uint32_t(ExitValue-InitValue); in handleFloatingPointIV()
405 if (InitValue <= ExitValue) in handleFloatingPointIV()
408 uint32_t Range = uint32_t(InitValue-ExitValue); in handleFloatingPointIV()
434 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
/external/clang/lib/Sema/
DSemaOpenMP.cpp7318 llvm::APFloat InitValue = in ActOnOpenMPReductionClause() local
7321 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in ActOnOpenMPReductionClause()
7326 llvm::APInt InitValue = llvm::APInt::getAllOnesValue(Size); in ActOnOpenMPReductionClause() local
7327 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in ActOnOpenMPReductionClause()
7348 llvm::APInt InitValue = in ActOnOpenMPReductionClause() local
7354 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in ActOnOpenMPReductionClause()
7365 llvm::APFloat InitValue = llvm::APFloat::getLargest( in ActOnOpenMPReductionClause() local
7367 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in ActOnOpenMPReductionClause()