reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
340 ValueToValueMapTy::iterator I = getVM().find(V); 350 if (Value *NewV = Materializer->materialize(const_cast<Value *>(V))) { 351 getVM()[V] = NewV; 358 if (isa<GlobalValue>(V)) { 361 return getVM()[V] = const_cast<Value *>(V); 361 return getVM()[V] = const_cast<Value *>(V); 364 if (const InlineAsm *IA = dyn_cast<InlineAsm>(V)) { 371 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(), 375 return getVM()[V] = const_cast<Value *>(V); 375 return getVM()[V] = const_cast<Value *>(V); 378 if (const auto *MDV = dyn_cast<MetadataAsValue>(V)) { 384 if (V == LAM->getValue()) 385 return const_cast<Value *>(V); 386 return MetadataAsValue::get(V->getContext(), ValueAsMetadata::get(LV)); 393 : MetadataAsValue::get(V->getContext(), 394 MDTuple::get(V->getContext(), None)); 400 return getVM()[V] = const_cast<Value *>(V); 400 return getVM()[V] = const_cast<Value *>(V); 405 return getVM()[V] = const_cast<Value *>(V); 405 return getVM()[V] = const_cast<Value *>(V); 406 return getVM()[V] = MetadataAsValue::get(V->getContext(), MappedMD); 406 return getVM()[V] = MetadataAsValue::get(V->getContext(), MappedMD); 411 Constant *C = const_cast<Constant*>(dyn_cast<Constant>(V)); 447 return getVM()[V] = C; 474 return getVM()[V] = CE->getWithOperands(Ops, NewTy, false, NewSrcTy); 476 return getVM()[V] = ConstantArray::get(cast<ArrayType>(NewTy), Ops); 478 return getVM()[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); 480 return getVM()[V] = ConstantVector::get(Ops); 483 return getVM()[V] = UndefValue::get(NewTy); 485 return getVM()[V] = ConstantAggregateZero::get(NewTy); 487 return getVM()[V] = ConstantPointerNull::get(cast<PointerType>(NewTy));