Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp96 const Constant *InitValue = nullptr; in addEmuTlsVar() local
98 InitValue = GV->getInitializer(); in addEmuTlsVar()
99 const ConstantInt *InitIntValue = dyn_cast<ConstantInt>(InitValue); in addEmuTlsVar()
102 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
104 InitValue = nullptr; in addEmuTlsVar()
114 PointerType *InitPtrType = InitValue ? in addEmuTlsVar()
115 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
137 if (InitValue) { in addEmuTlsVar()
143 EmuTlsTmplVar->setInitializer(const_cast<Constant*>(InitValue)); in addEmuTlsVar()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DOptions.h97 const ValT &InitValue) { in registerOption() argument
99 cl::Hidden, cl::init(InitValue)); in registerOption()
/external/llvm/include/llvm/Support/
DOptions.h97 const ValT &InitValue) { in registerOption() argument
99 cl::Hidden, cl::init(InitValue)); in registerOption()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp261 int64_t InitValue; in HandleFloatingPointIV() local
262 if (!InitValueVal || !ConvertToSInt(InitValueVal->getValueAPF(), InitValue)) in HandleFloatingPointIV()
342 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in HandleFloatingPointIV()
353 if (InitValue >= ExitValue) in HandleFloatingPointIV()
356 uint32_t Range = uint32_t(ExitValue-InitValue); in HandleFloatingPointIV()
380 if (InitValue <= ExitValue) in HandleFloatingPointIV()
383 uint32_t Range = uint32_t(InitValue-ExitValue); in HandleFloatingPointIV()
409 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in HandleFloatingPointIV()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp253 int64_t InitValue; in handleFloatingPointIV() local
254 if (!InitValueVal || !ConvertToSInt(InitValueVal->getValueAPF(), InitValue)) in handleFloatingPointIV()
333 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
344 if (InitValue >= ExitValue) in handleFloatingPointIV()
347 uint32_t Range = uint32_t(ExitValue-InitValue); in handleFloatingPointIV()
371 if (InitValue <= ExitValue) in handleFloatingPointIV()
374 uint32_t Range = uint32_t(InitValue-ExitValue); in handleFloatingPointIV()
400 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
/external/clang/lib/Sema/
DSemaOpenMP.cpp9350 llvm::APFloat InitValue = in ActOnOpenMPReductionClause() local
9353 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in ActOnOpenMPReductionClause()
9358 llvm::APInt InitValue = llvm::APInt::getAllOnesValue(Size); in ActOnOpenMPReductionClause() local
9359 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in ActOnOpenMPReductionClause()
9380 llvm::APInt InitValue = in ActOnOpenMPReductionClause() local
9386 Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc); in ActOnOpenMPReductionClause()
9397 llvm::APFloat InitValue = llvm::APFloat::getLargest( in ActOnOpenMPReductionClause() local
9399 Init = FloatingLiteral::Create(Context, InitValue, /*isexact=*/true, in ActOnOpenMPReductionClause()